summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorStefan Berger <stefanb@us.ibm.com>2010-04-29 06:46:01 -0400
committerStefan Berger <stefanb@us.ibm.com>2010-04-29 06:46:01 -0400
commit626e52010b6151cbae01e91aa0b94dae8490537c (patch)
tree8097d742db59ce95cf4281b724965c3d1c5999d6 /libvirt-override-api.xml
parente4affdfbc19a6bd2778acf0e64a947cecd7eea83 (diff)
downloadlibvirt-python-v6-626e52010b6151cbae01e91aa0b94dae8490537c.tar.gz
libvirt-python-v6-626e52010b6151cbae01e91aa0b94dae8490537c.tar.xz
libvirt-python-v6-626e52010b6151cbae01e91aa0b94dae8490537c.zip
nwfilter: python bindings for nwfilter
I have primarily followed the pattern of the 'secret' driver to provide support for the missing python bindings for the network filter API.
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 6f1bc04..76a102d 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -226,6 +226,27 @@
<return type='char *' info='the UUID string or None in case of error'/>
<arg name='secret' type='virSecretPtr' info='a secret object'/>
</function>
+ <function name='virConnectListNWFilters' file='libvirt' module='libvirt'>
+ <info>List the defined network filters</info>
+ <arg name='conn' type='virConnectPtr' info='virConnect connection'/>
+ <return type='str *' info='the list of network filter IDs or None in case of error'/>
+ </function>
+ <function name='virNWFilterLookupByUUID' file='python'>
+ <info>Try to lookup a network filter on the given hypervisor based on its UUID.</info>
+ <return type='virNWFilterPtr' info='a new network filter object or NULL in case of failure'/>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='uuid' type='const unsigned char *' info='the UUID string for the secret, must be 16 bytes'/>
+ </function>
+ <function name='virNWFilterGetUUID' file='python'>
+ <info>Extract the UUID unique Identifier of a network filter.</info>
+ <return type='char *' info='the 16 bytes string or None in case of error'/>
+ <arg name='nwfilter' type='virNWFilterPtr' info='a network filter object'/>
+ </function>
+ <function name='virNWFilterGetUUIDString' file='python'>
+ <info>Fetch globally unique ID of the network filter as a string.</info>
+ <return type='char *' info='the UUID string or None in case of error'/>
+ <arg name='nwfilter' type='virNWFilterPtr' info='a network filter object'/>
+ </function>
<function name='virConnectListInterfaces' file='python'>
<info>list the running interfaces, stores the pointers to the names in @names</info>
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>