summaryrefslogtreecommitdiff
path: root/include/openvswitch/ofp-print.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-06-13 17:09:05 -0700
committerBen Pfaff <blp@ovn.org>2017-06-14 12:50:23 -0700
commit1b3758c36e88fd261377726f9ab958a0be53f2ca (patch)
tree12b68e5006754b9a43edc337e537cf25b6181377 /include/openvswitch/ofp-print.h
parent89cf41eca75e28b85423c04f0ed7665a0f160a26 (diff)
downloadopenvswitch-1b3758c36e88fd261377726f9ab958a0be53f2ca.tar.gz
ovs-ofctl: New option "--no-stats" for "ovs-ofctl dump-flows".
It's pretty common to want to omit statistics from output, to make it easier to read. This commit adds an ovs-ofctl option to make that easy. A lot of the OVS internal tests could use this, too, in place of ofctl_strip. This commit adopts it for a subset. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'include/openvswitch/ofp-print.h')
-rw-r--r--include/openvswitch/ofp-print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-print.h b/include/openvswitch/ofp-print.h
index 4893d44b4..20f049a37 100644
--- a/include/openvswitch/ofp-print.h
+++ b/include/openvswitch/ofp-print.h
@@ -61,7 +61,7 @@ void ofp_print_table_features(
const struct ofputil_table_stats *prev_stats);
void ofp_print_flow_stats(struct ds *, const struct ofputil_flow_stats *,
- const struct ofputil_port_map *);
+ const struct ofputil_port_map *, bool show_stats);
#ifdef __cplusplus
}