Change in vdsm[master]: remove updating libvirt_nets, it ahs no effect

ibarkan at redhat.com ibarkan at redhat.com
Thu Nov 27 16:39:33 UTC 2014


Ido Barkan has uploaded a new change for review.

Change subject: remove updating libvirt_nets, it ahs no effect
......................................................................

remove updating libvirt_nets, it ahs no effect

Change-Id: I5e4999b33419353627f7a127cbe61e8ebcb04148
Signed-off-by: ibarkan <ibarkan at redhat.com>
---
M vdsm/network/api.py
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/35694/1

diff --git a/vdsm/network/api.py b/vdsm/network/api.py
index b5aec19..c5f55d8 100755
--- a/vdsm/network/api.py
+++ b/vdsm/network/api.py
@@ -731,8 +731,6 @@
                 logger.debug("Removing network %r", network)
                 delNetwork(network, configurator=configurator, force=force,
                            implicitBonding=False, _netinfo=_netinfo)
-                if 'remove' in attrs:
-                    del libvirt_nets[network]
                 _netinfo.updateDevices()
                 del _netinfo.networks[network]
             elif network in libvirt_nets:
@@ -742,8 +740,6 @@
                 logger.debug('Removing broken network %r', network)
                 _delBrokenNetwork(network, libvirt_nets[network],
                                   configurator=configurator)
-                if 'remove' in attrs:
-                    del libvirt_nets[network]
                 _netinfo.updateDevices()
             elif 'remove' in attrs:
                 raise ConfigNetworkError(ne.ERR_BAD_BRIDGE, "Cannot delete "


-- 
To view, visit http://gerrit.ovirt.org/35694
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e4999b33419353627f7a127cbe61e8ebcb04148
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <ibarkan at redhat.com>


More information about the vdsm-patches mailing list