[ovs-git] [openvswitch/ovs] 3e5aee: bridge: Keep bond active slave selection across OV...

GitHub noreply at github.com
Mon Oct 6 17:32:28 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3e5aeeb581faf7d69c09acbff7b0717ad5f27810
      https://github.com/openvswitch/ovs/commit/3e5aeeb581faf7d69c09acbff7b0717ad5f27810
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M NEWS
    M ofproto/bond.c
    M ofproto/bond.h
    M tests/lacp.at
    M vswitchd/bridge.c
    M vswitchd/vswitch.ovsschema
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  bridge: Keep bond active slave selection across OVS restart

Whenever OVS restarts, it pseudo-randomly picks an interface
of a bond port to be the active slave. This can cause traffic
disruption in case the upstream switch does not support LACP, or
in case of multi-chassis switches that do not support mLACP.

This patch helps the situation by always record the last active
slave into ovsdb. When OVS restarts, the stored last active slave
has the highest priority to be selected again. In case this interface
is available, due to configuration changes or being offline, OVS then
consider other interfaces with the bond as it does today.

In a nutshell, this patch makes the active slave selection stickier
across OVS restart.

VMware-BZ:  1332235

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>




More information about the git mailing list