mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00

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>
166 lines
3 KiB
JSON
166 lines
3 KiB
JSON
{
|
|
"fcbb:bbbb:1::/48": [
|
|
{
|
|
"prefix": "fcbb:bbbb:1::/48",
|
|
"prefixLen": 48,
|
|
"protocol": "static",
|
|
"vrfId": 0,
|
|
"vrfName": "default",
|
|
"selected": true,
|
|
"destSelected": true,
|
|
"distance": 1,
|
|
"metric": 0,
|
|
"installed": true,
|
|
"table": 254,
|
|
"internalStatus": 16,
|
|
"internalFlags": 9,
|
|
"internalNextHopNum": 1,
|
|
"internalNextHopActiveNum": 1,
|
|
"nexthops": [
|
|
{
|
|
"flags": 3,
|
|
"fib": true,
|
|
"directlyConnected": true,
|
|
"interfaceName": "sr0",
|
|
"active": true,
|
|
"weight": 1,
|
|
"seg6local": {
|
|
"action": "End",
|
|
"sidStructure": {
|
|
"blockLen": 32,
|
|
"nodeLen": 16,
|
|
"funcLen": 0,
|
|
"argLen": 0
|
|
}
|
|
},
|
|
"seg6localContext": {
|
|
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"fcbb:bbbb:1:fe10::/64": [
|
|
{
|
|
"prefix": "fcbb:bbbb:1:fe10::/64",
|
|
"prefixLen": 64,
|
|
"protocol": "static",
|
|
"vrfId": 0,
|
|
"vrfName": "default",
|
|
"selected": true,
|
|
"destSelected": true,
|
|
"distance": 1,
|
|
"metric": 0,
|
|
"installed": true,
|
|
"table": 254,
|
|
"internalStatus": 16,
|
|
"internalFlags": 9,
|
|
"internalNextHopNum": 1,
|
|
"internalNextHopActiveNum": 1,
|
|
"nexthops": [
|
|
{
|
|
"flags": 3,
|
|
"fib": true,
|
|
"directlyConnected": true,
|
|
"interfaceName": "Vrf10",
|
|
"active": true,
|
|
"weight": 1,
|
|
"seg6local": {
|
|
"action": "End.DT4",
|
|
"sidStructure": {
|
|
"blockLen": 32,
|
|
"nodeLen": 16,
|
|
"funcLen": 16,
|
|
"argLen": 0
|
|
}
|
|
},
|
|
"seg6localContext": {
|
|
"table": 10
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"fcbb:bbbb:1:fe20::/64": [
|
|
{
|
|
"prefix": "fcbb:bbbb:1:fe20::/64",
|
|
"prefixLen": 64,
|
|
"protocol": "static",
|
|
"vrfId": 0,
|
|
"vrfName": "default",
|
|
"selected": true,
|
|
"destSelected": true,
|
|
"distance": 1,
|
|
"metric": 0,
|
|
"installed": true,
|
|
"table": 254,
|
|
"internalStatus": 16,
|
|
"internalFlags": 9,
|
|
"internalNextHopNum": 1,
|
|
"internalNextHopActiveNum": 1,
|
|
"nexthops": [
|
|
{
|
|
"flags": 3,
|
|
"fib": true,
|
|
"directlyConnected": true,
|
|
"interfaceName": "Vrf20",
|
|
"active": true,
|
|
"weight": 1,
|
|
"seg6local": {
|
|
"action": "End.DT6",
|
|
"sidStructure": {
|
|
"blockLen": 32,
|
|
"nodeLen": 16,
|
|
"funcLen": 16,
|
|
"argLen": 0
|
|
}
|
|
},
|
|
"seg6localContext": {
|
|
"table": 20
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"fcbb:bbbb:1:fe30::/64": [
|
|
{
|
|
"prefix": "fcbb:bbbb:1:fe30::/64",
|
|
"prefixLen": 64,
|
|
"protocol": "static",
|
|
"vrfId": 0,
|
|
"vrfName": "default",
|
|
"selected": true,
|
|
"destSelected": true,
|
|
"distance": 1,
|
|
"metric": 0,
|
|
"installed": true,
|
|
"table": 254,
|
|
"internalStatus": 16,
|
|
"internalFlags": 9,
|
|
"internalNextHopNum": 1,
|
|
"internalNextHopActiveNum": 1,
|
|
"nexthops": [
|
|
{
|
|
"flags": 3,
|
|
"fib": true,
|
|
"directlyConnected": true,
|
|
"interfaceName": "Vrf30",
|
|
"active": true,
|
|
"weight": 1,
|
|
"seg6local": {
|
|
"action": "End.DT46",
|
|
"sidStructure": {
|
|
"blockLen": 32,
|
|
"nodeLen": 16,
|
|
"funcLen": 16,
|
|
"argLen": 0
|
|
}
|
|
},
|
|
"seg6localContext": {
|
|
"table": 30
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |