Commit b0ff506fc7 for frr
commit b0ff506fc773010cdcb9849fea0f21c08766872f
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date: Thu Sep 3 11:54:37 2026 +0200
tests: Verify advertised uN and uA SID structures
Check the SRv6 SID structures decoded from the IS-IS database.
Verify that uN and uA SIDs advertise the expected locator, node,
function, and argument lengths.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
diff --git a/tests/topotests/isis_srv6_topo1/rt2/step1/show_isis_database_detail.ref b/tests/topotests/isis_srv6_topo1/rt2/step1/show_isis_database_detail.ref
index 98b7d94ced..87011ada85 100644
--- a/tests/topotests/isis_srv6_topo1/rt2/step1/show_isis_database_detail.ref
+++ b/tests/topotests/isis_srv6_topo1/rt2/step1/show_isis_database_detail.ref
@@ -10,10 +10,33 @@
"subtlvs":{
"srv6EndSid":{
"sidValue":"fc00:0:1::",
- "endpointBehavior":"uN PSP"
+ "endpointBehavior":"uN PSP",
+ "subsubtlvs":{
+ "srv6SidStructure":{
+ "locBlockLen":32,
+ "locNodeLen":16,
+ "funcLen":0,
+ "argLen":0
+ }
+ }
}
}
- }
+ },
+ "extReach":[
+ {
+ "srv6LanEndxSID":[
+ {
+ "behavior":"uA",
+ "srv6SidStructure":{
+ "locBlockLen":32,
+ "locNodeLen":16,
+ "funcLen":16,
+ "argLen":0
+ }
+ }
+ ]
+ }
+ ]
}
]
}