-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encaps: Support backward compatibility for tunnel chassis id change.
In commit 41eefcb, the format of external_ids:ovn-chassis-id for tunnels was modified to include the local encapsulation IP. This change can lead to the recreation of tunnels during an upgrade, potentially disrupting the dataplane temporarily, especially in large-scale environments. This patch resolves the issue by recognizing the previous format. Thus, if the only modification is to the ID format, the tunnel will not be recreated. Instead, the external_ids will be updated directly. This approach ensures that the upgrade process is non-disruptive. Fixes: 41eefcb ("encaps: Create separate tunnels for multiple local encap IPs.") Signed-off-by: Han Zhou <hzhou@ovn.org> Acked-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit f0f31fd)
- Loading branch information
Showing
2 changed files
with
110 additions
and
17 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