-
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
New Template Pull Request - cisco_xr_show_interfaces_summary #580
Conversation
ios xr - show interfaces summary
ios xr - show interfaces summary
- Index file chaged - Change the template structure (more generic) - Generation of yml file. (I did tests with my own code and the tempalte is working. But the generation with "python3 development_scripts.py -c tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.raw" was not generating entries inside of the yml. - The tox command was returning some errors not related with the new template.
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.
Just a few suggestions, but we appreciate the new template!
tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml
Outdated
Show resolved
Hide resolved
- Changed ALL_TYPES value for INTF_TYPE value - Add some new validations
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.
Aproved some required changes on the template. I will keep the "hard coded" validation for the interface types because this is the expected output as I saw in other templates related with status of the interfaces.
I am using the templates here, just giving back 👍
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.
Most of the changes were accepted
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.
Index corrected.
@hijm I believe you need to update tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml with the expected parsed data. |
Thank you. |
ISSUE TYPE
COMPONENT
SUMMARY
Here the output for the new cisco_xr_show_interfaces_summary.textfsm
Here the output using the same python script against existing "cisco_xr_show_interface_brief.textfsm"
tox.log