Change in vdsm[master]: Simplify configWriter to use netmodels

gvallare at redhat.com gvallare at redhat.com
Mon Jul 8 09:43:45 UTC 2013


Giuseppe Vallarelli has posted comments on this change.

Change subject: Simplify configWriter to use netmodels
......................................................................


Patch Set 4: Looks good to me, but someone else must approve

(1 inline comment)

....................................................
File vdsm/netconf/ifcfg.py
Line 73:             bridge.port.configure(**opts)
Line 74:         self._addSourceRoute(bridge, ipaddr, netmask, gateway, bootproto)
Line 75:         ifup(bridge.name, async)
Line 76: 
Line 77:     def configureVlan(self, vlan, **opts):
Ok, not a big deal.
Line 78:         ipaddr, netmask, gateway, bootproto, async = vlan.getIpConfig()
Line 79:         self.configWriter.addVlan(vlan, **opts)
Line 80:         vlan.device.configure(**opts)
Line 81:         self._addSourceRoute(vlan, ipaddr, netmask, gateway, bootproto)


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id9e00f6a8ce21a2e0bf24ad2cd13af6fe3d3f356
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Giuseppe Vallarelli <gvallare at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list