Skip to main content

Python Bindings for XMLRPC OpenNebula Cloud API

Project description

##############################################
OCA - OpenNebula Cloud Api
##############################################
:Version: 4.10.0-a1
:status:
.. image:: https://travis-ci.org/python-oca/python-oca.svg
:target: https://travis-ci.org/python-oca/python-oca

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.

Source Distribution

oca-4.10.0-a1.tar.gz (25.4 kB view hashes)

Uploaded Source

Built Distribution

oca-4.10.0_a1-py2-none-any.whl (16.5 kB view hashes)

Uploaded Python 2

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