]> git.proxmox.com Git - mirror_ovs.git/commit - tests/ofp-print.at
ofp-print: Handle statistics more systematically.
authorBen Pfaff <blp@ovn.org>
Thu, 10 May 2018 20:21:29 +0000 (13:21 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 17 May 2018 15:16:08 +0000 (08:16 -0700)
commite428148a1fb0f2bf8e7d2829220b849a82cd081c
tree7d0f8cc49795f9bdef40aecb3a2843e465e811ee
parente9c9481f3b01bc08808c253235f1d3faae2cb09a
ofp-print: Handle statistics more systematically.

ofp_to_string__() is supposed to call ofp_print_stats() for all kinds of
statistics, but it was only doing so haphazardly.  This commit makes it
systematic and in the process adds it to at least one case where it was
missing (and fixes up a test case).

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
include/openvswitch/ofp-msgs.h
lib/ofp-msgs.c
lib/ofp-print.c
tests/ofp-print.at