Socket
Socket
Sign inDemoInstall

0-orchestrator

Package Overview
Dependencies
5
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    0-orchestrator

Zero-OS Orchestrator


Maintainers
1

Readme

Python Client

O-orchestrator is the Python client used to talk to Zero-OS 0 Rest API

Install

pip install 0-orchestrator

How to use

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

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc