Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EVPN route for floating IP was present even after VMI is gone.
Problem: VMI creates evpn route for floating IP using its own peer. On change of encap(vxlan<->mpls), ethernet_tag gets changed for VMI. This change should withdraw all evpn routes using old ethernet tag and move on to use new ethernet tag. Because this was not handled in floating-ip old tag based route was not removed. This resulted in invalid path peer because VMI gets deleted after encap change and old tag based evpn route is never removed. Peer is freed on interface going off and path has invalid peer. Solution: Use ethernet tag from VMI and withdraw floating-ip evpn route when tag changes. Closes-bug: 1527427 (cherry picked from commit 276e70a) Conflicts: src/vnsw/agent/oper/vm_interface.cc src/vnsw/agent/oper/vm_interface.h Change-Id: I5cad082457ad05f32a80f5b520c7f2ecb80e9143
- Loading branch information
1 parent
34ad87e
commit 0f0ecda
Showing
3 changed files
with
99 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters