62e046e609fb49f78de5e7f06b10b397f79e1008
[project/luci.git] / modules / luci-mod-network / root / usr / share / luci / menu.d / luci-mod-network.json
1 {
2 "admin/network/switch": {
3 "title": "Switch",
4 "order": 20,
5 "action": {
6 "type": "view",
7 "path": "network/switch"
8 },
9 "depends": {
10 "acl": [ "luci-mod-network-config" ],
11 "fs": { "/sbin/swconfig": "executable" },
12 "uci": { "network": { "@switch": true } }
13 }
14 },
15
16 "admin/network/wireless": {
17 "title": "Wireless",
18 "order": 15,
19 "action": {
20 "type": "view",
21 "path": "network/wireless"
22 },
23 "depends": {
24 "acl": [ "luci-mod-network-config" ],
25 "uci": { "wireless": { "@wifi-device": true } }
26 }
27 },
28
29 "admin/network/remote_addr/*": {
30 "action": {
31 "type": "call",
32 "module": "luci.controller.admin.network",
33 "function": "remote_addr"
34 }
35 },
36
37 "admin/network/network": {
38 "title": "Interfaces",
39 "order": 10,
40 "action": {
41 "type": "view",
42 "path": "network/interfaces"
43 },
44 "depends": {
45 "acl": [ "luci-mod-network-config" ]
46 }
47 },
48
49 "admin/network/dhcp": {
50 "title": "DHCP and DNS",
51 "order": 30,
52 "action": {
53 "type": "view",
54 "path": "network/dhcp"
55 },
56 "depends": {
57 "acl": [ "luci-mod-network-dhcp" ],
58 "fs": {
59 "/usr/sbin/dnsmasq": "executable"
60 },
61 "uci": { "dhcp": true }
62 }
63 },
64
65 "admin/network/routes": {
66 "title": "Static Routes",
67 "order": 40,
68 "action": {
69 "type": "view",
70 "path": "network/routes"
71 },
72 "depends": {
73 "acl": [ "luci-mod-network-config" ]
74 }
75 },
76
77 "admin/network/diagnostics": {
78 "title": "Diagnostics",
79 "order": 50,
80 "action": {
81 "type": "view",
82 "path": "network/diagnostics"
83 },
84 "depends": {
85 "acl": [ "luci-mod-network-diagnostics" ]
86 }
87 }
88 }