From: Eli Britstein <[email protected]> The following messages are reduced to DBG. 2025-05-11T10:33:26.778Z|07801|connmgr|INFO|br-sfc<->unix#24021: 2 flow_mods in the last 0 s (2 adds) 2025-05-11T10:33:30.582Z|07802|connmgr|INFO|br-sfc<->unix#24024: 2 flow_mods in the last 0 s (2 adds) 2025-05-11T10:33:30.648Z|07803|connmgr|INFO|br-sfc<->unix#24027: 2 flow_mods in the last 0 s (2 adds)
Signed-off-by: Eli Britstein <[email protected]> Acked-by: Roi Dayan <[email protected]> --- ofproto/connmgr.c | 2 +- tests/ofproto.at | 3 ++- utilities/checkpatch.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index f7f7b1279960..b007ab8a7b63 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -1406,7 +1406,7 @@ ofconn_log_flow_mods(struct ofconn *ofconn) s.length -= 2; ds_put_char(&s, ')'); - VLOG_INFO("%s: %s", rconn_get_name(ofconn->rconn), ds_cstr(&s)); + VLOG_DBG("%s: %s", rconn_get_name(ofconn->rconn), ds_cstr(&s)); ds_destroy(&s); ofconn->n_add = ofconn->n_delete = ofconn->n_modify = 0; diff --git a/tests/ofproto.at b/tests/ofproto.at index 2889f81fb171..847007f9669e 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -5357,6 +5357,7 @@ AT_SETUP([ofproto - bundle with multiple flow mods (OpenFlow 1.4)]) OVS_VSWITCHD_START AT_CHECK([ovs-appctl vlog/set vconn:dbg]) +AT_CHECK([ovs-appctl vlog/set connmgr:dbg]) AT_CHECK([ovs-ofctl --no-names del-flows br0]) @@ -5545,7 +5546,7 @@ vconn|DBG|unix: sent (Success): NXST_FLOW reply: in_port=2,dl_src=00:66:77:88:99:aa actions=drop ]) -AT_CHECK([grep " flow_mods in the last " ovs-vswitchd.log | sed -e 's/^.*connmgr|INFO|//' | vconn_sub], [0], [dnl +AT_CHECK([grep " flow_mods in the last " ovs-vswitchd.log | sed -e 's/^.*connmgr|DBG|//' | vconn_sub], [0], [dnl br0<->unix: 1 flow_mods in the last 0 s (1 deletes) br0<->unix: 9 flow_mods in the last 0 s (7 adds, 2 deletes) br0<->unix: 2 flow_mods in the last 0 s (2 modifications) diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index 566a2bd60b5f..6ccf049d9dd4 100755 --- a/utilities/checkpatch.py +++ b/utilities/checkpatch.py @@ -119,7 +119,7 @@ def open_spell_check_dict(): 'tftp', 'timeval', 'trie', 'tso', 'ubsan', 'ukey', 'umask', 'unassociated', 'unixctl', 'uuid' 'virtqueue', 'vms', 'vnet', 'vport', 'vports', - 'vtep', 'wc', 'wget', 'xenserver', 'util'] + 'vtep', 'wc', 'wget', 'xenserver', 'util', 'connmgr'] global spell_check_dict -- 2.21.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
