-
Notifications
You must be signed in to change notification settings - Fork 767
Fix cisco_nxos_show_hsrp_all for initial state #2107
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
Conversation
Updated HSRP_ROUTER_STATE regex to handle following state string (existing fails on the space): Initial(Interface Down)
We also need test data added to this PR. Do not replace the existing test data, add a new file. As long as you put the raw data in the correct spot, you can use helper scripts to generate the structured data (yaml). The test data is necessary so that we can make sure the template is backwards compatible in the future when more changes are needed. 🎯 Please respond back if there are any questions. Thank you! |
@betrunkenaffe See my previous comment for some guidance. Thank you! |
@betrunkenaffe You're welcome to add more test data should you have anything different. |
Updated HSRP_ROUTER_STATE regex to handle following state string (existing fails on the space):
Initial(Interface Down)
Alternative regex was (\S+\s?\S*) if this is too specific