Reworked hosts listing in order to avoid/limit out-of-memory issues

Implemented aggregation of hosts and flows when using views
This commit is contained in:
Luca 2015-12-27 18:55:50 +01:00
parent df957f9e55
commit 11f8c934d0
40 changed files with 391 additions and 354 deletions

View file

@ -13,7 +13,7 @@ host_ip = _GET["host"]
host_id = _GET["host_id"]
interface.select(ifname)
flows_stats = interface.getFlowsInfo(host_ip)
flows_stats,total = aggregateFlowsStats(interface.getFlowsInfo(host_ip))
print("[")