Change in vdsm[master]: Also remove NIC in delNetwork if no bonding configured.
wudxw at linux.vnet.ibm.com
wudxw at linux.vnet.ibm.com
Mon Sep 3 14:11:33 UTC 2012
Mark Wu has uploaded a new change for review.
Change subject: Also remove NIC in delNetwork if no bonding configured.
......................................................................
Also remove NIC in delNetwork if no bonding configured.
The client needn't specifiy
Change-Id: I42e316eeb7aa978962b7ff0def61ce6d2e8692b2
Signed-off-by: Mark Wu <wudxw at linux.vnet.ibm.com>
---
M vdsm/configNetwork.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/7712/1
diff --git a/vdsm/configNetwork.py b/vdsm/configNetwork.py
index fe42547..b8fbd9f 100755
--- a/vdsm/configNetwork.py
+++ b/vdsm/configNetwork.py
@@ -1049,6 +1049,7 @@
configWriter.removeBonding(bonding)
name = None if bonding == name else name
+ if implicitBonding or not bonding:
for nic in nics:
if not nicOtherUsers(network, vlan, bonding, nic):
ifdown(nic)
--
To view, visit http://gerrit.ovirt.org/7712
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I42e316eeb7aa978962b7ff0def61ce6d2e8692b2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list