Change in vdsm[master]: net_models: make network hierarchies iterable
danken at redhat.com
danken at redhat.com
Tue Sep 9 14:35:31 UTC 2014
Dan Kenigsberg has posted comments on this change.
Change subject: net_models: make network hierarchies iterable
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
http://gerrit.ovirt.org/#/c/32606/1/vdsm/network/models.py
File vdsm/network/models.py:
Line 142: ipconfig, mtu)
Line 143:
Line 144: def __iter__(self):
Line 145: yield self
Line 146: for dev in self.device:
I suppose that I can get used to this.
Line 147: yield dev
Line 148:
Line 149: def __repr__(self):
Line 150: return 'Vlan(%s: %r)' % (self.name, self.device)
--
To view, visit http://gerrit.ovirt.org/32606
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I333866c1b8d569520c641e462dfe64cb43ea1ae7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list