-
Notifications
You must be signed in to change notification settings - Fork 739
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
Adding support for avaya_ers_show_logging_config command #301
Adding support for avaya_ers_show_logging_config command #301
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that you are just capturing the text after :
, so this can be simplified to just use (.+?)
for the capture group and mark the end of the line \s*$$
New templates require raising errors for raw lines that are not parsed so we can ensure we know we have parsed the data correctly; my suggestions have also included this.
I am also not sure what Done
is doing at the end of the template file; can you please inform us how that is being used?
Co-Authored-By: kadecole <[email protected]>
Thanks for the code review. I have updated the PR with some of the changes requested. I based this template off previous templates and they showed Done on the last line of the file. If this Done is not needed I will remove. Also for the other code review suggestions, I am matching on what should be returned. There should only be two options for the text returning in those fields. |
I still think it is safer to use |
I have updated from your suggestions. Please review and merge when possible. Thanks. |
* Initial Commit * Apply suggestions from code review Co-Authored-By: kadecole <[email protected]> * Updates from code review
ISSUE TYPE
COMPONENT
avaya_ers_show_logging_config
SUMMARY
Adding new template for Avaya ERS for show logging config command