https://github.com/arnehilmann/sunstone-rest-client
A minimal ReST client for sunstone, the web ui of opennebula
https://github.com/arnehilmann/sunstone-rest-client
Last synced: 11 days ago
JSON representation
A minimal ReST client for sunstone, the web ui of opennebula
- Host: GitHub
- URL: https://github.com/arnehilmann/sunstone-rest-client
- Owner: arnehilmann
- License: apache-2.0
- Created: 2016-03-18T20:47:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T09:30:20.000Z (almost 9 years ago)
- Last Synced: 2025-05-14T08:41:14.743Z (about 2 months ago)
- Language: Python
- Size: 42 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sunstone-rest-client
[](https://travis-ci.org/arnehilmann/sunstone-rest-client)
[](https://coveralls.io/github/arnehilmann/sunstone-rest-client?branch=master)
[](https://pypi.python.org/pypi/sunstone-rest-client)A minimal ReST client for [sunstone](http://docs.opennebula.org/4.14/administration/sunstone_gui/sunstone.html),
the web ui of [opennebula](http://opennebula.org/tryout/sandboxvirtualbox/)## Usage
```python
from sunstone_rest_client import RestClientclient = RestClient("https://").login("user", "passwd")
print client.fetch_vms()client.instantiate(0, "my-new-vm") # instantiates template id 0
# client.delete_vm(0)
```