]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: Fix wrong interface name in SRv6 topotest
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Sat, 31 Dec 2022 12:58:01 +0000 (13:58 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Sat, 31 Dec 2022 14:58:05 +0000 (15:58 +0100)
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 <carmine.scarpitta@uniroma2.it>
tests/topotests/bgp_srv6l3vpn_route_leak/pe1/results/vrf20_ipv4.json

index 9f78447255ff2310e3327cdf163c77e501b53429..2ce936b291455d101527f0b2d997316468cbe369 100644 (file)
@@ -12,7 +12,7 @@
                 {
                     "fib": true,
                     "directlyConnected": true,
-                    "interfaceName": "eth0",
+                    "interfaceName": "vrf10",
                     "vrf": "vrf10",
                     "active": true
                 }