Issue:
------
if VxLan Acquire for a renewed logical switch entry fails
while trying to delete and release previously allocated
VxLan ID it fails on checking for entry being active,
since this check is happening inline in Add/Change
processing where state of the entry was not yet updated
and results in assertion
Fix:
----
pass a vraiable indicating Add/Change in process to skipp
assertion check, which will otherwise will cause false
failure.
Closes-Bug: 1550499
Change-Id: Ief50ca8283c03507b81702218babd16dc8b9c4d6
(cherry picked from commit 894005d5523cc57ef69e8586bc96316757bb6c21)
Reviewed: https:/ /review. opencontrail. org/18733 github. org/Juniper/ contrail- controller/ commit/ 04faf02882dbe03 ceaab50983cdbc5 b77cde9f27
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 04faf02882dbe03 ceaab50983cdbc5 b77cde9f27
Author: Prabhjot Singh Sethi <email address hidden>
Date: Thu Mar 24 11:15:42 2016 +0530
Fix ToR-Agent crash for VxLan Acquire failure
Issue:
------
if VxLan Acquire for a renewed logical switch entry fails
while trying to delete and release previously allocated
VxLan ID it fails on checking for entry being active,
since this check is happening inline in Add/Change
processing where state of the entry was not yet updated
and results in assertion
Fix:
----
pass a vraiable indicating Add/Change in process to skipp
assertion check, which will otherwise will cause false
failure.
Closes-Bug: 1550499 07b81702218babd 16dc8b9c4d6 ef69e8586bc9631 6757bb6c21)
Change-Id: Ief50ca8283c035
(cherry picked from commit 894005d5523cc57