summaryrefslogtreecommitdiffstats
path: root/ospf-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 01:53:16 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 01:53:16 +0000
commit6c38a0c60eaed72bee275bfe23d0783d8b6add4f (patch)
tree9570eca043644d8b4daffb43ae12319b15ccf74a /ospf-model.lua
parent376e0d7d3d4364ff443d01ac6eebb644c93f4697 (diff)
downloadacf-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 'ospf-model.lua')
-rw-r--r--ospf-model.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/ospf-model.lua b/ospf-model.lua
index 67ff868..55154f3 100644
--- a/ospf-model.lua
+++ b/ospf-model.lua
@@ -2,7 +2,7 @@ module(..., package.seeall)
-- Load libraries
require("modelfunctions")
-require("format")
+format = require("acf.format")
-- Set variables
local path="PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin "
@@ -57,8 +57,12 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function startstop_service(action)
- return modelfunctions.startstop_service(processname, action)
+function get_startstop(clientdata)
+ return modelfunctions.get_startstop(processname)
+end
+
+function startstop_service(startstop, action)
+ return modelfunctions.startstop_service(startstop, action)
end
function getstatus()