[ovs-git] Open vSwitch: bond: Use CFM for slave status. (master)

dev at openvswitch.org dev at openvswitch.org
Fri May 20 22:54:33 UTC 2011


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  296f651909b7ea4de7a9450c0787fc3c4051efc1 (commit)
       via  aa62994cbd99d4538e2b22fade4bd9835037dca0 (commit)
       via  c0a2e71d110ad2af474232e03ea9ad94cbbae46f (commit)
       via  a56104575c4db202bfc5db3079ea969820d77867 (commit)
       via  93b8df3853659238df58b1e1e69a0c5608e208f8 (commit)
       via  84c5d450aaefb73b944506afe9f2fe05fa0612bf (commit)
       via  9ac3fce4d5aea7e963439eb97f7c2d157aef4dfc (commit)
       via  c8544aa15f8811e9d6329d4a5e612ff7acb926c9 (commit)
       via  1670c579a82921fedd8b2c20818919f6b5a9c330 (commit)
      from  c64540e3fe43a83bbe8687c53fb7fdec95b94195 (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 296f651909b7ea4de7a9450c0787fc3c4051efc1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=296f651909b7ea4de7a9450c0787fc3c4051efc1
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Use CFM for slave status.
		
With this patch, if CFM is configured on a slave, and in a faulted
state, it will be disabled by the bond module.


commit aa62994cbd99d4538e2b22fade4bd9835037dca0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=aa62994cbd99d4538e2b22fade4bd9835037dca0
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Implement 802.1ag RDI flag.
		
According to the 802.1ag specification, a maintenance point should
set the Remote Defect Indicator (RDI) bit on CCMs when it has
failed to receive a CCM from any of it's configured remote
maintenance points within the required fault interval.  This allows
unidirectional faults to be flagged by both ends of a CFM monitored
tunnel.


commit c0a2e71d110ad2af474232e03ea9ad94cbbae46f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c0a2e71d110ad2af474232e03ea9ad94cbbae46f
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Remove packet definition from CFM header file.
		
This patch makes a stylistic improvement by removing CFM protocol
information from cfm.h.  In the process it changes
cfm_compose_ccm() to populate an ofpbuf instead of a struct ccm.


commit a56104575c4db202bfc5db3079ea969820d77867
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a56104575c4db202bfc5db3079ea969820d77867
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Cleanup CFM module interface.
		
This patch makes the CFM module interface a bit more like the LACP
module interface.  In my opinion it's much cleaner.


commit 93b8df3853659238df58b1e1e69a0c5608e208f8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=93b8df3853659238df58b1e1e69a0c5608e208f8
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Remove Maintenance_Point and Monitor tables.
		
In an effort to make CFM easier to understand and configure, this
patch removes the Maintenance_Point and Monitor tables from the
database.  As a consequence, users will only be able to configure
one remote maintenance point.  Furthermore, before this patch each
remote maintenance point maintained its own separate fault flag in
the database.  This flag is no longer reported, users will need to
infer the fault status from the global CFM fault flag.


commit 84c5d450aaefb73b944506afe9f2fe05fa0612bf
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=84c5d450aaefb73b944506afe9f2fe05fa0612bf
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: No longer allow configuration of ma_name and md_name.
		
These settings added complexity to the database and CFM module
interface with negligible benefit.  This patch removes them in such
a way that they can easily be re-added in the (unlikely) event that
we need them in the future.


commit 9ac3fce4d5aea7e963439eb97f7c2d157aef4dfc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9ac3fce4d5aea7e963439eb97f7c2d157aef4dfc
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Migrate cfm/show unixctl command to CFM module.
		
This patch moves the cfm/show unixctl show command from the bridge
to the CFM module.  This is more in line with how LACP does it, and
will make future patches easier to implement.


commit c8544aa15f8811e9d6329d4a5e612ff7acb926c9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c8544aa15f8811e9d6329d4a5e612ff7acb926c9
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Remove useless slave->up flag.
		
Theres no longer any reason not to simply call netdev_get_carrier().


commit 1670c579a82921fedd8b2c20818919f6b5a9c330
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1670c579a82921fedd8b2c20818919f6b5a9c330
Author: Ethan Jackson <ethan at nicira.com>
		
netdev: Take responsibility for polling MII registers.
		
This patch moves miimon logic from the bond module to netdev-linux.
This greatly simplifies the bonding code while adding minimal
complexity to netdev-linux.  The bonding code is so high level, it
really has no business worrying about how precisely slave status is
determined.


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

Summary of changes:
 ChangeLog                  |    2 +
 lib/bond.c                 |  126 +++---------------
 lib/bond.h                 |   15 +--
 lib/cfm.c                  |  317 ++++++++++++++++++++++++++------------------
 lib/cfm.h                  |   73 ++---------
 lib/netdev-linux.c         |  100 +++++++++++++--
 lib/netdev-provider.h      |   14 ++-
 lib/netdev.c               |   39 ++----
 lib/netdev.h               |    2 +-
 ofproto/ofproto-dpif.c     |   37 ++---
 ofproto/ofproto.c          |   47 +++----
 ofproto/ofproto.h          |    7 +-
 ofproto/private.h          |   21 ++--
 utilities/ovs-vsctl.8.in   |   19 +--
 utilities/ovs-vsctl.c      |   10 --
 vswitchd/bridge.c          |  128 ++++++------------
 vswitchd/vswitch.gv        |    4 -
 vswitchd/vswitch.ovsschema |   61 ++-------
 vswitchd/vswitch.xml       |  115 +++++-----------
 19 files changed, 481 insertions(+), 656 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list