0-orchestrator


توضیحات

Zero-OS Orchestrator
ویژگی مقدار
سیستم عامل -
نام فایل 0-orchestrator-1.1.0a8
نام 0-orchestrator
نسخه کتابخانه 1.1.0a8
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Christophe de Carvalho
ایمیل نویسنده christophe@gig.tech
آدرس صفحه اصلی https://github.com/g8os/grid
آدرس اینترنتی https://pypi.org/project/0-orchestrator/
مجوز Apache 2.0
# 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 ```


نیازمندی

مقدار نام
- Jinja2
- aioredis
- etcd3
- netaddr
- python-dateutil


نحوه نصب


نصب پکیج whl 0-orchestrator-1.1.0a8:

    pip install 0-orchestrator.whl


نصب پکیج tar.gz 0-orchestrator-1.1.0a8:

    pip install 0-orchestrator.tar.gz