From e2a5888d7c9e6fc2f0bfa040670161c63209b00f Mon Sep 17 00:00:00 2001 From: Hiroki Shirokura Date: Fri, 2 Apr 2021 12:12:46 +0000 Subject: [PATCH] tests: update sharpd srv6 route command Signed-off-by: Hiroki Shirokura --- tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py | 2 +- .../zebra_seg6local_route/test_zebra_seg6local_route.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py b/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py index e14d9690c1..e83b2c1007 100755 --- a/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py +++ b/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py @@ -82,7 +82,7 @@ def test_zebra_seg6local_routes(): r1 = tgen.gears["r1"] def check(router, dest, nh, sid, expected): - router.vtysh_cmd("sharp install routes {} "\ + router.vtysh_cmd("sharp install seg6-routes {} "\ "nexthop-seg6 {} encap {} 1".format(dest, nh, sid)) output = json.loads(router.vtysh_cmd("show ipv6 route {} json".format(dest))) output = output.get('{}/128'.format(dest)) diff --git a/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py b/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py index 66c6ac6dd2..1c9d208fef 100755 --- a/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py +++ b/tests/topotests/zebra_seg6local_route/test_zebra_seg6local_route.py @@ -82,7 +82,7 @@ def test_zebra_seg6local_routes(): r1 = tgen.gears["r1"] def check(router, dest, context, expected): - router.vtysh_cmd("sharp install routes {} "\ + router.vtysh_cmd("sharp install seg6local-routes {} "\ "nexthop-seg6local dum0 {} 1".format(dest, context)) output = json.loads(router.vtysh_cmd("show ipv6 route {} json".format(dest))) output = output.get('{}/128'.format(dest)) -- 2.39.5