Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 922 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 922 Bytes

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)