-
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: add test case for kernel blackhole routes
The test verifies that a kernel blackhole route is not affected by interface's link change. Signed-off-by: anlan_cs <[email protected]> (cherry picked from commit 0073a87)
- Loading branch information
1 parent
3cb4dcd
commit ac1bd83
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
tests/topotests/zebra_multiple_connected/r1/ip_route_kernel_blackhole.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,24 @@ | ||
{ | ||
"0.0.0.0/0":[ | ||
{ | ||
"prefix":"0.0.0.0/0", | ||
"prefixLen":0, | ||
"protocol":"kernel", | ||
"vrfName":"default", | ||
"selected":true, | ||
"destSelected":true, | ||
"distance":0, | ||
"metric":0, | ||
"installed":true, | ||
"table":254, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"unreachable":true, | ||
"blackhole":true, | ||
"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