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 <asegu...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to