Skip to content

epost-dev/python-oca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCA - OpenNebula Cloud Api

Version: 4.10.0-a1
status:

About

Bindings for XMLRPC OpenNebula Cloud API

Documentation

see http://python-oca.github.com/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

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()
vm = hostpool.get_by_id(new_host_id)
print vm.name, vm.str_state

License

OCA is under Apache Software License

Authors

See AUTHORS file

About

Python Bindings for XMLRPC OpenNebula Cloud API

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%