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/11250 github. org/Juniper/ contrail- controller/ commit/ 4a0d8ad4357d466 994ca4ee4a24649 7d70d42f82
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 4a0d8ad4357d466 994ca4ee4a24649 7d70d42f82
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