luci-base: consolidate network.js data acquisition
authorJo-Philipp Wich <jo@mein.io>
Thu, 31 Oct 2019 14:01:26 +0000 (15:01 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 1 Nov 2019 11:03:33 +0000 (12:03 +0100)
commit6e633b3ed29edcbe6ce8d0bafaf064fe2e6c2c03
tree6cb4353349f9c84734ab57938a5f738bd04b8369
parentcc1cbdaf3296bf8360c68127aadae46f08e66e1f
luci-base: consolidate network.js data acquisition

The new luci-rpc/getNetworkDevices procedure offers netdev enumeration
with included IPv4 and IPv6 address information as well as 64bit traffic
counters, so we can remove the calls to network.device/status and
luci/getIfaddrs now as we're able to obtain all info from a single source.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js
modules/luci-base/root/usr/libexec/rpcd/luci
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json