Commit 2b540ecb (Added handling of previously ignored cfm faults.) made the CFM code trigger a fault when a packet is received with an out of order sequence number. This means that if even one CFM probe is dropped, a fault will be triggered because the next received probe's sequence would be two greater than the last. This is in conflict with the 802.1ag requirement that 3.5 dropped probes triggers fault.
Signed-off-by: Ethan Jackson <et...@nicira.com> --- lib/cfm.c | 1 - lib/cfm.h | 3 +-- vswitchd/vswitch.xml | 5 ----- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/cfm.c b/lib/cfm.c index 670f037..b52f97b 100644 --- a/lib/cfm.c +++ b/lib/cfm.c @@ -633,7 +633,6 @@ cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p) } if (rmp->seq && ccm_seq != (rmp->seq + 1)) { - cfm_fault |= CFM_FAULT_SEQUENCE; VLOG_WARN_RL(&rl, "%s: (mpid %"PRIu64") detected sequence" " numbers which indicate possible connectivity" " problems (previous %"PRIu32") (current %"PRIu32 diff --git a/lib/cfm.h b/lib/cfm.h index 4e421fb..628d539 100644 --- a/lib/cfm.h +++ b/lib/cfm.h @@ -33,8 +33,7 @@ struct ofpbuf; CFM_FAULT_REASON(LOOPBACK, loopback) \ CFM_FAULT_REASON(OVERFLOW, overflow) \ CFM_FAULT_REASON(OVERRIDE, override) \ - CFM_FAULT_REASON(INTERVAL, interval) \ - CFM_FAULT_REASON(SEQUENCE, sequence) + CFM_FAULT_REASON(INTERVAL, interval) enum cfm_fault_bit_index { #define CFM_FAULT_REASON(NAME, STR) CFM_FAULT_INDEX_##NAME, diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 15f162a..688f715 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -1769,11 +1769,6 @@ frame having an invalid interval. </column> - <column name="cfm_fault_status" key="sequence"> - Indicates a CFM fault was triggered because the CFM module received - a CCM frame with a sequence number that it was not expecting. - </column> - <column name="cfm_health"> <p> Indicates the health of the interface as a percentage of CCM frames -- 1.7.11.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev