summaryrefslogtreecommitdiffstats
path: root/libvirt-python-api.xml
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r--libvirt-python-api.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
new file mode 100644
index 0000000..d90da8a
--- /dev/null
+++ b/libvirt-python-api.xml
@@ -0,0 +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>