Commit 42f03009cb for frr

commit 42f03009cb944c0b879c9ee2b0cc9a2b40d2a1a2
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date:   Thu Sep 3 14:25:13 2026 +0200

    tests: Verify IS-IS SRv6 SID structure context

    Extend the existing IS-IS SRv6 IPv6 route fixtures to verify SID
    structure fields for uN and uA SIDs.

    Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>

diff --git a/tests/topotests/isis_srv6_topo1/rt1/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt1/step1/show_ipv6_route.ref
index e53b28cd1c..3899493ff2 100644
--- a/tests/topotests/isis_srv6_topo1/rt1/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt1/step1/show_ipv6_route.ref
@@ -217,7 +217,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -242,7 +248,13 @@
           "interfaceName":"eth-sw1",
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -264,7 +276,13 @@
           "interfaceName":"eth-sw1",
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
diff --git a/tests/topotests/isis_srv6_topo1/rt2/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt2/step1/show_ipv6_route.ref
index 8f8a28c390..fb6c69e889 100644
--- a/tests/topotests/isis_srv6_topo1/rt2/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt2/step1/show_ipv6_route.ref
@@ -253,7 +253,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -277,7 +283,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -298,7 +310,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -319,7 +337,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -340,7 +364,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
diff --git a/tests/topotests/isis_srv6_topo1/rt3/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt3/step1/show_ipv6_route.ref
index 88a35b72da..0f01d855fc 100644
--- a/tests/topotests/isis_srv6_topo1/rt3/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt3/step1/show_ipv6_route.ref
@@ -253,7 +253,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -277,7 +283,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -298,7 +310,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -319,7 +337,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -340,7 +364,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
diff --git a/tests/topotests/isis_srv6_topo1/rt4/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt4/step1/show_ipv6_route.ref
index 49932a1f18..4b6939bb35 100644
--- a/tests/topotests/isis_srv6_topo1/rt4/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt4/step1/show_ipv6_route.ref
@@ -253,7 +253,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -277,7 +283,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -298,7 +310,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -319,7 +337,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -340,7 +364,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
diff --git a/tests/topotests/isis_srv6_topo1/rt5/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt5/step1/show_ipv6_route.ref
index 7d7a75a053..016112a1c8 100644
--- a/tests/topotests/isis_srv6_topo1/rt5/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt5/step1/show_ipv6_route.ref
@@ -253,7 +253,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -277,7 +283,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -298,7 +310,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -319,7 +337,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -340,7 +364,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
diff --git a/tests/topotests/isis_srv6_topo1/rt6/step1/show_ipv6_route.ref b/tests/topotests/isis_srv6_topo1/rt6/step1/show_ipv6_route.ref
index 80a54dffae..a1db98eaa0 100644
--- a/tests/topotests/isis_srv6_topo1/rt6/step1/show_ipv6_route.ref
+++ b/tests/topotests/isis_srv6_topo1/rt6/step1/show_ipv6_route.ref
@@ -217,7 +217,13 @@
           "interfaceName":"sr0",
           "active":true,
           "seg6local":{
-            "action":"uN"
+            "action":"uN",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":0,
+              "argLen":0
+            }
           },
           "seg6localContext":{
             "flavors":["psp"]
@@ -241,7 +247,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]
@@ -262,7 +274,13 @@
           "directlyConnected":true,
           "active":true,
           "seg6local":{
-            "action":"uA"
+            "action":"uA",
+            "sidStructure":{
+              "blockLen":32,
+              "nodeLen":16,
+              "funcLen":16,
+              "argLen":0
+            }
           }
         }
       ]