summaryrefslogtreecommitdiff
path: root/bird1-openwrt/bird1-ipv6-openwrt/src/controller/bird6.lua
blob: d955e1f1154b05faf77b75964d625ca8d736107f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--[[ 
Copyright (C) 2014-2017 - Eloi Carbo

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
--]]

module("luci.controller.bird6", package.seeall)

function index()
        entry({"admin","network","bird6"},
            alias("admin","network","bird6","status"),
            _("Bird6"), 0)

        entry({"admin", "network", "bird6", "status"},
            form("bird6/status"),
            _("Status"), 0).leaf = true

        entry({"admin","network","bird6","log"},
            template("bird6/log"),
            _("Log"), 1).leaf = true

        entry({"admin","network","bird6","overview"},
            cbi("bird6/overview"),
            _("Overview"), 2).leaf = true

        entry({"admin","network","bird6","proto_general"},
            cbi("bird6/gen_proto"),
            _("General protocols"), 3).leaf = true

        entry({"admin","network","bird6","proto_bgp"},
            cbi("bird6/bgp_proto"),
            _("BGP Protocol"), 4).leaf = true

        entry({"admin","network","bird6","filters"},
            form("bird6/filters"),
            _("Filters"), 5).leaf = true

        entry({"admin","network","bird6","functions"},
            form("bird6/functions"),
            _("Functions"), 6).leaf = true
end