When Schema Transformer restarts, it currently resets all route targets on all
routing instances. If there were any RTs configured on the parent VN, those will
be removed and added back when notification is received for adding those targets
to the VN. This can cause lack of connectivity for some time. Instead, now we
read the configured targets when routing istance is created and add the
configured route targets to the RI.
Change-Id: Id9bdb45c5a782bd4e4ae03a29dd1cd37ca20b081
Closes-Bug: 1418701
(cherry picked from commit 28a871d77461175b0b5e76eb9602608df3062ec5)
Reviewed: https:/ /review. opencontrail. org/7367 github. org/Juniper/ contrail- controller/ commit/ c78cfb34e2d0182 34212c3b07f56ee ff78eef23f
Committed: http://
Submitter: Zuul
Branch: R2.1
commit c78cfb34e2d0182 34212c3b07f56ee ff78eef23f
Author: Sachin Bansal <email address hidden>
Date: Wed Feb 11 11:16:34 2015 -0800
Do not remove configured RT from RI on restart
When Schema Transformer restarts, it currently resets all route targets on all
routing instances. If there were any RTs configured on the parent VN, those will
be removed and added back when notification is received for adding those targets
to the VN. This can cause lack of connectivity for some time. Instead, now we
read the configured targets when routing istance is created and add the
configured route targets to the RI.
Change-Id: Id9bdb45c5a782b d4e4ae03a29dd1c d37ca20b081 b0b5e76eb960260 8df3062ec5)
Closes-Bug: 1418701
(cherry picked from commit 28a871d77461175