mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +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/system/pool.lua
Normal file
12
scripts/lua/rest/v1/edit/system/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 system_pools = require "system_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(system_pools)
|
||||
Loading…
Add table
Add a link
Reference in a new issue