From 131de270dcafec3d1af0c60c4167b1b648317b65 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 2 Sep 2021 11:25:42 -0400 Subject: [PATCH] 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 --- .../topotests/bgp_snmp_mplsl3vpn/test_bgp_snmp_mplsvpn.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/topotests/bgp_snmp_mplsl3vpn/test_bgp_snmp_mplsvpn.py b/tests/topotests/bgp_snmp_mplsl3vpn/test_bgp_snmp_mplsvpn.py index b830e16b9a..221a433c89 100755 --- a/tests/topotests/bgp_snmp_mplsl3vpn/test_bgp_snmp_mplsvpn.py +++ b/tests/topotests/bgp_snmp_mplsl3vpn/test_bgp_snmp_mplsvpn.py @@ -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() -- 2.39.5