mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements additional pools and edit/get REST API
Implements #4380 Implements #4381
This commit is contained in:
parent
d850dac8d7
commit
c1078d2f21
13 changed files with 282 additions and 4 deletions
12
scripts/lua/rest/v1/edit/flow/pool.lua
Normal file
12
scripts/lua/rest/v1/edit/flow/pool.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--
|
||||
-- (C) 2013-20 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
|
||||
|
||||
local flow_pools = require "flow_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(flow_pools)
|
||||
Loading…
Add table
Add a link
Reference in a new issue