[ovs-git] [openvswitch/ovs] 75f9e0: ovn: Fix BFD error config on gateway

GitHub noreply at github.com
Thu Aug 24 19:06:11 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 75f9e007e7f7eb91461e238f882d1c539c56bb8d
      https://github.com/openvswitch/ovs/commit/75f9e007e7f7eb91461e238f882d1c539c56bb8d
  Author: Gao Zhenyu <sysugaozhenyu at gmail.com>
  Date:   2017-08-24 (Thu, 24 Aug 2017)

  Changed paths:
    M ovn/controller/bfd.c
    M tests/ovn.at

  Log Message:
  -----------
  ovn: Fix BFD error config on gateway

The bfd_calculate_chassis function calculates gateway's peer datapaths
to figure out which tunnel's BFD should be enabled to from the current chassis.
Existing algorithm only calculats peer datapaths at one hop, but multiple
logical switches and E/W routers could be in the path, making several hops
which were not considered on the calculation.
It may disable BFD on some gw's tunnel ports. Then a port on a remote ovs
cannot send packet out because it believes all remote gateways are down.

This patch will go through whole graph and visit all datapath's port
which has connection with gateways.

Signed-off-by: Zhenyu Gao <sysugaozhenyu at gmail.com>
Acked-by: Venkata Anil Kommaddi <vkommadi at redhat.com>
Tested-by: Venkata Anil Kommaddi <vkommadi at redhat.com>
Signed-off-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list