mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
parent
7408eca0bc
commit
b1edce1894
2 changed files with 14 additions and 1 deletions
12
scripts/lua/rest/v1/add/host/pool.lua
Normal file
12
scripts/lua/rest/v1/add/host/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 host_pools = require "host_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.add_pool(host_pools)
|
||||
Loading…
Add table
Add a link
Reference in a new issue