-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test table ID move to a VRF and the removal of the VRF. Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information
1 parent
6eed208
commit 48fcd48
Showing
5 changed files
with
222 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"0.0.0.0/0": [ | ||
{ | ||
"protocol": "kernel", | ||
"vrfName": "default", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"unreachable": true, | ||
"blackhole": true, | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"10.2.0.0/24": null, | ||
"10.3.0.0/24": null, | ||
"192.168.210.0/24": null, | ||
"192.168.210.1/32": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blackhole default |
82 changes: 82 additions & 0 deletions
82
tests/topotests/zebra_rib/r1/v4_route_table_1_vrf_red.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"0.0.0.0/0": [ | ||
{ | ||
"protocol": "kernel", | ||
"vrfName": "RED", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"unreachable": true, | ||
"blackhole": true, | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"10.2.0.0/24": [ | ||
{ | ||
"protocol": "static", | ||
"vrfName": "RED", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"ip": "192.168.210.254", | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"10.3.0.0/24": [ | ||
{ | ||
"protocol": "static", | ||
"vrfName": "RED", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"ip": "192.168.212.254", | ||
"interfaceName": "r1-eth2", | ||
"vrf": "default", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"192.168.210.0/24": [ | ||
{ | ||
"protocol": "connected", | ||
"vrfName": "RED", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"directlyConnected": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"192.168.210.1/32": [ | ||
{ | ||
"protocol": "local", | ||
"vrfName": "RED", | ||
"installed": true, | ||
"table": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
blackhole default | ||
10.2.0.0/24 via 192.168.210.254 dev r1-eth0 proto XXXX metric 20 | ||
10.3.0.0/24 via 192.168.212.254 dev r1-eth2 proto XXXX metric 20 | ||
192.168.210.0/24 dev r1-eth0 proto XXXX scope link src 192.168.210.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters