genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

C9400 Show Environment All

Open aknopper opened this issue 8 months ago • 0 comments

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 avatar Jun 04 '25 18:06 aknopper