summaryrefslogtreecommitdiffstats
path: root/libvirt-python-api.xml
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2007-03-09 15:42:50 +0000
committerDaniel P. Berrange <berrange@redhat.com>2007-03-09 15:42:50 +0000
commite04a275034df1ca962205bd93c9c55aefd1c8903 (patch)
treee357e9bc652d64368c28e875ebf5457760303675 /libvirt-python-api.xml
parentf928d2b27fce6b225d7325702226f159c3014b66 (diff)
downloadlibvirt-python-split-e04a275034df1ca962205bd93c9c55aefd1c8903.tar.gz
libvirt-python-split-e04a275034df1ca962205bd93c9c55aefd1c8903.tar.xz
libvirt-python-split-e04a275034df1ca962205bd93c9c55aefd1c8903.zip
Added python bindings for networking APIs
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r--libvirt-python-api.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
index 1a658a3..28f0185 100644
--- a/libvirt-python-api.xml
+++ b/libvirt-python-api.xml
@@ -11,12 +11,28 @@
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
<return type='str *' info='the list of Names of None in case of error'/>
</function>
+ <function name='virConnectListNetworks' file='python'>
+ <info>list the networks, stores the pointers to the names in @names</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <return type='str *' info='the list of Names of None in case of error'/>
+ </function>
+ <function name='virConnectListDefinedNetworks' file='python'>
+ <info>list the defined networks, stores the pointers to the names in @names</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <return type='str *' info='the list of Names of None in case of error'/>
+ </function>
<function name='virDomainLookupByUUID' file='python'>
<info>Try to lookup a domain on the given hypervisor based on its UUID.</info>
<return type='virDomainPtr' info='a new domain 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 domain, must be 16 bytes'/>
</function>
+ <function name='virNetworkLookupByUUID' file='python'>
+ <info>Try to lookup a network on the given hypervisor based on its UUID.</info>
+ <return type='virNetworkPtr' info='a new network object or NULL in case of failure'/>
+ <arg name='conn' type='virNetworkPtr' info='pointer to the hypervisor connection'/>
+ <arg name='uuid' type='const unsigned char *' info='the UUID string for the network, must be 16 bytes'/>
+ </function>
<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'/>
@@ -32,5 +48,10 @@
<return type='char *' info='the 16 bytes string or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
</function>
+ <function name='virNetworkGetUUID' file='python'>
+ <info>Extract the UUID unique Identifier of a network.</info>
+ <return type='char *' info='the 16 bytes string or None in case of error'/>
+ <arg name='domain' type='virNetworkPtr' info='a network object'/>
+ </function>
</symbols>
</api>