commit c2e68576a54c6b6225a705dbc9865961d201c148
Author: Nischal Sheth <email address hidden>
Date: Sat Feb 25 16:04:00 2017 -0800
Fix race condition in BGPaaS peering creation - take 2
If the internal ifmap configuration object for the routing-instance
for the bgp-routers that comprise a bgp-peering does not exist when
processing the bgp-peering, the ifmap config manager does create the
internal ifmap configuration object for the bgp-peering.
This causes the control node to not create the internal ifmap config
object for some bgp-peerings when the control node gets restarted in
a scaled bgpaas configuration. This happens for bgp-peerings which
get processed before the corresponding routing-instance has been
processed.
The previous fix did not cover the case where the notification for a
routing-instance has not been processed when the notification for the
instance-bgp-router link is processed.
Fix this by modifying dependency tracker policy to re-evaluate all of
the bgp-routers for a routing-instance when processing a notification
for the routing-instance itself. This in turn causes a re-evaluation
of all the bgp-peerings for those bgp-routers.
Reviewed: https:/ /review. opencontrail. org/29127 github. org/Juniper/ contrail- controller/ commit/ c2e68576a54c6b6 225a705dbc98659 61d201c148
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit c2e68576a54c6b6 225a705dbc98659 61d201c148
Author: Nischal Sheth <email address hidden>
Date: Sat Feb 25 16:04:00 2017 -0800
Fix race condition in BGPaaS peering creation - take 2
If the internal ifmap configuration object for the routing-instance
for the bgp-routers that comprise a bgp-peering does not exist when
processing the bgp-peering, the ifmap config manager does create the
internal ifmap configuration object for the bgp-peering.
This causes the control node to not create the internal ifmap config
object for some bgp-peerings when the control node gets restarted in
a scaled bgpaas configuration. This happens for bgp-peerings which
get processed before the corresponding routing-instance has been
processed.
The previous fix did not cover the case where the notification for a
routing-instance has not been processed when the notification for the
instance-bgp-router link is processed.
Fix this by modifying dependency tracker policy to re-evaluate all of
the bgp-routers for a routing-instance when processing a notification
for the routing-instance itself. This in turn causes a re-evaluation
of all the bgp-peerings for those bgp-routers.
Change-Id: Idc4425c87037aa c1eb96f23394bfa e536c17546c
Closes-Bug: 1662678