-
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.
Merge pull request #6154 from donaldsharp/check_interface_working
tests: Add a route-map test to ensure it accepts an unknown intf name
- Loading branch information
Showing
8 changed files
with
122 additions
and
0 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 |
---|---|---|
|
@@ -45,3 +45,6 @@ route-map bgp-map permit 20 | |
line vty | ||
! | ||
|
||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
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 |
---|---|---|
|
@@ -14,3 +14,6 @@ router ospf6 | |
! | ||
line vty | ||
! | ||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
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 |
---|---|---|
|
@@ -11,3 +11,6 @@ router ospf | |
! | ||
line vty | ||
! | ||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
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 |
---|---|---|
|
@@ -10,3 +10,6 @@ router rip | |
line vty | ||
! | ||
|
||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
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 |
---|---|---|
|
@@ -9,3 +9,6 @@ router ripng | |
line vty | ||
! | ||
|
||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
73 changes: 73 additions & 0 deletions
73
tests/topotests/all-protocol-startup/r1/show_route_map.ref
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,73 @@ | ||
ZEBRA: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
RIP: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
RIPNG: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
OSPF: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
OSPF6: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
BGP: | ||
route-map: LIES Invoked: 0 Optimization: enabled | ||
deny, sequence 10 Invoked 0 | ||
Match clauses: | ||
interface notpresent | ||
Set clauses: | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
route-map: bgp-map Invoked: 0 Optimization: enabled | ||
permit, sequence 10 Invoked 0 | ||
Match clauses: | ||
Set clauses: | ||
community 100:100 additive | ||
local-preference 100 | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
permit, sequence 20 Invoked 0 | ||
Match clauses: | ||
Set clauses: | ||
metric 10 | ||
local-preference 200 | ||
Call clause: | ||
Action: | ||
Exit routemap | ||
ISIS: | ||
SHARP: |
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 |
---|---|---|
|
@@ -109,3 +109,6 @@ ipv6 forwarding | |
line vty | ||
! | ||
|
||
route-map LIES deny 10 | ||
match interface notpresent | ||
! |
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