luci-mod-admin-full: fallback to generic switch topology
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Aug 2016 07:23:28 +0000 (09:23 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 18 Aug 2016 07:23:32 +0000 (09:23 +0200)
commitc390a09cea580ddb0a400c844751f0b65b69d3aa
tree194a75cf166d0f46710ebd78039cb24ab04ff4de
parent4a5635cafa04b4cdf47c0fd9d97d6d1b7595a8bd
luci-mod-admin-full: fallback to generic switch topology

Use a generic default topology if we cannot infer switch information from
board.json and display an error message in this case. Should fix #779 and
similar issues.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua