Change in vdsm[master]: networkTests: Make DEFROUTE controllable so the system's gat...

danken at redhat.com danken at redhat.com
Fri Nov 28 14:58:23 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: networkTests: Make DEFROUTE controllable so the system's gateway is preserved
......................................................................


networkTests: Make DEFROUTE controllable so the system's gateway is preserved

testSetupNetworksAddDelDhcp, a test on a veth pair (with dnsmasq and
a VDSM-invoked dhclient), has recently been adapted to account for source
routing. Other two tests using dhclient directly however result in
the replacement of the system's default route.

Fix this situation on Fedora and RHEL by instructing their dhclient-script
not to set the gateway on the veth.

Change-Id: I0c0210b188feec45d151060d5cadaefe1ed6dc99
Signed-off-by: Ondřej Svoboda <osvoboda at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/35701
Reviewed-by: Antoni Segura Puimedon <asegurap at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/functional/dhcp.py
1 file changed, 8 insertions(+), 4 deletions(-)

Approvals:
  Ondřej Svoboda: Verified
  Antoni Segura Puimedon: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c0210b188feec45d151060d5cadaefe1ed6dc99
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list