summaryrefslogtreecommitdiffstats
path: root/libvirt-python-api.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2006-03-29 12:46:03 +0000
committerDaniel Veillard <veillard@redhat.com>2006-03-29 12:46:03 +0000
commit300aa2d3f92c981cd8df9ccc0546b93251d796cf (patch)
treec3939813f3fe9cc748f5ed1be2fa72fb3e149925 /libvirt-python-api.xml
parent1027aa871cf478a54d77088199da8caabacbe3a0 (diff)
downloadlibvirt-python-v6-300aa2d3f92c981cd8df9ccc0546b93251d796cf.tar.gz
libvirt-python-v6-300aa2d3f92c981cd8df9ccc0546b93251d796cf.tar.xz
libvirt-python-v6-300aa2d3f92c981cd8df9ccc0546b93251d796cf.zip
* include/libvirt.h[.in] include/virterror.h src/driver.h
src/internal.h src/libvirt_sym.version src/xen_internal.c src/xs_internal.c: added a new entry point to get node hardware informations virGetNodeInfo, and associated driver hook. * src/xend_internal.c: implemented the node and version information hooks for the Xen Daemon * python/libvir.c python/libvirt-python-api.xml python/generator.py: also added Python bindings for the new call Daniel
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r--libvirt-python-api.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
index 3b75525..302ba02 100644
--- a/libvirt-python-api.xml
+++ b/libvirt-python-api.xml
@@ -12,12 +12,17 @@
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
<arg name='uuid' type='const unsigned char *' info='the UUID string for the domain, must be 16 bytes'/>
</function>
- <function name='virDomainGetInfo' file='libvir' module='python'>
- <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>
+ <function name='virDomainGetInfo' file='python'>
+ <info>Extract informations 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>
- <function name='virDomainGetUUID' file='libvir' module='python'>
+ <function name='virNodeGetInfo' file='python'>
+ <info>Extract hardware informations about the Node.</info>
+ <return type='int *' info='the list of informations or None in case of error'/>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ </function>
+ <function name='virDomainGetUUID' file='python'>
<info>Extract the UUID unique Identifier of a domain.</info>
<return type='char *' info='the 16 bytes string or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>