Federico Simoncelli has submitted this change and it was merged.

Change subject: Management network is now kept in main routing table
......................................................................


Management network is now kept in main routing table

Only the management network should add its default route
to the main routing table. Each NetDevice holds an IpConfig
instance who now holds defaultRoute='yes', 'no' or None.
Only the top level device will have a defaultRoute value.
When writing ifcfg files we check if we got a defaultRoute
value, if so we write it.

Patch Set 7 changed the implementation so that only the top
level device has DEFROUTE=yes/no in its ifcfg file.

Change-Id: I55c50269dd3d52fd058951200282c925a7014aca
Signed-off-by: Assaf Muller <[email protected]>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=984028
Reviewed-on: http://gerrit.ovirt.org/17844
Reviewed-by: Antoni Segura Puimedon <[email protected]>
Reviewed-by: Federico Simoncelli <[email protected]>
---
M lib/vdsm/constants.py.in
M vdsm/configNetwork.py
M vdsm/netconf/__init__.py
M vdsm/netconf/ifcfg.py
M vdsm/netmodels.py
M vdsm/sourceRoute.py
6 files changed, 60 insertions(+), 28 deletions(-)

Approvals:
  Antoni Segura Puimedon: Looks good to me, but someone else must approve
  Federico Simoncelli: Looks good to me, approved
  Assaf Muller: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I55c50269dd3d52fd058951200282c925a7014aca
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.3
Gerrit-Owner: Assaf Muller <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Assaf Muller <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to