LLDP: several neighbours on one port collapse into one #9

Open
opened 2026-10-14 08:58:50 +00:00 by christianmanivong · 0 comments
Owner

lldp_mixin.py ~88-95 groups lldpctl -f keyvalue lines with entries.setdefault(iface, {})[subkey] = value, keyed by interface only. With several neighbours on one port (a dumb switch behind it, a phone with a PC) the keys repeat and all but the last neighbour are lost. To confirm with real keyvalue output of two neighbours on one port; the parser is to move to napalm-unix (NAPALM/napalm-device-types#35).

Prio P3.

`lldp_mixin.py` ~88-95 groups `lldpctl -f keyvalue` lines with `entries.setdefault(iface, {})[subkey] = value`, keyed by interface only. With several neighbours on one port (a dumb switch behind it, a phone with a PC) the keys repeat and all but the last neighbour are lost. To confirm with real keyvalue output of two neighbours on one port; the parser is to move to napalm-unix (NAPALM/napalm-device-types#35). Prio P3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-openwrt#9