diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2024-09-22 07:35:44 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2024-09-22 07:40:50 +0200 |
| commit | 31376097fcbeb89a201cda520f0c6c4b98b74c22 (patch) | |
| tree | 34b0368fef64133f30c2195bef40b611ab3db0e1 | |
| parent | a158a561b8401662a8a6d31ea872606d39db9473 (diff) | |
tests: Add testcase for SRv6 End.DX6
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
| -rw-r--r-- | tests/topotests/zebra_seg6local_route/r1/routes.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/topotests/zebra_seg6local_route/r1/routes.json b/tests/topotests/zebra_seg6local_route/r1/routes.json index e391922566..baa2ca7a14 100644 --- a/tests/topotests/zebra_seg6local_route/r1/routes.json +++ b/tests/topotests/zebra_seg6local_route/r1/routes.json @@ -119,5 +119,29 @@ }] }], "required_kernel": "5.14" + }, + { + "in": { + "dest": "6::1", + "context": "End_DX6 2001::1" + }, + "out":[{ + "prefix":"6::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.DX6" } + }] + }] } ] |
