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.0a8.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

0_orchestrator-1.1.0a8-py3-none-any.whl (153.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for 0-orchestrator-1.1.0a8.tar.gz
Algorithm Hash digest
SHA256 bf89940a3d3f3d1b8fac912cbc9b173f7ca0aa2aee623fa206771f230d0467dd
MD5 8158e9ca441a5b13627bb3aadf1da240
BLAKE2b-256 0683ed65c68212f5f145063ba6e3df8e8a58f724564db0f33224f3e4b567f78f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for 0_orchestrator-1.1.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 5460255971955f78265894404032a33a14d3a6c93c1099d5c130b520e96d2cd9
MD5 0910eb80bedcdbf10eb221ee18f957e8
BLAKE2b-256 2153f43b2f754284fe76436e06aac50c42ad984587dcfcb3e35c0999158223d5

See more details on using hashes here.

Supported by

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