{
	"admin/network/switch": {
		"title": "Switch",
		"order": 20,
		"action": {
			"type": "view",
			"path": "network/switch"
		},
		"depends": {
			"acl": [ "luci-mod-network-config" ],
			"fs": { "/sbin/swconfig": "executable" },
			"uci": { "network": { "@switch": true } }
		}
	},

	"admin/network/wireless": {
		"title": "Wireless",
		"order": 15,
		"action": {
			"type": "view",
			"path": "network/wireless"
		},
		"depends": {
			"acl": [ "luci-mod-network-config" ],
			"uci": { "wireless": { "@wifi-device": true } }
		}
	},

	"admin/network/remote_addr/*": {
		"action": {
			"type": "call",
			"module": "luci.controller.admin.network",
			"function": "remote_addr"
		}
	},

	"admin/network/network": {
		"title": "Interfaces",
		"order": 10,
		"action": {
			"type": "view",
			"path": "network/interfaces"
		},
		"depends": {
			"acl": [ "luci-mod-network-config" ]
		}
	},

	"admin/network/routes": {
		"title": "Routing",
		"order": 30,
		"action": {
			"type": "view",
			"path": "network/routes"
		},
		"depends": {
			"acl": [ "luci-mod-network-config" ]
		}
	},

	"admin/network/dhcp": {
		"title": "DHCP and DNS",
		"order": 40,
		"action": {
			"type": "view",
			"path": "network/dhcp"
		},
		"depends": {
			"acl": [ "luci-mod-network-dhcp" ],
			"fs": { "/usr/sbin/dnsmasq": "executable" },
			"uci": { "dhcp": true }
		}
	},

	"admin/network/diagnostics": {
		"title": "Diagnostics",
		"order": 50,
		"action": {
			"type": "view",
			"path": "network/diagnostics"
		},
		"depends": {
			"acl": [ "luci-mod-network-diagnostics" ]
		}
	}
}
