From 1a348ec050186eedb3267ea4131d06418a754207 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Fri, 9 Feb 2024 18:04:34 +0100 Subject: [PATCH] tests: check route recursion on leaked routes Check that leaks of a route with a recursive nexthop is possible. Signed-off-by: Louis Scalbert --- .../topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py index 28047f7b2d..217657d358 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py @@ -891,4 +891,11 @@ luCommand( "pass", "Redundant route 2 details", ) +luCommand( + "r1", + 'vtysh -c "show ip route vrf r1-cust5 5.1.0.0/24"', + "Known via .bgp., distance 200, .* vrf r1-cust5, best", + "pass", + "Recursive route leak details", +) # done -- 2.39.5