From 3e25987d1a4cef5074e880af1d63a5d0d229e352 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Sun, 20 May 2012 16:20:11 +0200 Subject: python: add API exports for virConnectListAllDomains() This patch adds export of the new API function virConnectListAllDomains() to the libvirt-python bindings. The virConnect object now has method "listAllDomains" that takes only the flags parameter and returns a python list of virDomain object corresponding to virDomainPtrs returned by the underlying api. The implementation is done manually as the generator does not support wrapping list of virDomainPtrs into virDomain objects. --- libvirt-override-api.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libvirt-override-api.xml') diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 0bafd21..2fd6dec 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -19,17 +19,23 @@ list the defined domains, stores the pointers to the names in @names - + + + + returns list of all defined domains + + + list the networks, stores the pointers to the names in @names - + list the defined networks, stores the pointers to the names in @names - + Try to lookup a domain on the given hypervisor based on its UUID. -- cgit