Skip to content
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

Merged
merged 3 commits into from
Feb 22, 2024
Merged

Conversation

collin-wicker
Copy link
Contributor

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.

Copy link
Contributor

@jvanderaa jvanderaa left a 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+)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Value CHASSIS_SN (\w+)
Value CHASSIS_SERIAL_NUMBER (\w+)

Value SERIAL (\S+)
Value DESCRIPTION (\S+)
Value CHASSIS_SN (\w+)
Value CHASSIS_DESC (.*)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Value CHASSIS_DESC (.*)
Value CHASSIS_DESCRIPTION (.*)

@collin-wicker
Copy link
Contributor Author

I have unabbreviated the value names as requested to make the results more explicit. Please review the latest commit for these changes.

@collin-wicker
Copy link
Contributor Author

Tests have failed because I forgot to update the names in the test files. I will update the test files and commit.

@jvanderaa jvanderaa merged commit 911b942 into networktocode:master Feb 22, 2024
14 checks passed
@collin-wicker collin-wicker deleted the issue_1556_fix branch February 26, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants