mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
tests: Add json to verify rt5 ip routes
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
f5d8c37f0d
commit
7b156dd2c9
296
tests/topotests/srv6_sid_manager/rt5/show_ip_route.ref
Normal file
296
tests/topotests/srv6_sid_manager/rt5/show_ip_route.ref
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"1.1.1.1\/32":[
|
||||||
|
{
|
||||||
|
"prefix":"1.1.1.1\/32",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":30,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"2.2.2.2\/32":[
|
||||||
|
{
|
||||||
|
"prefix":"2.2.2.2\/32",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":30,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"3.3.3.3\/32":[
|
||||||
|
{
|
||||||
|
"prefix":"3.3.3.3\/32",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"4.4.4.4\/32":[
|
||||||
|
{
|
||||||
|
"prefix":"4.4.4.4\/32",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"6.6.6.6\/32":[
|
||||||
|
{
|
||||||
|
"prefix":"6.6.6.6\/32",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.8.6",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt6",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.1.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.1.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.2.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.2.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.3.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.3.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.4.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.4.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.5.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.5.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"ip":"10.0.4.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-1",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ip":"10.0.5.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt3-2"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.6.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.6.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.7.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.7.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"selected":true,
|
||||||
|
"destSelected":true,
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"installed":true,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.6.4",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt4",
|
||||||
|
"active":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.8.6",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt6",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"10.0.8.0\/24":[
|
||||||
|
{
|
||||||
|
"prefix":"10.0.8.0\/24",
|
||||||
|
"protocol":"isis",
|
||||||
|
"distance":115,
|
||||||
|
"metric":20,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"ip":"10.0.8.6",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"eth-rt6"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user