summaryrefslogtreecommitdiffstats
path: root/libvir-python-api.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2006-01-31 10:24:12 +0000
committerDaniel Veillard <veillard@redhat.com>2006-01-31 10:24:12 +0000
commitfb54944e588be376fcd3fc9e01d8592a86731c41 (patch)
treefb429f11ee08c69237125a2330e00cfb139c10d0 /libvir-python-api.xml
parent0955d746e83c9af235aec6f4c2cb568e6ab4f1ac (diff)
downloadlibvirt-python-split-fb54944e588be376fcd3fc9e01d8592a86731c41.tar.gz
libvirt-python-split-fb54944e588be376fcd3fc9e01d8592a86731c41.tar.xz
libvirt-python-split-fb54944e588be376fcd3fc9e01d8592a86731c41.zip
* python/*: update of the python bindings, fix names, add
missing features like list of domains and domain info extraction Daniel
Diffstat (limited to 'libvir-python-api.xml')
-rw-r--r--libvir-python-api.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvir-python-api.xml b/libvir-python-api.xml
index 45076f5..d90da8a 100644
--- a/libvir-python-api.xml
+++ b/libvir-python-api.xml
@@ -1,3 +1,15 @@
<?xml version="1.0"?>
<api name='libvir-python'>
+ <symbols>
+ <function name="virConnectListDomainsID" file='python'>
+ <info>Returns the list of the ID of the domains on the hypervisor</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <return type='int *' info="the list of ID or None in case of error"/>
+ </function>
+ <function name='virDomainGetInfo' file='libvir' module='libvir'>
+ <info>Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the informations can be extracted.</info>
+ <return type='int *' info='the list of informations or None in case of error'/>
+ <arg name='domain' type='virDomainPtr' info='a domain object'/>
+ </function>
+ </symbols>
</api>