Create a router in both vping scenarii 15/44015/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 2 Oct 2017 22:27:36 +0000 (00:27 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 3 Oct 2017 06:36:50 +0000 (06:36 +0000)
commiteb852423006e1c4934e40f38e44e6c16b20e56bc
treece40bfa4297afdef8b4bba8b4bda0593b939a7ef
parent625f8ba769a6f9c897fa4f2dd94054edc7073540
Create a router in both vping scenarii

It fixes vping_userdata as it allows getting metadata due to the
gateway defined for the subnet.

It could be noted that DHCP can add the route needed if no gateway is
defined and if force_metadata is set in dhcp_agent.ini.

Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a691a8c2868d3f8af531e0bff513023c3a704aaf)
functest/opnfv_tests/openstack/vping/vping_base.py
functest/opnfv_tests/openstack/vping/vping_ssh.py