On Wed, May 25, 2022 at 1:11 PM Jochen Friedrich via dev
<[email protected]> wrote:
>
> Add ovn-encap-df_default configuration option to set df_default on OVN
> tunnels.
>
> Signed-off-by: Jochen Friedrich <[email protected]>
Thanks. I applied this patch to the main branch. I also added a NEWS
entry for this and added you to
the AUTHORS file before applying.
Numan
> ---
> controller/encaps.c | 8 ++++++++
> controller/ovn-controller.8.xml | 7 +++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/controller/encaps.c b/controller/encaps.c
> index ed01b1368..a06aa258c 100644
> --- a/controller/encaps.c
> +++ b/controller/encaps.c
> @@ -190,6 +190,14 @@ tunnel_add(struct tunnel_ctx *tc, const struct
> sbrec_sb_global *sbg,
> smap_add(&options, "tos", encap_tos);
> }
>
> + /* If the df_default option is configured, get it */
> +
> + const char *encap_df = smap_get(&cfg->external_ids,
> + "ovn-encap-df_default");
> + if (encap_df) {
> + smap_add(&options, "df_default", encap_df);
> + }
> +
> /* If ovn-set-local-ip option is configured, get it */
> set_local_ip = smap_get_bool(&cfg->external_ids, "ovn-set-local-ip",
> false);
> diff --git a/controller/ovn-controller.8.xml b/controller/ovn-controller.8.xml
> index 2e66788fd..cb47c9bd1 100644
> --- a/controller/ovn-controller.8.xml
> +++ b/controller/ovn-controller.8.xml
> @@ -182,6 +182,13 @@
> <code>external_ids:ovn-encap-type</code>.
> </dd>
>
> + <dt><code>external_ids:ovn-encap-df_default</code></dt>
> + <dd>
> + indicates the DF flag handling of the encapulation. Set to
> + <code>true</code> to set the DF flag for new data paths or
> + <code>false</code> to clear the DF flag.
> + </dd>
> +
> <dt><code>external_ids:ovn-bridge-mappings</code></dt>
> <dd>
> A list of key-value pairs that map a physical network name to a local
> --
> 2.27.0
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev