Fix host pools stats

This commit is contained in:
Alfredo Cardigliano 2021-12-29 10:10:30 +01:00
parent f396145060
commit 0893f928ad
5 changed files with 220 additions and 216 deletions

View file

@ -40,6 +40,9 @@ local flows_filter = getFlowsFilter()
local flows_stats
local total = 0
-- Add more details (debug only)
-- flows_filter["detailsLevel"] = "high"
if not flows_to_update then
flows_stats = interface.getFlowsInfo(flows_filter["hostFilter"], flows_filter)
total = flows_stats["numFlows"]