From 14314036cadd4d40240b8c09730accdbb68f0a3d Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Sun, 25 Feb 2018 12:21:12 -0500 Subject: [PATCH] bgp_l3vpn_to_bgp_vrf: fix route set on non-vrf interface (thanks ben!) Signed-off-by: Lou Berger --- .../topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py index e2b159a858..af0bafac9d 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py @@ -13,7 +13,7 @@ if ret != False and found != None: luCommand('ce4','ip route add default via 192.168.2.1') luCommand('ce1','ip route add default via 192.168.1.1') luCommand('r1','ip route add 99.0.0.1 vrf r1-cust1 dev r1-eth4 via 192.168.1.2') - luCommand('r4','ip route add 99.0.0.4 vrf r4-cust2 dev r4-eth4 via 192.168.2.2') + luCommand('r4','ip route add 99.0.0.4 vrf r4-cust2 dev r4-eth5 via 192.168.2.2') luCommand('r1','ip -M route add 101 dev r1-cust1') luCommand('r4','ip -M route add 104 dev r4-cust2') luCommand('r1','ip route add 99.0.0.4/32 vrf r1-cust1 nexthop encap mpls %s/104 via 10.0.1.2 dev r1-eth0'%label4r4) -- 2.39.5