diff options
author | Daniel Veillard <veillard@redhat.com> | 2006-02-24 12:26:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2006-02-24 12:26:56 +0000 |
commit | 8a85b2bf232d251c5c688721b68145fc21bf3581 (patch) | |
tree | ed1b0518f4877a67cb917a2feb84f554d70e70be /libvirt-python-api.xml | |
parent | 2ce9e08fac637cb6a19e5244027b118dbed708c2 (diff) | |
download | libvirt-python-split-8a85b2bf232d251c5c688721b68145fc21bf3581.tar.gz libvirt-python-split-8a85b2bf232d251c5c688721b68145fc21bf3581.tar.xz libvirt-python-split-8a85b2bf232d251c5c688721b68145fc21bf3581.zip |
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
UUID strings can contain zeroes, so the autogenerated conversion
functions don't work.
Daniel
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r-- | libvirt-python-api.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml index 2a43280..3b75525 100644 --- a/libvirt-python-api.xml +++ b/libvirt-python-api.xml @@ -6,6 +6,12 @@ <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='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='virDomainGetInfo' file='libvir' module='python'> <info>Extract information 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'/> |