Igor Lvovsky has posted comments on this change.
Change subject: Minor optimization for delNetwork
......................................................................
Patch Set 1: (3 inline comments)
....................................................
File vdsm/configNetwork.py
Line 794: ifdown(bonding)
It is exactly same condition, isn't it?
So, why check it twice?
Line 798: nicUsers = nicOtherUsers(network, vlan, bonding, nic)
which changes?
Line 801: if bridged and nicUsers:
First, I just keep exactly previous behaviour (except of calling nicOtherUsers once and
not twice ).
But, let see....
do you mean that at this point we shouldn't be care about bridge because we removed it
several lines above?
Hmmm, if so, maybe you are right we can avoid questions about bridge.
you are also right in second part, indeed we can put the action under condition
--
To view, visit
http://gerrit.ovirt.org/5207
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I66a37cb1100411af13197642bdb13ae745bc6e53
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Igor Lvovsky <ilvovsky(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky(a)redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer(a)redhat.com>