luci/modules/luci-mod-admin-full/luasrc/view/admin_network
Cody R. Brown 5377d22b4a mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages
The Overview page and Network>Interfaces page currently do not give much information about IPv6, particularly with Prefix Delegated setups. In these setups, ISP will delegate a prefix to the router. Currently LuCI doesn't display this Prefix Delegation from the ISP anywhere. A number of changes was added to this commit:

1) self:_ubus("ipv6-prefix") was extracted and put into protocol.ip6prefix.
2) Network>Interfaces page, if a .ip6prefix is present, show it under Status. (IPv6-PD).
3) On the Overview page, "Type" and "Prefix Delegated" has been added to the IPv6 Network Overview Status:
  - Type will display the .proto, similar to the IPv4 case. If a .ip6prefix is present, it'll display a "-pd" at the end of the Type: i.e. dhcpv6-pd vs. dhcpv6.
  - If no .ip6prefix is present, it'll do what it does currently, and just show Address, or :: if no address is present.
  - If .ip6prefix is present, it'll show the "Prefix Delegated", it'll also hide "Address" if no address is present, else it'll show ifc6.ip6addr as well.

Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-28 01:38:06 -08:00
..
diagnostics.htm luci-mod-admin-full: fix net diagnostics with missing config 2016-07-31 16:00:09 +02:00
iface_overview.htm mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages 2017-01-28 01:38:06 -08:00
iface_status.htm mod-admin-full: Add IPv6 Prefix Delegation information to Status Pages 2017-01-28 01:38:06 -08:00
lease_status.htm luci-mod-admin-full: handle infinite lease times in output 2016-12-09 13:07:42 +01:00
switch_status.htm luci-mod-admin-full: properly skip over unused switch ports 2016-08-18 10:02:53 +02:00
wifi_join.htm luci-mod-admin-full: protect network post actions with csrf tokens 2015-10-20 22:17:23 +02:00
wifi_overview.htm Closes #741: Can't delete disabled wireless networks 2016-06-16 15:08:36 +02:00
wifi_status.htm Globally replace luci.dispatcher.build_url(...) with url(...) invocations 2015-10-07 19:07:36 +02:00