Adds numFlows to flows retrieval for proper pagination

numFlows was suppressed in an earlier commit but this caused
issues with pagination of results.
This commit is contained in:
Simone Mainardi 2016-08-25 18:30:27 +02:00
parent 01172f94fc
commit fe5c6377aa
17 changed files with 48 additions and 30 deletions

View file

@ -14,7 +14,7 @@ host_id = _GET["host_id"]
interface.select(ifname)
flows_stats = interface.getFlowsInfo(host_ip)
flows_stats = flows_stats["flows"]
print("[")
n = 0