Comment 9 for bug 1461322

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11260
Committed: http://github.org/Juniper/contrail-controller/commit/d7524ab300236c8ea7f1469185ea6f4f73115bb5
Submitter: Zuul
Branch: master

commit d7524ab300236c8ea7f1469185ea6f4f73115bb5
Author: Nischal Sheth <email address hidden>
Date: Tue Jun 2 20:57:35 2015 -0700

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.

Change-Id: Iea5458b24c1f4e4be5acd70409b733bd141eda58
Partial-Bug: 1461322