diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:53:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:53:16 +0000 |
commit | 6c38a0c60eaed72bee275bfe23d0783d8b6add4f (patch) | |
tree | 9570eca043644d8b4daffb43ae12319b15ccf74a /bgp-controller.lua | |
parent | 376e0d7d3d4364ff443d01ac6eebb644c93f4697 (diff) | |
download | acf-quagga-6c38a0c60eaed72bee275bfe23d0783d8b6add4f.tar.bz2 acf-quagga-6c38a0c60eaed72bee275bfe23d0783d8b6add4f.tar.xz |
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model)
Updated startstop functionality and deleted view
Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'bgp-controller.lua')
-rw-r--r-- | bgp-controller.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bgp-controller.lua b/bgp-controller.lua index dfe27e2..15d7658 100644 --- a/bgp-controller.lua +++ b/bgp-controller.lua @@ -1,8 +1,5 @@ module(..., package.seeall) --- Load libraries -require("controllerfunctions") - default_action = "status" function status(self) @@ -14,10 +11,10 @@ function details(self) end function expert(self) - return controllerfunctions.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit BGP Config", "BGP Configuration Saved") + return self.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit BGP Config", "BGP Configuration Saved") end function startstop(self) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) + return self.handle_form(self, self.model.get_startstop, self.model.startstop_service, self.clientdata) end |