summaryrefslogtreecommitdiffstats
path: root/libvirt-python-api.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2007-09-30 20:52:13 +0000
committerDaniel Veillard <veillard@redhat.com>2007-09-30 20:52:13 +0000
commita4e8e2c99ad3f5d8fe01885caedc95e303eec5e8 (patch)
treebaca4e85c8e129b7de37b6fad450723ae303112d /libvirt-python-api.xml
parentba4524b0d1fc21115326596d089e36b73844716f (diff)
downloadlibvirt-python-v6-a4e8e2c99ad3f5d8fe01885caedc95e303eec5e8.tar.gz
libvirt-python-v6-a4e8e2c99ad3f5d8fe01885caedc95e303eec5e8.tar.xz
libvirt-python-v6-a4e8e2c99ad3f5d8fe01885caedc95e303eec5e8.zip
* python/generator.py python/libvir.c python/libvirt-python-api.xml:v0.3.3LIBVIRT_0_3_3
provide bindings for block and interface statistics Daniel
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r--libvirt-python-api.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
index 40cac6d..b6154e7 100644
--- a/libvirt-python-api.xml
+++ b/libvirt-python-api.xml
@@ -63,5 +63,17 @@
<return type='int' info='the autostart flag, or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a network object'/>
</function>
+ <function name='virDomainBlockStats' file='python'>
+ <info>Extracts block device statistics for a domain</info>
+ <return type='virDomainBlockStats' info='a tuple of statistics'/>
+ <arg name='domain' type='virDomainPtr' info='a domain object'/>
+ <arg name='path' type='char *' info='the path for the block device'/>
+ </function>
+ <function name='virDomainInterfaceStats' file='python'>
+ <info>Extracts interface device statistics for a domain</info>
+ <return type='virDomainInterfaceStats' info='a tuple of statistics'/>
+ <arg name='domain' type='virDomainPtr' info='a domain object'/>
+ <arg name='path' type='char *' info='the path for the interface device'/>
+ </function>
</symbols>
</api>