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:36 +0000 (20:55 +0200)
commit9c86e03e6d6a55839996c4f769b195e3f6b74e39
tree41c8ab9902c8be95a210bf71f2657ab599c2d3f2
parent02dde501858d296494677850ef9d0469e049f079
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