[ovs-git] [ovn-org/ovn] 258b6f: controller: configure only matching encaps between...

Vladislav Odintsov noreply at github.com
Mon Oct 4 15:09:56 UTC 2021


  Branch: refs/heads/branch-21.09
  Home:   https://github.com/ovn-org/ovn
  Commit: 258b6f121177423155fdc32448a021207d14dfc5
      https://github.com/ovn-org/ovn/commit/258b6f121177423155fdc32448a021207d14dfc5
  Author: Vladislav Odintsov <odivlad at gmail.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M controller/encaps.c
    M controller/ovn-controller.h
    M tests/ovn-controller.at

  Log Message:
  -----------
  controller: configure only matching encaps between chassis

Previously tunnels encap on a chassis was based on the remote chassis
"best" encap type. Suppose we have 2 chassis: one with STT, another with
GENEVE. In this case on chassis 1 there was configured STT tunnel, and
GENEVE on another one. No traffic could be sent between these chassis.

With this approach it was impossible to change encap type
for chassis one-by-one, because different tunnel types were
configured on different edges of the link.
Suppose we have 2 chassis: one with STT and VXLAN configured encaps,
another with GENEVE and STT. In
this case on chassis 1 there was configured STT tunnel (best of VXLAN
and STT) and GENEVE on another one ("best" of GENEVE and STT).
No traffic could be sent between these chassis. Though the common STT
could be used.

Now we configure only matching encaps between nodes.

Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Vladislav Odintsov <odivlad at gmail.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry picked from commit 0272f8d903c05d0f475401bfe01af93cfda80699)




More information about the git mailing list