Implements additional pools and edit/get REST API

Implements #4380
Implements #4381
This commit is contained in:
Simone Mainardi 2020-09-10 11:11:08 +02:00
parent d850dac8d7
commit c1078d2f21
13 changed files with 282 additions and 4 deletions

View 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)