luci-base: poe and PSE details & configuration
authorCarlo Szelinsky <redacted>
Sun, 25 Jan 2026 11:40:49 +0000 (12:40 +0100)
committerPaul Donald <redacted>
Mon, 26 Jan 2026 02:40:38 +0000 (03:40 +0100)
commit8e493db75a80194a1f76ded11df4dbf32f1235d1
treeec52ca45adc76e05667b4b5ce4cdd2941c5b529c
parent77f8596e2a0c75ed6bd15e6359e65b50658b63bd
luci-base: poe and PSE details & configuration

Adds PoE/PSE configuration support for modern linux (PSE-PD).
This change is based on the PSE-PD backport (from 6.17)
and netifd|ubus changes.

* Add getPSE() [receive all status information]
and hasPSE() [has the device PSE hardware?]

* Changes ACL permissions to query network.device status information

* Add two new PoE icons (PoE active with link up + link down) for
the port status page

* Changes port status to show PoE information, next to link information
and data transfer.

* Add a new tab for PoE/PSE to the device configuration,
which will only be displayed if the device supports PSE

Signed-off-by: Carlo Szelinsky <redacted>
modules/luci-base/htdocs/luci-static/resources/icons/port_pse_down.svg [new file with mode: 0644]
modules/luci-base/htdocs/luci-static/resources/icons/port_pse_up.svg [new file with mode: 0644]
modules/luci-base/htdocs/luci-static/resources/network.js
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js
git clone https://git.99rst.org/PROJECT