nodogsplash2: update to version 2.1.1 (#376)
[feed/routing.git] / bird-openwrt / bird6-openwrt / src / controller / bird6.lua
1 --[[
2 Copyright (C) 2014-2017 - Eloi Carbo
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 --]]
17
18 module("luci.controller.bird6", package.seeall)
19
20 function index()
21 entry({"admin","network","bird6"},
22 alias("admin","network","bird6","status"),
23 _("Bird6"), 0)
24
25 entry({"admin", "network", "bird6", "status"},
26 cbi("bird6/status"),
27 _("Status"), 0).leaf = true
28
29 entry({"admin","network","bird6","log"},
30 template("bird6/log"),
31 _("Log"), 1).leaf = true
32
33 entry({"admin","network","bird6","overview"},
34 cbi("bird6/overview"),
35 _("Overview"), 2).leaf = true
36
37 entry({"admin","network","bird6","proto_general"},
38 cbi("bird6/gen_proto"),
39 _("General protocols"), 3).leaf = true
40
41 entry({"admin","network","bird6","proto_bgp"},
42 cbi("bird6/bgp_proto"),
43 _("BGP Protocol"), 4).leaf = true
44
45 entry({"admin","network","bird6","filters"},
46 cbi("bird6/filters"),
47 _("Filters"), 5).leaf = true
48
49 entry({"admin","network","bird6","functions"},
50 cbi("bird6/functions"),
51 _("Functions"), 6).leaf = true
52 end