ovs-ofctl: Merge dump_stats_transaction() into dump_transaction().
authorBen Pfaff <blp@ovn.org>
Thu, 24 Dec 2015 23:44:31 +0000 (15:44 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 16:21:18 +0000 (08:21 -0800)
commit182b2eef208fff46d51c640e3002979e4a0ae7f7
treedfe9edf0b3ba1c57aa06d02ff6a63340ba96f47f
parentf72dff1afe101594e086366e894a3de02a770a98
ovs-ofctl: Merge dump_stats_transaction() into dump_transaction().

The callers call dump_stats_transaction() for OFPST_* messages and
dump_transaction() for other messages, but the callee can easily
distinguish the two types, so this commit eliminates the difference for the
callers to simplify use.

This will be more valuable in an upcoming commit in which a single
ofputil_encode_*() function can produce an OFPT_* request for some
OpenFlow versions and an OFPST_* request for others.  (Specifically, OF1.4
changes OFPT_QUEUE_GET_CONFIG_REQUEST into OFPST_QUEUE_DESC.)

Also merges dump_trivial_stats_transaction() into
dump_trivial_transaction() for the same reason.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
utilities/ovs-ofctl.c