]> git.puffer.fish Git - matthieu/frr.git/commitdiff
topotests: l3vpn_to_bgp_direct, complete ambiguous command 'show bgp next'
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 7 Mar 2024 16:12:07 +0000 (17:12 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 27 Mar 2024 20:33:01 +0000 (21:33 +0100)
Complete the 'show bgp next' command expected when the l3vpn_to_bgp_direct
is executed.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py

index c98d837069a7b271186d871a5e8cb0c98365b269..489c59fa405167ff87b646b71937c781f0ac69fc 100644 (file)
@@ -1,13 +1,13 @@
 from lib.lutil import luCommand
 
 luCommand(
-    "r1", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
+    "r1", 'vtysh -c "show bgp nexthop"', "99.0.0.. valid", "wait", "See CE static NH"
 )
 luCommand(
-    "r3", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
+    "r3", 'vtysh -c "show bgp nexthop"', "99.0.0.. valid", "wait", "See CE static NH"
 )
 luCommand(
-    "r4", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
+    "r4", 'vtysh -c "show bgp nexthop"', "99.0.0.. valid", "wait", "See CE static NH"
 )
 luCommand("r1", 'vtysh -c "show bgp ipv4 uni"', "i 5.*i 5", "wait", "See CE routes")
 luCommand("r3", 'vtysh -c "show bgp ipv4 uni"', "i 5.*i 5", "wait", "See CE routes")