summaryrefslogtreecommitdiffstats
path: root/libvirt-python-api.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2007-12-07 08:41:01 +0000
committerDaniel Veillard <veillard@redhat.com>2007-12-07 08:41:01 +0000
commit205dd748b9917dda70212aff0d296389e378f21a (patch)
tree0126578e8f9c55c34199bb4372ad1d1e5b652ecb /libvirt-python-api.xml
parent33ed12a754be58e87faab059e13b6646d67f4e9b (diff)
downloadlibvirt-python-split-205dd748b9917dda70212aff0d296389e378f21a.tar.gz
libvirt-python-split-205dd748b9917dda70212aff0d296389e378f21a.tar.xz
libvirt-python-split-205dd748b9917dda70212aff0d296389e378f21a.zip
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
add a python binding for virNodeGetCellsFreeMemory Daniel
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r--libvirt-python-api.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
index b6154e7..46b2fa2 100644
--- a/libvirt-python-api.xml
+++ b/libvirt-python-api.xml
@@ -75,5 +75,12 @@
<arg name='domain' type='virDomainPtr' info='a domain object'/>
<arg name='path' type='char *' info='the path for the interface device'/>
</function>
+ <function name="virNodeGetCellsFreeMemory" file='python'>
+ <info>Returns the availbale memory for a list of cells</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='startCell' type='int' info='first cell in the list'/>
+ <arg name='maxCells' type='int' info='number of cell in the list'/>
+ <return type='int *' info="the list available memory in the cells"/>
+ </function>
</symbols>
</api>