Skip to content

Comments

feat(hp_procurve): add show lldp info local-device template#2284

Open
molhamalnasr wants to merge 1 commit intonetworktocode:masterfrom
molhamalnasr:feat/hp_procurve-show-lldp-info-local-device
Open

feat(hp_procurve): add show lldp info local-device template#2284
molhamalnasr wants to merge 1 commit intonetworktocode:masterfrom
molhamalnasr:feat/hp_procurve-show-lldp-info-local-device

Conversation

@molhamalnasr
Copy link

@molhamalnasr molhamalnasr commented Feb 15, 2026

Environment

  • ntc-templates version: 8.1.0

Proposed Functionality

Add a new TextFSM template hp_procurve_show_lldp_info_local-device.textfsm for parsing the output of show lldp info local-device on HP ProCurve / Aruba AOS-S switches.

The template captures both the device header information and the per-port LLDP table:

  • Header (Filldown): CHASSIS_TYPE, CHASSIS_ID, SYSTEM_NAME, DESCRIPTION, CAPABILITIES_SUPPORTED, CAPABILITIES, MGMT_TYPE, MGMT_ADDRESS
  • Port table: LOCAL_INTERFACE, PORT_TYPE, PORT_ID, PORT_DESCRIPTION

Changes included:

  • New hp_procurve_show_lldp_info_local-device.textfsm template
  • Updated index file with new entry
  • Test data for VSF stacked switch (member/port format)
  • Test data for standalone switch (simple port format)

Use Case

The Nautobot Device Onboarding plugin runs the "Sync Devices from Network" job, which requires the output of show lldp info local-device for HP ProCurve / Aruba AOS-S switches. Without a template to parse this command, the job fails during onboarding. This template enables successful device onboarding for anyone using HP ProCurve switches with Nautobot.

Add new TextFSM template for parsing show lldp info local-device output on HP ProCurve / Aruba AOS-S switches. The template captures both the device header information and the per-port LLDP table.

Add new TextFSM template for parsing `show lldp info local-device`
output on HP ProCurve / Aruba AOS-S switches. The template captures
both the device header information and the per-port LLDP table.

Values captured:
- Header (Filldown): CHASSIS_TYPE, CHASSIS_ID, SYSTEM_NAME,
  DESCRIPTION, CAPABILITIES_SUPPORTED, CAPABILITIES, MGMT_TYPE,
  MGMT_ADDRESS
- Port table: LOCAL_INTERFACE, PORT_TYPE, PORT_ID, PORT_DESCRIPTION

Changes:
- Add hp_procurve_show_lldp_info_local-device.textfsm template
- Update index file with new entry
- Add test data for VSF stacked switch (member/port format)
- Add test data for standalone switch (simple port format)
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