mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
parent
d541b4dc03
commit
fdb486e088
4 changed files with 96 additions and 0 deletions
24
scripts/lua/rest/v1/delete/active_monitoring/pool.lua
Normal file
24
scripts/lua/rest/v1/delete/active_monitoring/pool.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--
|
||||
-- (C) 2013-20 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
local json = require "dkjson"
|
||||
local rest_utils = require "rest_utils"
|
||||
|
||||
--
|
||||
-- Delete an existing pool
|
||||
--
|
||||
|
||||
sendHTTPHeader('application/json')
|
||||
|
||||
local rc = rest_utils.consts_ok
|
||||
local res = {
|
||||
-- STUB
|
||||
}
|
||||
|
||||
print(rest_utils.rc(rc, res))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue