[ovs-dev] [RFC ovn 0/6] Avoid ARP flow explosion.

Han Zhou hzhou at ovn.org
Wed Jun 10 19:00:07 UTC 2020


This patch series addresses the problem discussed in [0].

It is RFC status now for tryout in the environement where the problem was
reported, and what's pending are more documentation and tests, and possible
adjustments depending on test feedbacks.

To avoid flow explosion in the scenario mentioned in [0], please configure
below options for the gateway routers:

options:learn_from_arp_request = false
options:dynamic_neigh_routers = true

[0] - https://mail.openvswitch.org/pipermail/ovs-discuss/2020-May/049994.html

Han Zhou (6):
  ovn-northd: Support optionally avoid static neighbor flows in routers.
  tests: Fix get_arp/get_nd tests mac-binding table id.
  actions: Rename xxx_lookup_mac to xxx_lookup_mac_bind.
  actions: Implement new actions lookup_arp_ip and lookup_nd_ip.
  ovn-northd.c: Remove the use of the REGBIT_SKIP_LOOKUP_NEIGHBOR bit.
  ovn-northd.c: Support optionally disabling neighbor learning from ARP
    request/NS.

 controller/lflow.c      |   4 +-
 include/ovn/actions.h   |  10 ++++
 lib/actions.c           | 133 ++++++++++++++++++++++++++++++++++++++++++++----
 northd/ovn-northd.8.xml |   5 +-
 northd/ovn-northd.c     |  90 ++++++++++++++++++++++++++------
 ovn-nb.xml              |  13 +++++
 tests/ovn.at            |  76 +++++++++++++++++++++++++--
 tests/test-ovn.c        |   2 +-
 utilities/ovn-trace.c   |  67 ++++++++++++++++++++----
 9 files changed, 358 insertions(+), 42 deletions(-)

-- 
2.1.0



More information about the dev mailing list