1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-12-18 20:23:49 +03:00

Added binding for virConnectListDefinedDomains api

This commit is contained in:
Daniel P. Berrange
2006-11-16 00:17:10 +00:00
parent c4726cbadb
commit 15d35f3f76
3 changed files with 53 additions and 0 deletions

View File

@@ -6,6 +6,11 @@
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
<return type='int *' info="the list of ID or None in case of error"/>
</function>
<function name='virConnectListDefinedDomains' file='python'>
<info>list the defined domains, 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'/>