[ovs-dev] [PATCH v5] ovn-sb.ovsschema: Avoid duplicated IPs in Encap table.

Ben Pfaff blp at ovn.org
Thu Dec 27 19:58:59 UTC 2018


On Tue, Dec 18, 2018 at 02:18:34PM -0800, Han Zhou wrote:
> From: Han Zhou <hzhou8 at ebay.com>
> 
> When adding a new chassis, if there is an old chassis with same IP
> existed in Encap table, it is allowed to be added today. However,
> allowing it to be added results in problems:
> 
> 1. The new chassis cannot work because none of the other chassises
>    are able to create tunnel to it, because of the IP confliction
>    with already existed tunnel to the old chassis.
> 
> 2. All the other chassises will continuously retry creating the tunnel
>    and complaining about the error.
> 
> So, instead of hiding the problem, it is better to expose it while
> trying to add the second chassis with duplicated IP. This patch
> ensures it from the ovsdb schema.
> 
> Signed-off-by: Han Zhou <hzhou8 at ebay.com>
> ---
> 
> Notes:
>     v4 -> v5: update major version in schema version.

Thanks, applied to master.


More information about the dev mailing list