Skip to content

C9400 Show Environment All #947

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aknopper
Copy link

@aknopper aknopper commented Jun 4, 2025

Description

For C9400s, "show environment all" recognizes the slot field of the Environmental Monitoring table as a capital letter followed by a number or two digits separated by a slash (/).

Motivation and Context

This does not parse on C9400s due to regex used for "slot" (changed to location to match verbiage), but for locations such as "Chassis1-R0" or "Chassis2-3/0", they were not recognized.

Impact (If any)

Can now parse 'show environment all' on C9400s where could not before.

Screenshots:

Checklist:

  • [ x] I have updated the changelog.
  • [ x ] I have updated the documentation (If applicable).
  • [ x] I have added tests to cover my changes (If applicable).
  • [ x] All new and existing tests passed.
  • [ x] All new code passed compilation.

@aknopper aknopper requested a review from a team as a code owner June 4, 2025 18:20
@aknopper aknopper requested review from lsheikal and omehrabi June 4, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant