]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: check route recursion on leaked routes
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 9 Feb 2024 17:04:34 +0000 (18:04 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 9 Feb 2024 17:25:01 +0000 (18:25 +0100)
Check that leaks of a route with a recursive nexthop is possible.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py

index 28047f7b2d6b49920c1b8f98fc1a6a83441afbd4..217657d35868fb4d56f7c1c40cd2e6ab6ea7c751 100644 (file)
@@ -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