sunstone-rest-client

sunstone rest client | an opennebula client in python, using the sunstone ReST API


License
Apache-2.0
Install
pip install sunstone-rest-client==0.1.50

Documentation

sunstone-rest-client

Build Status Coverage Status PyPI

A minimal ReST client for sunstone, the web ui of opennebula

Usage

from sunstone_rest_client import RestClient

client = RestClient("https://<sunstone-uri>").login("user", "passwd")
print client.fetch_vms()

client.instantiate(0, "my-new-vm")  # instantiates template id 0

# client.delete_vm(0)