From a963eecc4f15b017de0a92d643bfbe4ca97be963 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sun, 22 Sep 2024 07:36:04 +0200 Subject: [PATCH] tests: Add testcase for SRv6 End.DT4 Signed-off-by: Carmine Scarpitta --- .../zebra_seg6local_route/r1/routes.json | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tests/topotests/zebra_seg6local_route/r1/routes.json b/tests/topotests/zebra_seg6local_route/r1/routes.json index baa2ca7a14..de45bf1567 100644 --- a/tests/topotests/zebra_seg6local_route/r1/routes.json +++ b/tests/topotests/zebra_seg6local_route/r1/routes.json @@ -143,5 +143,30 @@ "seg6local": { "action": "End.DX6" } }] }] + }, + { + "in": { + "dest": "7::1", + "context": "End_DT4 10" + }, + "out":[{ + "prefix":"7::1/128", + "protocol":"sharp", + "selected":true, + "destSelected":true, + "distance":150, + "metric":0, + "installed":true, + "table":254, + "nexthops":[{ + "flags":3, + "fib":true, + "active":true, + "directlyConnected":true, + "interfaceName": "dum0", + "seg6local": { "action": "End.DT4" } + }] + }], + "required_kernel": "5.11" } ] -- 2.39.5