Skip to main content

Python Bindings for XMLRPC OpenNebula Cloud API

Project description

Version: 4.10.0
TravisCI Status:
 https://travis-ci.org/python-oca/python-oca.svg

About

Bindings for XMLRPC OpenNebula Cloud API

Documentation

See http://python-oca.github.io/python-oca/index.html and http://docs.opennebula.org/4.10/integration/system_interfaces/api.html

All allocate functions are implemented as static methods.

Examples

Show all running virtual machines:

client = oca.Client('user:password', 'http://12.12.12.12:2633/RPC2')
client.version()
vm_pool = oca.VirtualMachinePool(c)
vm_pool.info()
for vm in vm_pool:
    print "%s (memory: %s MB)" % ( vm.name, vm.template.memory)

License

OCA is under Apache Software License

Authors

See AUTHORS file

Project details


Download files

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

Files for oca, version 4.10.0
Filename, size File type Python version Upload date Hashes
Filename, size oca-4.10.0.tar.gz (25.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page