There are two issues in delete of static route config from routing instance
1. bgp:StaticRoute task run with instance id of routing instance index. So it
is possible to have multiple bgp:StaticRoute task concurrently. Due to this
RemoveStaticRouteMgr called on BgpServer object corrupts the srt_manager_list_
2. UnregisterMatchCondition is called from bgp:StaticRoute task. Due to multiple
bgp:StaticRoute task running in parallel, BgpConditionListener::UnregisterMatchCondition
corrupts the condition listener datastructure.(TableMap map_).
Fix is to handle unregister of static route from bgp:Config task using task trigger
Added UT to verify static route config with multiple routing instance
There are two issues in delete of static route config from routing instance
1. bgp:StaticRoute task run with instance id of routing instance index. So it
is possible to have multiple bgp:StaticRoute task concurrently. Due to this
RemoveStaticRouteMgr called on BgpServer object corrupts the srt_manager_list_
2. UnregisterMatchCondition is called from bgp:StaticRoute task. Due to multiple
bgp:StaticRoute task running in parallel, BgpConditionListener::UnregisterMatchCondition
corrupts the condition listener datastructure.(TableMap map_).
Fix is to handle unregister of static route from bgp:Config task using task trigger
Added UT to verify static route config with multiple routing instance
Change-Id: I44446dc558b3d7a8440c7e9802d97a8ea61b8caf
Closes-bug: #1547184,1547181
(cherry picked from commit 29a78345b9e40ddbe480a528fbbb16c5f1f29ea2)
Fix is committed to master and R3.0 /review. opencontrail. org/17750 github. org/Juniper/ contrail- controller/ commit/ 29a78345b9e40dd be480a528fbbb16 c5f1f29ea2
Reviewed: https:/
Committed: http://
Submitter: Zuul
Branch: master
commit 29a78345b9e40dd be480a528fbbb16 c5f1f29ea2
Author: Prakash Bailkeri <email address hidden>
Date: Wed Feb 24 22:47:27 2016 +0530
Concurrency issue in unregister of static route
There are two issues in delete of static route config from routing instance teMgr called on BgpServer object corrupts the srt_manager_list_
1. bgp:StaticRoute task run with instance id of routing instance index. So it
is possible to have multiple bgp:StaticRoute task concurrently. Due to this
RemoveStaticRou
2. UnregisterMatch Condition is called from bgp:StaticRoute task. Due to multiple tener:: UnregisterMatch Condition (TableMap map_).
bgp:StaticRoute task running in parallel, BgpConditionLis
corrupts the condition listener datastructure.
Fix is to handle unregister of static route from bgp:Config task using task trigger
Added UT to verify static route config with multiple routing instance
Change-Id: I44446dc558b3d7 a8440c7e9802d97 a8ea61b8caf
Closes-bug: #1547184,1547181
Reviewed: https:/ /review. opencontrail. org/17758 github. org/Juniper/ contrail- controller/ commit/ 3a748abd2fd7eb2 5470ccd9915a304 22c2a18368
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 3a748abd2fd7eb2 5470ccd9915a304 22c2a18368
Author: Prakash Bailkeri <email address hidden>
Date: Wed Feb 24 22:47:27 2016 +0530
Concurrency issue in unregister of static route
There are two issues in delete of static route config from routing instance teMgr called on BgpServer object corrupts the srt_manager_list_
1. bgp:StaticRoute task run with instance id of routing instance index. So it
is possible to have multiple bgp:StaticRoute task concurrently. Due to this
RemoveStaticRou
2. UnregisterMatch Condition is called from bgp:StaticRoute task. Due to multiple tener:: UnregisterMatch Condition (TableMap map_).
bgp:StaticRoute task running in parallel, BgpConditionLis
corrupts the condition listener datastructure.
Fix is to handle unregister of static route from bgp:Config task using task trigger
Added UT to verify static route config with multiple routing instance
Change-Id: I44446dc558b3d7 a8440c7e9802d97 a8ea61b8caf be480a528fbbb16 c5f1f29ea2)
Closes-bug: #1547184,1547181
(cherry picked from commit 29a78345b9e40dd