[ovs-git] [ovn-org/ovn] ccbbbd: ovn-northd: Treat reachable and unreachable addres...

Mark Michelson noreply at github.com
Wed Nov 3 20:08:12 UTC 2021


  Branch: refs/heads/main
  Home:   https://github.com/ovn-org/ovn
  Commit: ccbbbd0584e52c2aa88436a431fe7a6deffd2221
      https://github.com/ovn-org/ovn/commit/ccbbbd0584e52c2aa88436a431fe7a6deffd2221
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M northd/northd.c
    M northd/ovn-northd.8.xml
    M tests/ovn-northd.at
    M tests/ovn.at

  Log Message:
  -----------
  ovn-northd: Treat reachable and unreachable addresses identically.

When an ARP request reaches a logical switch that is connected to
gateway routers, if the IP address in the ARP is an "unreachable"
address, then the ARP is flooded out all logical switch ports.

This can become an issue when a logical switch is connected to many
gateway logical router ports. In one particular OpenStack case, we saw a
logical switch connected to 471 gateway logical router ports. When ARP
requests are flooded to all of those logical router ports, it results in
hitting the resubmit limit in OVS.

To correct this issue, this patch treats reachable and unreachable
addresses the same when receiving an ARP request. If the address can be
traced to a particular router port, then the ARP is unicast only to that
router port. This helps to avoid hitting the resubmit ceiling.

The test "ARP flood for unreachable addresses" is removed since we no
longer flood ARPs when destined for unreachable addresses.

Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=2009323

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>




More information about the git mailing list