-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cisco: handle vrf declared in address-family line (#5157)
And fix a re-entrant bug in vrf block, and add test/update existing ref test.
- Loading branch information
Showing
4 changed files
with
95 additions
and
13 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
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
13 changes: 13 additions & 0 deletions
13
...ts/batfish/src/test/resources/org/batfish/grammar/cisco/testconfigs/ios-bgp-reentrant-vrf
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,13 @@ | ||
! | ||
hostname ios-bgp-reentrant-vrf | ||
! | ||
router bgp 1 | ||
! | ||
vrf a | ||
local-as 5 | ||
router-id 1.2.3.4 | ||
! | ||
router bgp 1 | ||
vrf a | ||
router-id 1.2.3.5 | ||
! |
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