-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cisco_xr_show_interfaces.template line 4 regex incorrect #280
Comments
jmcgill298
added a commit
to jmcgill298/ntc-templates
that referenced
this issue
Oct 26, 2018
jmcgill298
added a commit
to jmcgill298/ntc-templates
that referenced
this issue
Oct 26, 2018
jmcgill298
added a commit
that referenced
this issue
Oct 26, 2018
XR_SHOW_INTF: Correct capturing of IP Address info - Fixes #280
jvanderaa
pushed a commit
that referenced
this issue
Nov 10, 2021
jvanderaa
pushed a commit
that referenced
this issue
Nov 10, 2021
XR_SHOW_INTF: Correct capturing of IP Address info - Fixes #280
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
The current regex for Value IP_ADDRESS tries to match address with a capital A. In the below line
Internet address is 172.16.1.0/31
I have checked XR verison 4.x, 5.x and 6.x. All versions currently use address with lowercase a.
STEPS TO REPRODUCE
Using the current template produces no results.
EXPECTED RESULTS
Changing the regex to instead look for a lowercase will fix this issue. example below.
Current
^\s+Internet\s+Address\s+is\s+${IP_ADDRESS}
Purposed
^\s+Internet\s+address\s+is\s+${IP_ADDRESS}
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: