From 647c38eab2d6a1d05f6f683185c58ecf3015a4dc Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 31 Dec 2022 13:58:01 +0100 Subject: [PATCH] tests: Fix wrong interface name in SRv6 topotest Previously, routes leaked from one VRF to another VRF were associated with the original nexthop interface. Commit 14aabc01565a918c223b7811572fae0316810422 replaced the nexthop interface with the index of incoming VRF interface. Due to this change, the `bgp_srv6l3vpn_route_leak` topotest always fails because it still expects the nexthop interface. This commit fixes the expected interface name in the `bgp_srv6l3vpn_route_leak` topotest. Signed-off-by: Carmine Scarpitta --- .../bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json b/tests/topotests/bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json index 9f78447255..2ce936b291 100644 --- a/tests/topotests/bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json +++ b/tests/topotests/bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json @@ -12,7 +12,7 @@ { "fib": true, "directlyConnected": true, - "interfaceName": "eth0", + "interfaceName": "vrf10", "vrf": "vrf10", "active": true }