Mark Wu has posted comments on this change.

Change subject: Remove innecessary netinfo instance creation.
......................................................................


Patch Set 1: No score

(1 inline comment)

....................................................
File vdsm/netinfo.py
Line 488:             self.networks[network] = getNetData(
Line 489:                 network, self.networks[network]['bridged'], 
getRoutes())
Line 490:         except KeyError:
Line 491:             del self.networks[network]
Line 492:             raise
I am wrong. getNetData doesn't invoke a libvirt call. But I still think it's 
better to differentiate delNetwork from the updateNetwork.
Line 493: 
Line 494:     def updateBonds(self):
Line 495:         self.bondings = dict([(bond,


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I0cef02dc89d927799bf92d36b790598707583195
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to