Skip to main content

Bindings for XMLRPC OpenNebula Cloud API

Project description

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

Authors

Łukasz Oleś

0.1 (2010-12-08)

Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oca-0.1.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page