[ovs-dev] [PATCH v2 2/4] ovn: l3ha, enable bfd between tunnel endpoints

Russell Bryant russell at ovn.org
Fri Jul 7 19:21:09 UTC 2017


On Thu, Jun 8, 2017 at 10:05 AM,  <majopela at redhat.com> wrote:
> From: venkata anil <anilvenkata at redhat.com>
>
> This patch enables bfd protocol between gateways and transport nodes,
> all gateway nodes with any HA chassisredirect port will enable BFD
> to all tunnel endpoints, while transport nodes will enable BFD
> to all tunnel endpoints hosting an HA gateway chassisredirect port.
>
> Signed-off-by: Venkata Anil <anilvenkata at redhat.com>
> Signed-off-by: Miguel Angel Ajo <majopela at redhat.com>
> Co-Authored-by: Miguel Angel Ajo <majopela at redhat.com>
> ---
>  ovn/controller/binding.c        | 201 ++++++++++++++++++++++++++++++++++++----
>  ovn/controller/binding.h        |   3 +
>  ovn/controller/ovn-controller.c |   4 +
>  ovn/controller/ovn-controller.h |   3 +
>  tests/ovn.at                    |  62 +++++++++++++
>  5 files changed, 255 insertions(+), 18 deletions(-)
>

I was surprised to see the bfd code in binding.c.  I would have
expected it in encaps.c, where we are creating the tunnels to other
chassis.  Could it be done in there?

-- 
Russell Bryant


More information about the dev mailing list