Implements napalm-device-types' new configure_lldp_agent(interfaces) template: new module napalm_openwrt/lldp_agent.py writes lldpd.config.interface in UCI (creates the section if missing, replaces the list, uci commit, exit-status checked). A VLAN device (br-ap.10) is written as its parent (br-ap), as the removed getter helper did; names are checked against a safe pattern. Install and start come from the generic template steps.
Depends on napalm-device-types feat/lldp-agent-template (raise the floor to the release containing LldpAgentMixin) and on #24 (read-only getters, commit 783a4ee) — without #24 the getter would overwrite the interface list on every poll, so #24 must merge before or with this. git merge-tree against fix/bugs-2026-11 is clean; the merged tree passes 223 tests.
Implements napalm-device-types' new `configure_lldp_agent(interfaces)` template: new module `napalm_openwrt/lldp_agent.py` writes `lldpd.config.interface` in UCI (creates the section if missing, replaces the list, `uci commit`, exit-status checked). A VLAN device (`br-ap.10`) is written as its parent (`br-ap`), as the removed getter helper did; names are checked against a safe pattern. Install and start come from the generic template steps.
**Depends on** napalm-device-types `feat/lldp-agent-template` (raise the floor to the release containing `LldpAgentMixin`) and on #24 (read-only getters, commit 783a4ee) — without #24 the getter would overwrite the interface list on every poll, so #24 must merge before or with this. `git merge-tree` against `fix/bugs-2026-11` is clean; the merged tree passes 223 tests.
Tested: fixtures only, `tests/unit/test_lldp_agent.py` (6, failed first). pytest 202 passed, ruff, mypy, `napalm-standard check`/`ratchet` green.
Refs #8
The LLDP getters started lldpd and rewrote its interface list on every
poll; with read-only getters that setup needs an action. The driver
mixes in napalm-device-types' LldpAgentMixin and writes the step the
template leaves to it: lldpd.config.interface in UCI. A VLAN device is
written as the device under it, as the old helper did, since lldpd
sends on the L2 device. Which interfaces is the caller's choice.
Refs #8
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements napalm-device-types' new
configure_lldp_agent(interfaces)template: new modulenapalm_openwrt/lldp_agent.pywriteslldpd.config.interfacein UCI (creates the section if missing, replaces the list,uci commit, exit-status checked). A VLAN device (br-ap.10) is written as its parent (br-ap), as the removed getter helper did; names are checked against a safe pattern. Install and start come from the generic template steps.Depends on napalm-device-types
feat/lldp-agent-template(raise the floor to the release containingLldpAgentMixin) and on #24 (read-only getters, commit783a4ee) — without #24 the getter would overwrite the interface list on every poll, so #24 must merge before or with this.git merge-treeagainstfix/bugs-2026-11is clean; the merged tree passes 223 tests.Tested: fixtures only,
tests/unit/test_lldp_agent.py(6, failed first). pytest 202 passed, ruff, mypy,napalm-standard check/ratchetgreen.Refs #8