forked from Mirror/frr
tests: Extend SRv6 static SIDs topotest to verify SID structure
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>
This commit is contained in:
parent
312f7b3f8c
commit
a6d02fe2fb
|
@ -25,7 +25,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End"
|
"action": "End",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 0,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
|
|
||||||
|
@ -60,7 +66,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT4"
|
"action": "End.DT4",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 10
|
"table": 10
|
||||||
|
@ -95,7 +107,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT6"
|
"action": "End.DT6",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 20
|
"table": 20
|
||||||
|
@ -130,7 +148,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT46"
|
"action": "End.DT46",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 30
|
"table": 30
|
||||||
|
|
|
@ -25,7 +25,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT4"
|
"action": "End.DT4",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 10
|
"table": 10
|
||||||
|
@ -60,7 +66,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT6"
|
"action": "End.DT6",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 20
|
"table": 20
|
||||||
|
@ -95,7 +107,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT46"
|
"action": "End.DT46",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 30
|
"table": 30
|
||||||
|
|
|
@ -25,7 +25,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT4"
|
"action": "End.DT4",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 10
|
"table": 10
|
||||||
|
@ -60,7 +66,13 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
"seg6local": {
|
"seg6local": {
|
||||||
"action": "End.DT46"
|
"action": "End.DT46",
|
||||||
|
"sidStructure": {
|
||||||
|
"blockLen": 32,
|
||||||
|
"nodeLen": 16,
|
||||||
|
"funcLen": 16,
|
||||||
|
"argLen": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"seg6localContext": {
|
"seg6localContext": {
|
||||||
"table": 30
|
"table": 30
|
||||||
|
|
Loading…
Reference in a new issue