Multicast route gets deleted when vxlan id is changed in configured mode
Problem:
In oper multicast if local peer vxlan-id is changed then there was add issued
for route with new vxlan and delete issued for same with old vxlan.
Since the peer is local the path search only compares peer and not vxlan.
This results in deletion of local path and eventually the multicast route.
Solution:
Need not withdraw path from local peer on vxlan id change. Just trigger update
of same. This will result in controller route _export call which in turn using
state set on flood route, will be able to identify that vxlan id is changed and
it will take care of withdrawal for old vxlan and update with new vxlan.
Reviewed: https:/ /review. opencontrail. org/10613 github. org/Juniper/ contrail- controller/ commit/ a77f2c31a2c6fb8 a8abe22f3a56276 7cf230cbef
Committed: http://
Submitter: Zuul
Branch: R2.20
commit a77f2c31a2c6fb8 a8abe22f3a56276 7cf230cbef
Author: Manish <email address hidden>
Date: Wed May 20 17:28:09 2015 +0530
Multicast route gets deleted when vxlan id is changed in configured mode
Problem:
In oper multicast if local peer vxlan-id is changed then there was add issued
for route with new vxlan and delete issued for same with old vxlan.
Since the peer is local the path search only compares peer and not vxlan.
This results in deletion of local path and eventually the multicast route.
Solution:
Need not withdraw path from local peer on vxlan id change. Just trigger update
of same. This will result in controller route _export call which in turn using
state set on flood route, will be able to identify that vxlan id is changed and
it will take care of withdrawal for old vxlan and update with new vxlan.
Change-Id: I3afeddd2620615 bb477aec5a0c671 5fcdc99352b
Closes-bug: 1457007