Implements per-host traffic shapers

This commit is contained in:
Simone Mainardi 2017-10-23 15:01:34 +02:00
parent 776696baaf
commit a67205af77
14 changed files with 194 additions and 74 deletions

View file

@ -106,7 +106,9 @@ function http_bridge_conf_utils.configureBridge()
print(ifname..": creating pool "..pool_name)
host_pools_utils.createPool(ifid, tostring(pool["id"]), pool_name,
false --[[children_safe--]], false --[[enforce_quotas_per_pool_member--]])
false --[[children_safe--]],
false --[[enforce_quotas_per_pool_member--]],
true --[[enforce_shapers_per_pool_member--]])
if(interface.isBridgeInterface(ifid) == true) then
-- create default shapers
shaper_utils.initDefaultShapers(ifid, pool["id"])