[libvirt] [PATCH 0/7 v4] Atomic API to list networks

Osier Yang jyang at redhat.com
Tue Sep 4 15:55:14 UTC 2012


v3 - v4:
  - Just rebase on top, and split the API from the big set

Osier Yang (7):
  list: Define new API virConnectListAllNetworks
  list: Implement RPC calls for virConnectListAllNetworks
  list: Add helpers to list network objects
  list: Implement listAllNetworks for network driver
  list: Implement listAllNetworks for test driver
  list: Use virConnectListAllNetworks in virsh
  list: Expose virConnectListAllNetworks to Python binding

 daemon/remote.c                       |   55 +++++
 include/libvirt/libvirt.h.in          |   20 ++
 python/generator.py                   |    1 +
 python/libvirt-override-api.xml       |    6 +
 python/libvirt-override-virConnect.py |   12 ++
 python/libvirt-override.c             |   48 +++++
 src/conf/network_conf.c               |   91 +++++++++
 src/conf/network_conf.h               |   22 ++
 src/driver.h                          |    5 +
 src/libvirt.c                         |   86 ++++++++-
 src/libvirt_private.syms              |    1 +
 src/libvirt_public.syms               |    1 +
 src/network/bridge_driver.c           |   17 ++
 src/remote/remote_driver.c            |   64 ++++++
 src/remote/remote_protocol.x          |   13 ++-
 src/remote_protocol-structs           |   12 ++
 src/test/test_driver.c                |   17 ++
 tools/virsh-network.c                 |  352 ++++++++++++++++++++++++--------
 tools/virsh.pod                       |   12 +-
 19 files changed, 743 insertions(+), 92 deletions(-)

-- 
1.7.7.3




More information about the libvir-list mailing list