Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOS-XR interface ipv4/6 address parsing (#6899)
- update ipv4 address parsing for XR syntax - parse and ignore ipv6 address
- Loading branch information
Showing
6 changed files
with
103 additions
and
77 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
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
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
15 changes: 15 additions & 0 deletions
15
.../batfish/src/test/resources/org/batfish/grammar/cisco_xr/testconfigs/xr-interface-address
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,15 @@ | ||
!RANCID-CONTENT-TYPE: cisco-xr | ||
! | ||
hostname xr-interface-address | ||
! | ||
|
||
interface GigabitEthernet0/0/0/0 | ||
ipv4 address 10.0.0.1/31 | ||
ipv4 address 10.0.0.3 255.255.255.254 secondary | ||
ipv4 address 10.0.0.5 255.255.255.254 secondary route-tag 5 | ||
|
||
ipv6 address dead:beef::1/126 | ||
ipv6 address deee:beef::1 127 | ||
ipv6 address beee:beef::1/64 route-tag 5 | ||
ipv6 address 2::3 link-local | ||
! |