luci-app-lldpd: custom TLV handling
authorPaul Donald <[email protected]>
Tue, 1 Apr 2025 16:12:39 +0000 (18:12 +0200)
committerPaul Donald <[email protected]>
Mon, 7 Apr 2025 18:55:47 +0000 (20:55 +0200)
commit23477a1cea398f3f051e08aa7181afd86aeeb6cf
tree31189706cd6a8784abaf9f1842dcfefe7551f80c
parent581fa4aecf0fde50290852a1c820a85ff8840257
luci-app-lldpd: custom TLV handling

Depends on https://github.com/openwrt/openwrt/pull/14872

Custom TLV have been possible in lldpd; now the machinery is in openwrt
to use them. Extend GUI to enable their handling.

TLV apply either globally or to specific interfaces. The parsing of TLV
strings mirrors that of lldpd. For details see lldpd man page.

Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 279720fef7a540d52fa2b138aeef14ba3a4d5dee)
applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js