On Sat, Jan 14, 2023 at 10:29 AM Vladislav Odintsov <[email protected]>
wrote:

> This adds capability to run ovn-controller-vtep against OVN Southbound
> OVSDB server running in relay mode.
>
> Signed-off-by: Vladislav Odintsov <[email protected]>
> ---
>  controller-vtep/ovn-controller-vtep.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/controller-vtep/ovn-controller-vtep.c
> b/controller-vtep/ovn-controller-vtep.c
> index 50f412b95..df20816ff 100644
> --- a/controller-vtep/ovn-controller-vtep.c
> +++ b/controller-vtep/ovn-controller-vtep.c
> @@ -123,6 +123,7 @@ main(int argc, char *argv[])
>      /* Connect to OVN SB database. */
>      struct ovsdb_idl_loop ovnsb_idl_loop = OVSDB_IDL_LOOP_INITIALIZER(
>          ovsdb_idl_create(ovnsb_remote, &sbrec_idl_class, true, true));
> +    ovsdb_idl_set_leader_only(ovnsb_idl_loop.idl, false);
>      ovsdb_idl_get_initial_snapshot(ovnsb_idl_loop.idl);
>
>      char *ovn_version = ovn_get_internal_version();
> --
> 2.36.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>

Looks good to me, thanks.

Reviewed-by: Ales Musil <[email protected]>

-- 

Ales Musil

Senior Software Engineer - OVN Core

Red Hat EMEA <https://www.redhat.com>

[email protected]    IM: amusil
<https://red.ht/sig>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to