From: Shih-Hao Li <[email protected]>
Change-Id: I026f197a69799b6f1522d2c9e410d91158bb2663
Signed-off-by: Shih-Hao Li <[email protected]>
---
ovs-had/l3ha.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ovs-had/l3ha.c b/ovs-had/l3ha.c
index 401c284..9db1f11 100644
--- a/ovs-had/l3ha.c
+++ b/ovs-had/l3ha.c
@@ -706,12 +706,16 @@ update_ovsdb(const struct ovsrec_bridge *nvp_patch)
if (smap_clone_with_key(&new_other_config, &iface->other_config,
"cfm_opstate", healthy ? "up" : "down")) {
+ VLOG_INFO("CFM opstate of %s changed: %s",
+ iface->name, healthy ? "up" : "down");
ovsrec_interface_set_other_config(iface, &new_other_config);
smap_destroy(&new_other_config);
}
/* If extender is healthy, set cpath_down to false. Else, true */
if (smap_clone_with_key(&new_bfd, &iface->bfd,
"cpath_down", healthy ? "false" : "true")) {
+ VLOG_INFO("BFD cpath_down of %s changed: %s",
+ iface->name, healthy ? "false" : "true");
ovsrec_interface_set_bfd(iface, &new_bfd);
smap_destroy(&new_bfd);
}
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev