OCA - OpenNebula Cloud Api
- Version:
0.1
About
Bindings for XMLRPC OpenNebula Cloud API
Documentation
see 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()
for i in hostpool:
if i.id == new_host_id:
vm = i
break
print vm.name, vm.str_state
License
OCA is under Apache Software License
Metadata
Release files for oca 0.1.3
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.1.3.tar.gz | 6.9 kB | Details |
Release files / oca-0.1.3.tar.gz
| Download URL | oca-0.1.3.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4a9eed5211efacb0f3a9a55a850c110687c9cb990a091acaa982f93f989f042
|
|
BLAKE2b-256 checksum How to use checksums |
bca3ed3514b1d3d7e07ee5a8d60e4b04309cca50af075a6adf9f7e07f3170d71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |