mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements global host pools
Implements #4086 Refactors host pools to global Implements host pools migration Migration fixes nEdge changes for host pools migration Create README.host_pools_migration.md
This commit is contained in:
parent
a03c2158d8
commit
5ade224d85
34 changed files with 1056 additions and 229 deletions
|
|
@ -139,7 +139,7 @@ function http_bridge_conf_utils.configureBridge()
|
|||
end
|
||||
|
||||
-- must leave it here as well to make sure the C part has updated with the new pools
|
||||
interface.reloadHostPools()
|
||||
ntop.reloadHostPools()
|
||||
|
||||
-- SETUP ASSOCIATIONS
|
||||
for member, info in pairs(rsp["associations"] or {}) do
|
||||
|
|
@ -154,7 +154,7 @@ function http_bridge_conf_utils.configureBridge()
|
|||
host_pools_utils.traceHostPoolEvent(TRACE_ERROR, ifname..": pool: "..pool.. " not existing. Unable to set association with: "..member)
|
||||
else
|
||||
if connectivity == "pass" then
|
||||
if host_pools_utils.addPoolMember(ifid, pool_id, member) == true then
|
||||
if host_pools_utils.addPoolMember(pool_id, member) == true then
|
||||
host_pools_utils.traceHostPoolEvent(TRACE_NORMAL, ifname..": member "..member.. " successfully associated to pool: "..pool)
|
||||
else
|
||||
host_pools_utils.traceHostPoolEvent(TRACE_ERROR, ifname..": Unable to associate member "..member.. " to pool: "..pool)
|
||||
|
|
@ -164,7 +164,7 @@ function http_bridge_conf_utils.configureBridge()
|
|||
end
|
||||
end
|
||||
|
||||
interface.reloadHostPools()
|
||||
ntop.reloadHostPools()
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue