Version: | 4.10.0 |
---|---|
TravisCI Status: |
Bindings for XMLRPC OpenNebula Cloud API
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.
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)
OCA is under Apache Software License
See AUTHORS file