[ovs-dev] [PATCH] for ovs-appctl bridge/dump-flows, don't show "priority" twice
YAMAMOTO Takashi
yamt at mwd.biglobe.ne.jp
Wed Sep 25 04:39:48 UTC 2013
before the change:
duration=2110s, priority=0, n_packets=3151646, n_bytes=3104180388, \
priority=0,actions=CONTROLLER:65535
table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \
priority=0,reg0=0x3,actions=drop
table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \
priority=0,reg0=0x1,actions=controller(reason=no_match)
table_id=254, duration=2136s, priority=0, n_packets=0, n_bytes=0, \
priority=0,reg0=0x2,actions=drop
after the change:
duration=2924s, n_packets=5316116, n_bytes=5260045454, \
priority=0,actions=CONTROLLER:65535
table_id=254, duration=2924s, n_packets=0, n_bytes=0, \
priority=0,reg0=0x3,actions=drop
table_id=254, duration=2924s, n_packets=0, n_bytes=0, \
priority=0,reg0=0x1,actions=controller(reason=no_match)
table_id=254, duration=2924s, n_packets=0, n_bytes=0, \
priority=0,reg0=0x2,actions=drop
(i wrapped long lines by hand)
Signed-off-by: YAMAMOTO Takashi <yamt at mwd.biglobe.ne.jp>
---
ofproto/ofproto.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index f305710..ae39283 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -3490,7 +3490,6 @@ flow_stats_ds(struct rule *rule, struct ds *results)
ds_put_format(results, "table_id=%"PRIu8", ", rule->table_id);
}
ds_put_format(results, "duration=%llds, ", (time_msec() - created) / 1000);
- ds_put_format(results, "priority=%u, ", rule->cr.priority);
ds_put_format(results, "n_packets=%"PRIu64", ", packet_count);
ds_put_format(results, "n_bytes=%"PRIu64", ", byte_count);
cls_rule_format(&rule->cr, results);
--
1.8.3.1
More information about the dev
mailing list