Skip to content

Add Port Access CDP/LLDP device classification group classes - #113

Open
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/port-access-device-groups
Open

Add Port Access CDP/LLDP device classification group classes#113
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/port-access-device-groups

Conversation

@ed6869

@ed6869 ed6869 commented Jun 30, 2026

Copy link
Copy Markdown

Summary

Adds PortAccessCdpGroup and PortAccessLldpGroup (and their entry classes) to manage the Port Access device classification groups exposed by the AOS-CX REST API:

  • system/port_access_cdp_groups / {name}/entries/{sequence_number}
  • system/port_access_lldp_groups / {name}/entries/{sequence_number}

Each group is a container indexed by name with an entries sub-collection indexed by sequence_number, holding only device-classification match fields (no traffic-class reference, no action set):

  • CDP entry: platform, software_version, voice_vlan_query_value
  • LLDP entry: system_description, system_name, vendor_oui, vendor_oui_subtype

The classes are self-contained (only depend on PyaoscxModule) and registered in api.py.

Testing

Validated live on a CX6300 (FL.10.17, REST latest): create, idempotency, per-entry update and delete of both CDP and LLDP groups, including their entries.

Fixes #112

Companion collection PR: aruba/aoscx-ansible-collection#221

Add PortAccessCdpGroup and PortAccessLldpGroup (with their entry classes)
to manage system/port_access_cdp_groups and system/port_access_lldp_groups.
Each group is a container indexed by name with an entries sub-collection
indexed by sequence_number holding device-classification match fields
(CDP: platform, software_version, voice_vlan_query_value; LLDP:
system_description, system_name, vendor_oui, vendor_oui_subtype).

Fixes aruba#112

Signed-off-by: ed6869 <ed6869@mail.com>
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.

Add SDK classes for Port Access CDP/LLDP device classification groups

1 participant