Skip to content

fix(hp_procurve): add VSF stacking support to show system template #2282#2283

Open
molhamalnasr wants to merge 3 commits intonetworktocode:masterfrom
molhamalnasr:fix/hp_procurve-show-system-vsf
Open

fix(hp_procurve): add VSF stacking support to show system template #2282#2283
molhamalnasr wants to merge 3 commits intonetworktocode:masterfrom
molhamalnasr:fix/hp_procurve-show-system-vsf

Conversation

@molhamalnasr
Copy link

The hp_procurve_show_system template fails to parse output from switches running in VSF (Virtual Switching Framework) mode. In VSF mode, the output splits into per-member sections with a different field layout than standalone switches.

Changes:

  • Add Filldown to shared fields (NAME, CONTACT, LOCATION, etc.)
  • Add MEMBER_ID value to identify VSF members
  • Add split-line matching for Software revision and Base MAC Addr
  • Add VSF state to capture per-member fields (ROM, serial, MAC, etc.)
  • Add Required on ROM_VERSION to filter empty EOF records
  • Add VSF test data with 2-member stack output
  • Update existing standalone test data with new member_id field

Fixes #2282

…etworktocode#2282)

The hp_procurve_show_system template fails to parse output from switches
running in VSF (Virtual Switching Framework) mode. In VSF mode, the
output splits into per-member sections with a different field layout
than standalone switches.

Changes:
- Add Filldown to shared fields (NAME, CONTACT, LOCATION, etc.)
- Add MEMBER_ID value to identify VSF members
- Add split-line matching for Software revision and Base MAC Addr
- Add VSF state to capture per-member fields (ROM, serial, MAC, etc.)
- Add Required on ROM_VERSION to filter empty EOF records
- Add VSF test data with 2-member stack output
- Update existing standalone test data with new member_id field

Fixes networktocode#2282
mjbear added 2 commits March 11, 2026 20:28
Consolidate/simplify since there isn't an operational advantage to the
extra state.
@mjbear
Copy link
Collaborator

mjbear commented Mar 12, 2026

Good work @molhamalnasr.
I made a few polishing changes similar to the other Procurve PR (#2284).

I'm on the fence whether it's worth replacing the single literal spaces with a white space regex \s+ for future proofing (while we're already touching this template). (Certainly the downside is that version control history will show a bunch more lines that are updated.)

Let us know your thoughts.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hp_procurve: show system template fails on Aruba 2930F with VSF stacking

2 participants