Skip to main content

Zero-OS Orchestrator

Project description

# Python Client

O-orchestrator is the Python client used to talk to [Zero-OS 0 Rest API](../README.md)

## Install

```bash
pip install 0-orchestrator
```

## How to use

```python
In [9]: from zeroos.orchestrator import client

In [10]: c = client.Client('http://192.168.193.212:8080')

In [11]: c.api.nodes.ListNodes().json()
Out[11]:
[{'hostname': '', 'id': '2c600cbc2545', 'status': 'running'},
{'hostname': '', 'id': '2c600ccd2ae9', 'status': 'running'},
{'hostname': '', 'id': '0cc47a3b3d6a', 'status': 'running'},
{'hostname': '', 'id': '2c600ccd2ad1', 'status': 'running'},
{'hostname': '', 'id': '2c600cbc23bc', 'status': 'running'}]
```

## To update the client from the RAML file

```shell
go-raml client -l python --ramlfile raml/api.raml --dir pyclient/zeroos/orchestrator/client
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

0-orchestrator-1.1.0a5.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

0_orchestrator-1.1.0a5-py3-none-any.whl (124.0 kB view details)

Uploaded Python 3

File details

Details for the file 0-orchestrator-1.1.0a5.tar.gz.

File metadata

File hashes

Hashes for 0-orchestrator-1.1.0a5.tar.gz
Algorithm Hash digest
SHA256 21edefac10907b2ce36f07c20b01c1abc1944ab0e32989c81ad853b9f3a8f99c
MD5 231ef8c3efe5003429c3b263437a849c
BLAKE2b-256 82bba0c60cf1a52fdaabfee3172412137ffc11fe3d4f54be7d4b9c608d5f8b20

See more details on using hashes here.

File details

Details for the file 0_orchestrator-1.1.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for 0_orchestrator-1.1.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 581ee83684cb57ba5c55a0b7d3a8aa24f0ccca087b7e205d5c0ca22b47fea303
MD5 b481b8ed60713e6bb45d6a95bb0e26a3
BLAKE2b-256 d47506331e14b61541ac67afecb713ce6d0e3be5b52a513887c4cc74ef8bb568

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page