-
Notifications
You must be signed in to change notification settings - Fork 723
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
Issue 1556 proposed fix #1562
Issue 1556 proposed fix #1562
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.
Looking good, just looking to be a bit more explicit on a few things as we chatted some.
Value PART (\S+) | ||
Value SERIAL (\S+) | ||
Value DESCRIPTION (\S+) | ||
Value CHASSIS_SN (\w+) |
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.
Value CHASSIS_SN (\w+) | |
Value CHASSIS_SERIAL_NUMBER (\w+) |
Value SERIAL (\S+) | ||
Value DESCRIPTION (\S+) | ||
Value CHASSIS_SN (\w+) | ||
Value CHASSIS_DESC (.*) |
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.
Value CHASSIS_DESC (.*) | |
Value CHASSIS_DESCRIPTION (.*) |
I have unabbreviated the value names as requested to make the results more explicit. Please review the latest commit for these changes. |
Tests have failed because I forgot to update the names in the test files. I will update the test files and commit. |
Updated juniper_junos_show_chassis_hardware.textfsm and associated test files as proposed fix for issue 1556. With the updates the parsed output contains all item numbers, version number, part numbers, serial numbers, and description for each item listed in the test file command output.