genieparser
genieparser copied to clipboard
Updated source_template parser
Description
A bug is simply a situation we haven't thought of.
While parsing a "show run" for an interface, I hit the following line source template 802.1X_PORT_AUTH_TEMPLATE
that did not parse the source template attribute.
The current parser doesn't handle special characters in the templates' names.
Motivation and Context
Allow the parser to handle special characters in the templates' names.
Impact (If any)
Screenshots:
Checklist:
- [ ] I have updated the changelog.
- [ ] I have updated the documentation (If applicable).
- [ ] I have added tests to cover my changes (If applicable).
- [ ] All new and existing tests passed.
- [ ] All new code passed compilation.
Regex is still a mystery I haven’t solved. I have no doubt my pattern can be improved.
Can you please add changelog
Sure. You've got it.
Anything else?
Anything else?
You haven't provided a folder based unit test that covers this change