summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-04 23:55:15 +0800
committerOsier Yang <jyang@redhat.com>2012-09-11 16:58:16 +0800
commit849f4b05c2842fab80a4f5e828d0127bc87865d9 (patch)
tree47c93138d8e7410f39e25cd3c9a7e53bd0480233
parent9b64533be6efc412f6daf9461a3fc0301c351be3 (diff)
downloadlibvirt-python-split-849f4b05c2842fab80a4f5e828d0127bc87865d9.zip
libvirt-python-split-849f4b05c2842fab80a4f5e828d0127bc87865d9.tar.gz
libvirt-python-split-849f4b05c2842fab80a4f5e828d0127bc87865d9.tar.xz
list: Define new API virConnectListAllNetworks
This is to list the network objects, supported filtering flags are: active|inactive, persistent|transient, autostart|no-autostart. include/libvirt/libvirt.h.in: Declare enum virConnectListAllNetworkFlags and virConnectListAllNetworks. python/generator.py: Skip auto-generating src/driver.h: (virDrvConnectListAllNetworks) src/libvirt.c: Implement the public API src/libvirt_public.syms: Export the symbol to public
-rwxr-xr-xgenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 276b4ff..a9a401b 100755
--- a/generator.py
+++ b/generator.py
@@ -462,6 +462,7 @@ skip_function = (
'virDomainSnapshotListAllChildren', # overridden in virDomainSnapshot.py
'virConnectListAllStoragePools', # overridden in virConnect.py
'virStoragePoolListAllVolumes', # overridden in virStoragePool.py
+ 'virConnectListAllNetworks', # overridden in virConnect.py
'virStreamRecvAll', # Pure python libvirt-override-virStream.py
'virStreamSendAll', # Pure python libvirt-override-virStream.py