[ovs-dev] [RFC ovn 0/3] introduce BFD support in ovn-controller

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Thu Nov 12 16:10:09 UTC 2020


Introduce BFD protocol in ovn-controller.
We added BFD implementation in ovn since layered protocols usually request to
enable it on ovn entities (e.g. logical router ports) while ovs implementation
relies on physical entities (e.g. ovs interfaces).
Moreover we would establish a BFD session between a given ovn-port and
multiple peers (1:n relation)
A typical use-case is reported in [0].
The main goal of this series (not fully RFC compliant yet) is to collect
feedbacks from other ovn/ovs developer about the proposed approach.

[0] - https://bugzilla.redhat.com/show_bug.cgi?id=1847570

Lorenzo Bianconi (3):
  controller: introduce bfd tx path in ovn-controller
  action: introduce handle_bfd_msg() action
  controller: bfd: introduce BFD state machine

 controller/ovn-controller.c |   1 +
 controller/pinctrl.c        | 405 +++++++++++++++++++++++++++++++++++-
 controller/pinctrl.h        |   2 +
 include/ovn/actions.h       |   7 +
 lib/actions.c               |  16 ++
 lib/ovn-l7.h                |  19 ++
 northd/ovn-northd.c         | 112 ++++++++++
 ovn-nb.ovsschema            |  17 +-
 ovn-nb.xml                  |  42 ++++
 ovn-sb.ovsschema            |  21 +-
 ovn-sb.xml                  |  54 +++++
 tests/ovn.at                |   4 +
 utilities/ovn-trace.c       |   2 +
 13 files changed, 697 insertions(+), 5 deletions(-)

-- 
2.26.2



More information about the dev mailing list