luci-mod-status: status/routing support for pbr 5235/head
authorVladislav Grigoryev <vg.aetera@gmail.com>
Thu, 5 Aug 2021 00:50:37 +0000 (03:50 +0300)
committerVladislav Grigoryev <vg.aetera@gmail.com>
Sat, 7 Aug 2021 07:51:38 +0000 (10:51 +0300)
commit5cd9209636921d73ef140857b62ba57b03195e26
tree2bb9f0496251764bb0eb5ccd8bc98a0415664fc3
parent39cc16d2eb8678b10deba7fca995f295674c43b1
luci-mod-status: status/routing support for pbr

Provide comprehensive status information for routing.
Rename the "Status > Routes" page to "Status > Routing".
Unify sorting for the "Status" and "Network" menus.
Add tabs for IPv4 and IPv6 and reorganize the contents.
Display routing rules and their priorities for each protocol.

Policy-based routing is an increasingly popular problem.
Netifd natively supports policy-based routing:
* The interface-specific options "ip4table" and "ip6table".
* The routing rules using the "rule" and "rule6" sections.
LuCI is missing the information about routing rules.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js
modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json