bird-openwrt: BIRD daemon integration with UCI and LuCI configuration
[lede-routing/.git] / bird-openwrt / bird6-openwrt / src / controller / bird6.lua
diff --git a/bird-openwrt/bird6-openwrt/src/controller/bird6.lua b/bird-openwrt/bird6-openwrt/src/controller/bird6.lua
new file mode 100644 (file)
index 0000000..5ee2729
--- /dev/null
@@ -0,0 +1,27 @@
+--[[ 
+Copyright (C) 2014 - Eloi Carbó Solé (GSoC2014) 
+BGP/Bird integration with OpenWRT and QMP
+
+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"}, cbi("bird6/overview"), "Bird6", 1).dependent=false
+        entry({"admin","network","bird6","overview"}, cbi("bird6/overview"), "Overview", 2).dependent=false
+        entry({"admin","network","bird6","proto_general"}, cbi("bird6/gen_proto"), "General protocols", 3).dependent=false
+        entry({"admin","network","bird6","proto_bgp"}, cbi("bird6/bgp_proto"), "BGP Protocol", 4).dependent=false
+end
+