The `static_srv6_sids` topotest verifies that staticd correctly
programs the SIDs in the zebra RIB. Currently, the topotest only
validates the programmed behavior and SID attributes.
This commit extends the topotest to also validate the SID structure.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit
a6d02fe2fb38b8e0c2e1c25fd863f6f96c2c40a6)
"active": true,
"weight": 1,
"seg6local": {
- "action": "End"
+ "action": "End",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 0,
+ "argLen": 0
+ }
},
"seg6localContext": {
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT4"
+ "action": "End.DT4",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 10
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT6"
+ "action": "End.DT6",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 20
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT46"
+ "action": "End.DT46",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 30
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT4"
+ "action": "End.DT4",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 10
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT6"
+ "action": "End.DT6",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 20
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT46"
+ "action": "End.DT46",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 30
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT4"
+ "action": "End.DT4",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 10
"active": true,
"weight": 1,
"seg6local": {
- "action": "End.DT46"
+ "action": "End.DT46",
+ "sidStructure": {
+ "blockLen": 32,
+ "nodeLen": 16,
+ "funcLen": 16,
+ "argLen": 0
+ }
},
"seg6localContext": {
"table": 30