ofp-util: Add "check_overlap" and "reset_counts" to stateful flags.
authorBen Pfaff <blp@ovn.org>
Sat, 28 Nov 2015 19:55:58 +0000 (11:55 -0800)
committerBen Pfaff <blp@ovn.org>
Sun, 29 Nov 2015 23:44:02 +0000 (15:44 -0800)
commit13327b8eb52ec2dcd932c439012491f87e0cdead
treec1bf5236d5adc77baa9bfce2ce111cc47d663e7f
parent5680a1a56cbc8be7822dc3a8782d0598de8c7cc3
ofp-util: Add "check_overlap" and "reset_counts" to stateful flags.

The OpenFlow specification implies that every flag is part of the flow
state, even though that isn't really meaningful for OFPFF_CHECK_OVERLAP
or OFPFF_RESET_COUNTS.  This commit adds them to the flow state (reported
in flow stats replies).

Found by OFTest.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Co-authored-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/ofp-util.h
tests/ofproto.at
tests/ovs-ofctl.at