[PATCH 0/3] Prevent removing a in-used static bridge and destroying a in-used virtual network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Get the live state info of a virtual network through netcf in networkGetXMLDesc.
* Add --system flag for net-dumpxml to show the live state info.
* Check the live state info in net-destroy.
* Add --force flag for net-destroy to forcibly destroy the virtual network.
* Check the transient interfaces info in iface-unbridge.

---
Lin Ma (3):
  bridge_driver: Return the live state info of a given virtual network
  virsh: prevent destroying a in-used network for net-destroy
  virsh: prevent removing a in-used bridge for iface-unbridge

 include/libvirt/libvirt-network.h    |   1 +
 src/Makefile.am                      |   3 +
 src/network/bridge_driver.c          | 141 ++++++++++++++++++++++++++++++++++-
 src/network/bridge_driver_platform.h |   7 ++
 tests/Makefile.am                    |   4 +
 tools/virsh-interface.c              |  25 ++++++-
 tools/virsh-network.c                |  62 ++++++++++++++-
 tools/virsh.pod                      |   8 +-
 8 files changed, 241 insertions(+), 10 deletions(-)

-- 
1.8.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]