[ovs-git] Open vSwitch: bond: Sending learning packets on active-backup. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 5 22:05:45 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  247cd777a12fae3ff37da762f8016fee82bbf411 (commit)
       via  bd3affc9acb6b14f889e51cd5d3846b52e67206a (commit)
      from  6e23fe72d378bc22beb3d4c05b3f1a9cdfac942b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 247cd777a12fae3ff37da762f8016fee82bbf411
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=247cd777a12fae3ff37da762f8016fee82bbf411
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Sending learning packets on active-backup.
		
Suppose we have an active bond with two ports, eth1 and eth2,
attached to a standard L2 learning switch which does not know it's
participating in a bond (i.e. isn't running LACP).  Suppose eth1 is
active and therefore the L2 learning switch is forwarding traffic
to eth1 as instructed by its learning table.  Now suppose, for some
reason, OVS fails over from eth1 to eth2.  For each destination
MAC, the L2 learning switch will continue sending traffic to eth1,
which will be dropped, until either traffic from that MAC appears
on eth2, or the learning table entries expire.

To alleviate this issue, this patch sends learning packets on newly
active interfaces in active-backup bonds in order to educate the
upstream network of the change.

Requested-by: Frido Roose <fr.roose at gmail.com>
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit bd3affc9acb6b14f889e51cd5d3846b52e67206a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bd3affc9acb6b14f889e51cd5d3846b52e67206a
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Don't send learning packets on STABLE bonds.
		
Stable bonds require upstream switch support to avoid confusing
learning tables.  Therefore, sending learning packets on these
bonds doesn't make a lot of sense.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS    |    1 +
 lib/bond.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list