Skip to content

Commit

Permalink
tests: add mgmt_oper topotest
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Dec 27, 2023
1 parent 584b4ff commit a8359a1
Show file tree
Hide file tree
Showing 28 changed files with 8,072 additions and 0 deletions.
576 changes: 576 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-default.json

Large diffs are not rendered by default.

1,145 changes: 1,145 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-nokey.json

Large diffs are not rendered by default.

576 changes: 576 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-red.json

Large diffs are not rendered by default.

572 changes: 572 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-zebra-ribs.json

Large diffs are not rendered by default.

572 changes: 572 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-zebra.json

Large diffs are not rendered by default.

1,145 changes: 1,145 additions & 0 deletions tests/topotests/mgmt_oper/oper-results/result-lib.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"frr-vrf:lib": {
"vrf": [
{
"name": "default",
"frr-zebra:zebra": {
"ribs": {
"rib": [
{
"afi-safi-name": "frr-routing:ipv4-unicast",
"table-id": 254,
"route": [
{
"prefix": "0.0.0.0/0"
},
{
"prefix": "1.1.1.0/24",
"route-entry": [
{
"protocol": "connected",
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ifindex",
"vrf": "rubout",
"gateway": "",
"interface": "r1-eth0",
"active": [null],
"fib": [null]
}
]
}
}
]
},
{
"prefix": "1.1.1.1/32",
"route-entry": [
{
"protocol": "local",
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ifindex",
"vrf": "rubout",
"gateway": "",
"interface": "r1-eth0",
"active": [null],
"fib": [null]
}
]
}
}
]
},
{
"prefix": "2.2.2.0/24",
"route-entry": [
{
"protocol": "connected",
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ifindex",
"vrf": "rubout",
"gateway": "",
"interface": "r1-eth1",
"active": [null],
"fib": [null]
}
]
}
}
]
},
{
"prefix": "2.2.2.1/32",
"route-entry": [
{
"protocol": "local",
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ifindex",
"vrf": "rubout",
"gateway": "",
"interface": "r1-eth1",
"active": [null],
"fib": [null]
}
]
}
}
]
},
{
"prefix": "11.0.0.0/8",
"route-entry": [
{
"protocol": "static",
"distance": 1,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 73,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "blackhole",
"vrf": "rubout",
"gateway": "",
"interface": " ",
"bh-type": "null",
"active": [null],
"fib": [null],
"weight": 1
}
]
}
}
]
},
{
"prefix": "11.11.11.11/32",
"route-entry": [
{
"protocol": "static",
"distance": 1,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 73,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ip4-ifindex",
"vrf": "rubout",
"gateway": "1.1.1.2",
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight": 1
}
]
}
}
]
},
{
"prefix": "12.12.12.12/32",
"route-entry": [
{
"protocol": "static",
"distance": 1,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 73,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
"nexthop": [
{
"nh-type": "ip4-ifindex",
"vrf": "rubout",
"gateway": "2.2.2.2",
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight": 1
}
]
}
}
]
}
]
}
]
}
}
}
]
}
}

Loading

0 comments on commit a8359a1

Please sign in to comment.