Bindings for XMLRPC OpenNebula Cloud API
Project description
##############################################
OCA - OpenNebula Cloud Api
##############################################
:Version: 0.2
About
-----
Bindings for XMLRPC OpenNebula Cloud API
Documentation
-------------
see http://lukaszo.github.com/python-oca/index.html and 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()
vm = hostpool.get_by_id(new_host_id)
print vm.name, vm.str_state
License
-------
OCA is under Apache Software License
Authors
-------
Łukasz Oleś
0.2.1 (2011-02-25)
================
Fixes
--------
- For Image objects variable template has now correct value.
0.2 (2011-02-15)
================
Features
--------
- Each Pool class has now get_by_id and get_by_name methods
- Templates are now stored in Template class and are available by `template` varialbe
0.1 (2010-12-08)
================
Initial release
OCA - OpenNebula Cloud Api
##############################################
:Version: 0.2
About
-----
Bindings for XMLRPC OpenNebula Cloud API
Documentation
-------------
see http://lukaszo.github.com/python-oca/index.html and 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()
vm = hostpool.get_by_id(new_host_id)
print vm.name, vm.str_state
License
-------
OCA is under Apache Software License
Authors
-------
Łukasz Oleś
0.2.1 (2011-02-25)
================
Fixes
--------
- For Image objects variable template has now correct value.
0.2 (2011-02-15)
================
Features
--------
- Each Pool class has now get_by_id and get_by_name methods
- Templates are now stored in Template class and are available by `template` varialbe
0.1 (2010-12-08)
================
Initial release
Project details
Release history Release notifications | RSS feed
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.2.3.tar.gz
(36.7 kB
view details)
File details
Details for the file oca-0.2.3.tar.gz
.
File metadata
- Download URL: oca-0.2.3.tar.gz
- Upload date:
- Size: 36.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 998ad12b7ea06e3b097ed45c0ca08042b82d9b205e301148f0853e91d7cc7565 |
|
MD5 | 6ac017d9372acb78633f962e48161f66 |
|
BLAKE2b-256 | 13fba42dc9580139c98c72331d2bd4f9b0359e252e4aefdf24e64cc8ec0e5aa1 |