tests: Add json to verify rt6 vrf10 rib

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
Carmine Scarpitta 2024-09-06 22:56:09 +02:00
parent 379dacdbe3
commit ac89710bc4

View File

@ -0,0 +1,92 @@
{
"2001:1::/64": [
{
"prefix": "2001:1::/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-rt5",
"vrf": "default",
"active": true,
"weight": 1,
"seg6": {
"segs": "fc00:0:1:fe00::"
}
}
],
"asPath": "1"
}
],
"2001:2::/64": [
{
"prefix": "2001:2::/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-ce2",
"active": true
}
]
}
],
"2001:3::/64": [
{
"prefix": "2001:3::/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-rt5",
"vrf": "default",
"active": true,
"weight": 1,
"seg6": {
"segs": "fc00:0:1:fe00::"
}
}
],
"asPath": "1"
}
]
}