-
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.
tests: fix and adjust topotest/bgp_aigp
When there are multiple IGP domains (OSPF in this case), the nexthop for a BGP route with the AIGP attribute must be resolved to its own IGP domain. Fix the nexthop setting in topotest/bgp_aigp, and also adjust the test to refelct the correct IGP metric (post the fix for IGP metric calculation for recursive nexthops in NHT). Signed-off-by: Enke Chen <[email protected]>
- Loading branch information
1 parent
6b9e141
commit a14ca6f
Showing
10 changed files
with
64 additions
and
34 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r1-eth0 | ||
ip ospf dead-interval 4 | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r2-eth0 | ||
ip ospf dead-interval 4 | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r3-eth0 | ||
ip ospf dead-interval 4 | ||
|
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r4-eth1 | ||
ip ospf dead-interval 4 | ||
|
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r5-eth1 | ||
ip ospf dead-interval 4 | ||
|
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
! | ||
interface lo | ||
ip ospf cost 10 | ||
ip ospf passive | ||
! | ||
interface r6-eth0 | ||
ip ospf dead-interval 4 | ||
|
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