napalm-automation-community / napalm-arubaos-switch

NAPALM driver for ArubaOS-Switch
MIT License
16 stars 9 forks source link

Return PortDescr at get_lldp_neighbors #19

Open sebastiaanvduijn opened 2 years ago

sebastiaanvduijn commented 2 years ago

Expected Behavior

get_lldp_neighbors needs to return PortDescr attribute instead of PortId, currenlty the PortID is returned which does not match in cases the switch is stacked.

Actual Behavior

Returns interface 3 instead of 1/3 for example.

Steps to Reproduce the Problem

  1. Run get_lldp_neighbors
  2. the output is the portid which should be the portdescr

Specifications

flohoff commented 1 year ago

I reported an issue against Netbox as in the table i only see the port id, not its name. It has been closed saying that its a NAPALM issue:

https://github.com/netbox-community/netbox/issues/11196