Alastair Tse
76b24ff4e2
[XEND] Updates to SR and VDI implementations
...
* Moved xenapi transport util method, stringify to xen.util.xmlrpclib2
* XenVDI now preserves configuration to an XML-ish file
* Update Xen API's class names to be all lowercase
* Update get_by_label to get_by_name_label and return sets as the API
expects.
* Add support for VBD creation with a VDI reference.
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-13 15:13:21 +01:00
Alastair Tse
2556368450
[XEND] Adding API stub generation to XendAPI + SR implementation for
...
Xen API.
Fixed *get_by_label functions to return a Set rather than only one
result.
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-12 18:51:17 +01:00
Alastair Tse
7d5ba9b430
[XEND] Conform to Xen API XMLRPC Wire Protocol Customisation
...
1. Int(s) all have to be String(s).
2. Enums are not transmitted as Ints, but as Descriptive Strings.
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 22:50:29 +01:00
Alastair Tse
16b57ef12c
[XENAPI] Adding some rudimentary documentation about what has changed.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 18:01:08 +01:00
Alastair Tse
fde78b356e
[XENAPI] Support for VBD/VIF info listing in vm-list --long
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 16:30:35 +01:00
Alastair Tse
e9fce87749
[XENAPI] Add missing function names. Proper sub command help messages.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 12:46:46 +01:00
Alastair Tse
2ebaf7314b
[XENAPI] Pretty print error messages, insert simple argument parsing
...
framework
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 12:31:24 +01:00
Alastair Tse
5b9963f11b
[XENAPI] Fix wrong vars being extracted from reading python cfg
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 12:02:29 +01:00
Alastair Tse
91c2dba337
[XENAPI] Added hard shutdown (aka. vm-destroy)
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 11:57:16 +01:00
Alastair Tse
3dae87e5fa
[XENAPI] Example tools to create/destroy/shutdown VMs
...
Example Session:
xapi.py vm-list
xapi.py host-info
xapi.py vm-create xapi.domcfg.py
xapi.py vbd-create GentooAPI xapi.vbdcfg.py
xapi.py vif-create GentooAPI xapi.vifcfg.py
xapi.py vm-start GentooAPI
xapi.py vm-shutdown GentooAPI
xapi.py vm-delete xapi.py
signed-off-by: Alastair Tse <atse@xensource.com >
2006-10-06 11:48:21 +01:00