More improvements to SchedulingGroupManager::Leave processing
Following changes are implemented:
- Make GetPeerRibList build a list of RibStates instead of RibOuts
since building a RibStateList is much chepaer and the RibOutList
is needed only if the group can be split (which is very rare).
- Tweak the code to check for overlap in the peers for advertised
and not-advertised RibStateLists to improve performance.
- Add couple more tests to exercise Leave code with large number of
RibOuts.
Reviewed: https:/ /review. opencontrail. org/11260 github. org/Juniper/ contrail- controller/ commit/ d7524ab300236c8 ea7f1469185ea6f 4f73115bb5
Committed: http://
Submitter: Zuul
Branch: master
commit d7524ab300236c8 ea7f1469185ea6f 4f73115bb5
Author: Nischal Sheth <email address hidden>
Date: Tue Jun 2 20:57:35 2015 -0700
More improvements to SchedulingGroup Manager: :Leave processing
Following changes are implemented:
- Make GetPeerRibList build a list of RibStates instead of RibOuts
since building a RibStateList is much chepaer and the RibOutList
is needed only if the group can be split (which is very rare).
- Tweak the code to check for overlap in the peers for advertised
and not-advertised RibStateLists to improve performance.
- Add couple more tests to exercise Leave code with large number of
RibOuts.
Change-Id: Iea5458b24c1f4e 4be5acd70409b73 3bd141eda58
Partial-Bug: 1461322