[ovs-git] Open vSwitch: ofproto-dpif: Enable smooth transition between CFM and BFD. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 20 22:11:42 UTC 2013


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  2d344ba5be310b085806b6e6b80833039465722b (commit)
      from  c1c4e8c76912a597a6ad964f7b80fc9f63caa7f3 (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 2d344ba5be310b085806b6e6b80833039465722b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2d344ba5be310b085806b6e6b80833039465722b
Author: Alex Wang <alexw at nicira.com>
		
ofproto-dpif: Enable smooth transition between CFM and BFD.
		
When user switches between using CFM and BFD, there will be a short
down time before the new protocol goes up.  This can unintentionally
change the traffic pattern of the bundled ports.  To prevent this,
it is proposed that user can enable both CFM and BFD before transition,
wait for the new protocol to go up, and then disable the old protocol.

To make this scheme work, this commit modifies the port_run() in
ofproto-dpif.c, so that when both CFM and BFD are used, if either shows
correct status, the port is considered usable in the bundle.

Signed-off-by: Alex Wang <alexw at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c |   12 +++++--
 tests/ofproto-dpif.at  |   81 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list