[ovs-git] [openvswitch/ovs] 218351: ovn: Move extract_lport_addresses

GitHub noreply at github.com
Mon May 16 21:51:48 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 218351dd013213c64d7f0b8bd6df3315c9f1a4a4
      https://github.com/openvswitch/ovs/commit/218351dd013213c64d7f0b8bd6df3315c9f1a4a4
  Author: Ramu Ramamurthy <ramu.ramamurthy at gmail.com>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M ovn/lib/automake.mk
    A ovn/lib/ovn-util.c
    A ovn/lib/ovn-util.h
    M ovn/northd/ovn-northd.c

  Log Message:
  -----------
  ovn: Move extract_lport_addresses

Move the function extract_lport_addresses to a file
in ovn/lib since that function can be used by ovn-controller also
to parse addresses stored in the mac column of the
port_binding table. Currently that function is used only
in ovn_northd.

Signed-off-by: Ramu Ramamurthy <ramu.ramamurthy at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 0ee8aaf658dde99144c5145eff81edc88ee018da
      https://github.com/openvswitch/ovs/commit/0ee8aaf658dde99144c5145eff81edc88ee018da
  Author: Ramu Ramamurthy <ramu.ramamurthy at gmail.com>
  Date:   2016-05-16 (Mon, 16 May 2016)

  Changed paths:
    M ovn/controller/ovn-controller.c
    M ovn/controller/pinctrl.c
    M ovn/controller/pinctrl.h
    M tests/ovn.at

  Log Message:
  -----------
  ovn: Send GARP on localnet.

In some use cases such as VM migration or when VMs reuse IP addresses, VMs
become unreachable externally because external switches/routers on localnet
have stale port-mac or ARP caches. The problem resolves after some time
when the caches ageout which could be minutes for port-mac bindings or
hours for ARP caches.

To fix this, send some gratuitous ARPs when a logical port on a localnet
datapath gets added. Such gratuitous ARPs help on a best-effort basis to
update the mac-port bindings and ARP caches of external switches and
routers on the localnet.

Reported-at: https://bugs.launchpad.net/networking-ovn/+bug/1545897
Reported-by: Kyle Mestery <mestery at mestery.com>
Signed-off-by: Ramu Ramamurthy <ramu.ramamurthy at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/eaf2aa9e23e0...0ee8aaf658dd


More information about the git mailing list