Don't overwrite createvrf flag for mirror config updates
Agent sets create vrf flag to true if it creates VRF as part of mirror
entry addition. when mirror entry is deleted , Agent checks vreate vrf flag,
if it is set then deletes teh VRF. In this scenario, mirror config updates
are overwriting the flag to false and that blocks the VRF deletion
Reviewed: https:/ /review. opencontrail. org/48536 github. com/Juniper/ contrail- controller/ commit/ a33e5b928482cc0 13497c7bdf9620b f0ad21214e
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit a33e5b928482cc0 13497c7bdf9620b f0ad21214e
Author: sangarshp <email address hidden>
Date: Tue Jan 8 10:34:51 2019 +0530
Don't overwrite createvrf flag for mirror config updates
Agent sets create vrf flag to true if it creates VRF as part of mirror
entry addition. when mirror entry is deleted , Agent checks vreate vrf flag,
if it is set then deletes teh VRF. In this scenario, mirror config updates
are overwriting the flag to false and that blocks the VRF deletion
made changes not to overwrite the flag if it set.
Change-Id: I6a202da04a91b1 d2d9554c13579e1 d960cf92e0e
Closes-bug: #1803264