cfm: Notify connectivity_seq on cfm_set_fault
authorJoe Stringer <joestringer@nicira.com>
Sat, 14 Dec 2013 02:18:13 +0000 (02:18 +0000)
committerEthan Jackson <ethan@nicira.com>
Fri, 13 Dec 2013 18:44:08 +0000 (10:44 -0800)
Commit f23d157c ("ofproto-dpif: Don't poll ports when nothing changes"
changed how cfm information is propagated to ovsdb, but did not ensure
that this happened when users made "appctl cfm/set_fault" calls. This
patch fixes this case.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/cfm.c

index 8ba0c44..18a3750 100644 (file)
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -1034,6 +1034,7 @@ cfm_unixctl_set_fault(struct unixctl_conn *conn, int argc, const char *argv[],
         }
     }
 
+    seq_change(connectivity_seq_get());
     unixctl_command_reply(conn, "OK");
 
 out: