mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removed recipient selection from pools. Only severity and category are used as filters now. New filtering based on pool to be done.
This commit is contained in:
parent
f5178d4329
commit
29c0ba4594
28 changed files with 110 additions and 707 deletions
|
|
@ -43,28 +43,6 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Call `instance:unbind_all_recipient_id` for every available pools `instance`
|
||||
function pools_lua_utils.unbind_all_recipient_id(recipient_id)
|
||||
local all_instances = pools_lua_utils.all_pool_instances_factory()
|
||||
|
||||
for _, instance in pairs(all_instances) do
|
||||
instance:unbind_all_recipient_id(recipient_id)
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Call `instance:bind_all_recipient_id` for every available pools `instance`
|
||||
function pools_lua_utils.bind_all_recipient_id(recipient_id)
|
||||
local all_instances = pools_lua_utils.all_pool_instances_factory()
|
||||
|
||||
for _, instance in pairs(all_instances) do
|
||||
instance:bind_all_recipient_id(recipient_id)
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Returns the pool url for a pool with a given `pool_key`
|
||||
-- @param pool_key A pool key string as found inside `create` method of any pools instance.
|
||||
-- If no pool key is found, the home of the pool url is returned.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue