summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-18 17:09:07 +0100
committerJo-Philipp Wich <jo@mein.io>2021-03-18 17:28:40 +0100
commitd1bf56d7f178f1b7582d7b3600ee70e65128ccfa (patch)
treec3ea0714a5e0b7ed9df618c68e1c557ac748a4f3 /modules/luci-mod-network/htdocs/luci-static/resources/view
parent71feaa52857abb7408d657521c114319c1f0a113 (diff)
luci-base: network.js: recognize DSA ports and bridge VLANs
Use the newly introduced devtype attribute for more robust network device type detection. This also allows us to easily recognize DSA ports. Furthermore, synthesize VLAN devices declared by uci bridge-vlan sections, similar to how it is done for legacy swconfig switch_vlan ones. Finally implement a new Network.Device.getParent() method to use the newly available "parent" attribute to resolve the base device of DSA ports or VLAN devices. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
0 files changed, 0 insertions, 0 deletions