Add aruba_aoscx show lldp neighbor info - #2341
Open
Ardeck wants to merge 1 commit into
Open
Conversation
Ardeck
requested review from
itdependsnetworks,
jmcgill298,
jvanderaa,
matt852 and
mjbear
as code owners
July 30, 2026 15:22
Collaborator
|
@Ardeck Is there something that template doesn't provide that this one does? |
Contributor
Author
|
That should not be the case. However after some testing, I found some issue with the detail template when there are more than one entry on the interface. I should create a fix for this also but that would probably be breaking because entries would have to be moved to lists... That was not my intention when creating this template, as it is for convenience for some code downstreams but it still has some usage. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a new TextFSM template to support parsing
show lldp neighbor-infofor Aruba AOS-CX switches.Files Added / Modified
ntc_templates/templates/aruba_aoscx_show_lldp_neighbor_info.textfsmntc_templates/templates/indextests/aruba_aoscx/show_lldp_neighbor_info/aruba_aoscx_show_lldp_neighbor_info.rawtests/aruba_aoscx/show_lldp_neighbor_info/aruba_aoscx_show_lldp_neighbor_info.ymlExample CLI Output
Parsed Data Structure
[ { "local_port": "1/1/1", "chassis_id": "80:8d:b7:c7:33:ec", "port_id": "80:8d:b7:c7:33:ec", "port_desc": "bond0", "ttl": "120", "sys_name": "SwitchA" }, { "local_port": "1/1/5", "chassis_id": "192.168.202.193", "port_id": "38:25:17:ae:be:04", "port_desc": "1", "ttl": "120", "sys_name": "Polycom VVX 150" }, { "local_port": "1/1/9", "chassis_id": "FW", "port_id": "e5:b7:7a:f2:d2:66", "port_desc": "", "ttl": "3601", "sys_name": "" }, { "local_port": "1/1/49", "chassis_id": "44:5b:ed:94:23:00", "port_id": "1/5/20", "port_desc": "SwitchB", "ttl": "120", "sys_name": "SwitchB" } ]Verification
invoke gen-yaml-folder)poetry run pytest -k aruba_aoscx_show_lldp_neighbor_info(All tests pass)invoke yamllint black flake8)