From caad2768294850d385a12a746b240c94ed261191 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 7 Mar 2024 17:12:07 +0100 Subject: [PATCH] topotests: l3vpn_to_bgp_direct, fix ambiguous command 'show bgp next' The l3vpn_to_bgp_direct fails. The addition of the 'show bgp nexthop-group' command added a mismatch when running the command 'show bgp next'. Complete the command to execute. Fixes: 98868b4d507d ("bgpd: add 'show bgp nhg' command") Signed-off-by: Philippe Guibert --- .../topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py b/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py index 0deb181f3e5c..e1954e01645b 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py @@ -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"', "i5.*i5", "wait", "See CE routes") luCommand("r3", 'vtysh -c "show bgp ipv4 uni"', "i5.*i5", "wait", "See CE routes")