Skip to content

Commit

Permalink
topotests: l3vpn_to_bgp_direct, fix ambiguous command 'show bgp next'
Browse files Browse the repository at this point in the history
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: 98868b4 ("bgpd: add 'show bgp nhg' command")

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed Mar 19, 2024
1 parent 3e85a9a commit b9d3e26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit b9d3e26

Please sign in to comment.