tests: Add json to verify rt1 vrf10 rib

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
Carmine Scarpitta 2024-09-06 22:45:21 +02:00
parent 89b3886429
commit cb968ad782

View File

@ -0,0 +1,86 @@
{
"2001:1::/64": [
{
"prefix": "2001:1::/64",
"protocol": "connected",
"vrfName": "vrf10",
"selected": true,
"destSelected": true,
"distance": 0,
"metric": 0,
"installed": true,
"table": 10,
"internalStatus": 16,
"internalFlags": 8,
"internalNextHopNum": 1,
"internalNextHopActiveNum": 1,
"nexthops": [
{
"flags": 3,
"fib": true,
"directlyConnected": true,
"interfaceName": "eth-ce1",
"active": true
}
]
}
],
"2001:2::/64": [
{
"prefix": "2001:2::/64",
"protocol": "bgp",
"vrfName": "vrf10",
"selected": true,
"destSelected": true,
"distance": 20,
"metric": 0,
"installed": true,
"table": 10,
"internalStatus": 16,
"internalFlags": 9,
"internalNextHopNum": 3,
"internalNextHopActiveNum": 3,
"nexthops": [
{
"flags": 3,
"fib": true,
"afi": "ipv6",
"interfaceName": "eth-sw1",
"vrf": "default",
"active": true,
"weight": 1,
"seg6": {
"segs": "fc00:0:6:fe00::"
}
}
],
"asPath": "6"
}
],
"2001:3::/64": [
{
"prefix": "2001:3::/64",
"protocol": "connected",
"vrfName": "vrf10",
"selected": true,
"destSelected": true,
"distance": 0,
"metric": 0,
"installed": true,
"table": 10,
"internalStatus": 16,
"internalFlags": 8,
"internalNextHopNum": 1,
"internalNextHopActiveNum": 1,
"nexthops": [
{
"flags": 3,
"fib": true,
"directlyConnected": true,
"interfaceName": "eth-ce3",
"active": true
}
]
}
]
}