Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

XR SHOW HSRP: Add new template #350

Merged
merged 3 commits into from
Feb 23, 2019
Merged

XR SHOW HSRP: Add new template #350

merged 3 commits into from
Feb 23, 2019

Conversation

jmcgill298
Copy link
Contributor

ISSUE TYPE
  • New Template Pull Request
COMPONENT

cisco_xr_show_hsrp

SUMMARY

Add new template


@jmcgill298
Copy link
Contributor Author

@rbeumer can you verify this works in your environment? I add a test file I found on the internet.

Updates I made to your template:

  • Added capture group fro preempt and change regex line to accept preempt being enabled/disabled
  • Changed the addr captures to capture continues non-whitespace characters:
    • Allows for local to be in either "active" or "standby" positions
    • Allows for IPv6 capturing
  • Capture all known lines of data, and record an error if a line is not matched

@jmcgill298 jmcgill298 merged commit 30e1f6d into master Feb 23, 2019
@jmcgill298 jmcgill298 deleted the xr_hsrp branch February 23, 2019 17:02
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants