LLDP: get_lldp_neighbors reports no neighbour MAC #31

Closed
opened 2026-11-02 07:49:24 +00:00 by christianmanivong · 0 comments
Owner

What happens

get_lldp_neighbors reports hostname and port per neighbour but no mac, although lldpd tells the chassis MAC (lldp.<iface>.chassis.mac=…). napalm-linux (#58) and napalm-netgear add it, and netOrk matches LLDP neighbours by mac first (netork/core/lldp_neighbors.py:135), so neighbours seen by an OpenWrt device can only be matched by name.

Expected

When the chassis id is a MAC address, the neighbour entry carries mac (lower case), as in napalm-linux. Test-first with the recorded keyvalue output: the neighbour has mac.

Priority: P4 — weaker neighbour matching in netOrk's topology for OpenWrt devices.

Found during the bug sweep of 2026-11-02.

## What happens `get_lldp_neighbors` reports `hostname` and `port` per neighbour but no `mac`, although lldpd tells the chassis MAC (`lldp.<iface>.chassis.mac=…`). napalm-linux (#58) and napalm-netgear add it, and netOrk matches LLDP neighbours by `mac` first (`netork/core/lldp_neighbors.py:135`), so neighbours seen by an OpenWrt device can only be matched by name. ## Expected When the chassis id is a MAC address, the neighbour entry carries `mac` (lower case), as in napalm-linux. Test-first with the recorded keyvalue output: the neighbour has `mac`. Priority: P4 — weaker neighbour matching in netOrk's topology for OpenWrt devices. Found during the bug sweep of 2026-11-02.
christianmanivong added the
prio
P4
bug
labels 2026-11-02 07:49:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-openwrt#31