commit | 880275cf2873321ae83817758b6aeafb3aeeffcd | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Thu Mar 29 16:03:41 2018 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Fri Apr 06 21:54:01 2018 +0000 |
tree | e354a170316261ac96bfb6bbbdea8ed5d968bac9 | |
parent | 50e43f030632df9b1f9797b5344f51f6cb25999a [diff] |
Routing/bridging rules on the same leaf pair should always be programmed by the same ONOS instance Main change: - Implement new logic for shouldHandleRouting, along with corresponding unit tests. Also rename it to shouldProgram Side changes: - Refactor revokeSubnet such that it is only invoked on the instance that should handle routing change - Move the following methods to RoutingRulePopulator and follow the same design pattern as populate/revoke subnet/route - populateBridging, revokeBridging, updateBridging - updateFwdObj - Make sure the following methods in RoutingRulePopulator are always invoked by DefaultRoutingHandler with shouldProgram check - populateRoute, revokeRoute - populateSubnet, revokeSubnet - populateBridging, revokeBridging, updateBridging - updateFwdObj Change-Id: I903129271ede91c45ebf0d973e06faeae46c157a
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.