Support single-active BGPaaS object attached to multiple VMIs
Existing way to derive the extended ports are changed as follows,
- Port range which will be used by bgpaas will be defined as part of
global vrouter config in schema.
- From the given range, the dervied port will be defined as follows,
Ex : 50000 - 50512
Session:1 : config allocates : 50000 for VMI1
Sharing the session-1 for VMI2: allocates 50513
Sharing the session-1 for VMI3: allocates 51026
Session:2 : config allocates : 50001 for VMI4
Sharing the session-2 for VMI5: allocates 50514
Sharing the session-2 for VMI6: allocates 51027
- introduced infra to process global_system config and update bgpaas parameters
- using IndexVector to allcoate index dynamically.
- Added test case for multiple add for same session and vmi
Reviewed: https:/ /review. opencontrail. org/33862 github. com/Juniper/ contrail- controller/ commit/ 06a5d3e9aa10998 a41114731909fc4 0ee4da917c
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 06a5d3e9aa10998 a41114731909fc4 0ee4da917c
Author: srinivn <email address hidden>
Date: Thu Jul 20 22:12:12 2017 -0700
Support single-active BGPaaS object attached to multiple VMIs
Existing way to derive the extended ports are changed as follows,
- Port range which will be used by bgpaas will be defined as part of
global vrouter config in schema.
- From the given range, the dervied port will be defined as follows,
Ex : 50000 - 50512
Session:1 : config allocates : 50000 for VMI1
Sharing the session-1 for VMI2: allocates 50513
Sharing the session-1 for VMI3: allocates 51026
Session:2 : config allocates : 50001 for VMI4
Sharing the session-2 for VMI5: allocates 50514
Sharing the session-2 for VMI6: allocates 51027
- introduced infra to process global_system config and update bgpaas parameters
- using IndexVector to allcoate index dynamically.
- Added test case for multiple add for same session and vmi
Change-Id: I9c27804e47544a bc509b5c9727bac dd683c8ccd1
Closes-Bug: #1649707