commit | 6b1c6d27a79e40bbb7c28cb810834bd51cdc9005 | [log] [tgz] |
---|---|---|
author | Victor Silva <victor@waltznetworks.com> | Tue Sep 20 17:00:59 2016 -0300 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Thu Sep 29 19:20:04 2016 +0000 |
tree | 01dbee16ba3a95130df2ddc13870eb770bc2900a | |
parent | a3e2e873e08c7c288bd57b7edcb87354060b0f59 [diff] |
MastershipLoadBalancer: listen to RegionEvents Simplify logic around scheduling a balancing task and listen to RegionEvents. Region Membership updates and Region Updates should also trigger a rebalance. Now, it is possible to queue up another balancing task even if there is one running. They'll still never run in parallel and will still run with at least a few seconds in between (30), but this way we don't ever risk missing an event that makes it necessary to rebalance - not even if we were rebalancing exactly when that event fired. Change-Id: I64e1c6fc5e87f2b1fffbefb54c96303dac55d1d1
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.