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/33499 github. com/Juniper/ contrail- controller/ commit/ cb3e2a4dda5fb54 cddf99e80a88569 53f56a483d
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit cb3e2a4dda5fb54 cddf99e80a88569 53f56a483d
Author: srinivn <email address hidden>
Date: Sun Jul 16 22:49:59 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: I262537b1834299 ed5bc06304a1fe2 d868f31c064
Closes-Bug: #1649707