Make BgpPeer buffer size configurable

Bug #1687442 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Wishlist
Nischal Sheth
R3.2.3.x
Fix Committed
Wishlist
Nischal Sheth
R4.0
Fix Committed
Wishlist
Nischal Sheth
Trunk
Fix Committed
Wishlist
Nischal Sheth

Bug Description

The BgpPeer object has a buffer to accumulate multiple messages before
writing them out to the socket. It will be useful to make the buffer
size configurable so that different values can be used for testing in
scale scenarios.

Nischal Sheth (nsheth)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30888
Submitter: Nischal Sheth (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/30889
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/30888
Committed: http://github.com/Juniper/contrail-controller/commit/f3ebfb86cec4a1a1552534784e9fc9f81080a950
Submitter: Zuul (<email address hidden>)
Branch: master

commit f3ebfb86cec4a1a1552534784e9fc9f81080a950
Author: Nischal Sheth <email address hidden>
Date: Fri Apr 28 16:43:22 2017 -0700

Make BgpPeer buffer size configurable

Following changes are implemented:

- Use a vector instead of an array for BgpPeer buffer
- Make the vector capacity configurable via an env variable
- Add unit tests to exercise the new code

Change-Id: I6490dad8797b23dfb2d65a4681c1e1f663e0dd85
Closes-Bug: 1687442

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31243
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/31243
Committed: http://github.com/Juniper/contrail-controller/commit/5ee433434bbb071a0c82db6596db5fb37566358f
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 5ee433434bbb071a0c82db6596db5fb37566358f
Author: Nischal Sheth <email address hidden>
Date: Fri Apr 28 16:43:22 2017 -0700

Make BgpPeer buffer size configurable

Following changes are implemented:

- Use a vector instead of an array for BgpPeer buffer
- Make the vector capacity configurable via an env variable
- Add unit tests to exercise the new code

Change-Id: I6490dad8797b23dfb2d65a4681c1e1f663e0dd85
Closes-Bug: 1687442
(cherry picked from commit f3ebfb86cec4a1a1552534784e9fc9f81080a950)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/30889
Committed: http://github.com/Juniper/contrail-controller/commit/5ef68d4cfe675763275b8ab58db09156bd471dac
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 5ef68d4cfe675763275b8ab58db09156bd471dac
Author: Nischal Sheth <email address hidden>
Date: Fri Apr 28 16:43:22 2017 -0700

Make BgpPeer buffer size configurable

Following changes are implemented:

- Use a vector instead of an array for BgpPeer buffer
- Make the vector capacity configurable via an env variable
- Add unit tests to exercise the new code

Change-Id: I6490dad8797b23dfb2d65a4681c1e1f663e0dd85
Closes-Bug: 1687442

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2.3.x

Review in progress for https://review.opencontrail.org/32579
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/32579
Committed: http://github.com/Juniper/contrail-controller/commit/469072930c53be97442290b6fffc87e54b99f860
Submitter: Zuul (<email address hidden>)
Branch: R3.2.3.x

commit 469072930c53be97442290b6fffc87e54b99f860
Author: Nischal Sheth <email address hidden>
Date: Fri Apr 28 16:43:22 2017 -0700

Make BgpPeer buffer size configurable

Following changes are implemented:

- Use a vector instead of an array for BgpPeer buffer
- Make the vector capacity configurable via an env variable
- Add unit tests to exercise the new code

Change-Id: I6490dad8797b23dfb2d65a4681c1e1f663e0dd85
Closes-Bug: 1687442

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.