tests: Fix wrong setting of mpls being turned on

There were some tests where we were turning on mpls on
interface names that don't exist for certain `machines`
in the topology.  Fix.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-09-02 11:25:42 -04:00
parent c2ad0a0d40
commit 131de270dc

View File

@ -161,13 +161,6 @@ def setup_module(mod):
r1.run("sysctl -w net.mpls.conf.r1-eth0.input=1")
r1.run("sysctl -w net.mpls.conf.r1-eth1.input=1")
r1.run("sysctl -w net.mpls.conf.r1-eth2.input=1")
r2.run("sysctl -w net.mpls.conf.r1-eth0.input=1")
r2.run("sysctl -w net.mpls.conf.r1-eth1.input=1")
r3.run("sysctl -w net.mpls.conf.r1-eth0.input=1")
r3.run("sysctl -w net.mpls.conf.r1-eth1.input=1")
r3.run("sysctl -w net.mpls.conf.r1-eth2.input=1")
r4.run("sysctl -w net.mpls.conf.r1-eth0.input=1")
r4.run("sysctl -w net.mpls.conf.r1-eth1.input=1")
router_list = tgen.routers()