- Version:
- 0.2
About
Bindings for XMLRPC OpenNebula Cloud API
Documentation
see http://lukaszo.github.com/python-oca/index.html and http://www.opennebula.org/documentation:rel2.0:api
All allocate functions are implemented as static methods.
Examples
Allocating new host:
client = oca.Client('user:password', 'http:12.12.12.12:2633/RPC2')
new_host_id = oca.Host.allocate(client, 'host_name', 'im_xen', 'vmm_xen', 'tm_nfs')
hostpool = oca.HostPool(client)
hostpool.info()
vm = hostpool.get_by_id(new_host_id)
print vm.name, vm.str_state
License
OCA is under Apache Software License
Features
Each Pool class has now get_by_id and get_by_name methods
Templates are now stored in Template class and are available by template varialbe
0.1 (2010-12-08)
Initial release
Metadata
Release files for oca 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oca-0.2.0.tar.gz | 7.2 kB | Details |
Release files / oca-0.2.0.tar.gz
| Download URL | oca-0.2.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9755f8e635adbf3eeb8fc9b395ca8c416f29392a5a0c859a81cb9c814088bbf2
|
|
BLAKE2b-256 checksum How to use checksums |
cdb75de1a52b5c934a224a176c340c0edc99290f939fb8f851260e2fbf65c3e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |