diff options
author | Ben Pfaff <blp@ovn.org> | 2015-11-28 11:55:58 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2015-11-29 15:44:02 -0800 |
commit | 13327b8eb52ec2dcd932c439012491f87e0cdead (patch) | |
tree | c1bf5236d5adc77baa9bfce2ce111cc47d663e7f /tests/ovs-ofctl.at | |
parent | 5680a1a56cbc8be7822dc3a8782d0598de8c7cc3 (diff) | |
download | openvswitch-13327b8eb52ec2dcd932c439012491f87e0cdead.tar.gz |
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>
Diffstat (limited to 'tests/ovs-ofctl.at')
-rw-r--r-- | tests/ovs-ofctl.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ovs-ofctl.at b/tests/ovs-ofctl.at index f1f5807fc..78f31bdaa 100644 --- a/tests/ovs-ofctl.at +++ b/tests/ovs-ofctl.at @@ -2848,7 +2848,7 @@ AT_CHECK([ovs-ofctl add-flow br0 priority=22,importance=22,actions=normal]) dnl Importance parameter will only be visible of flows that are added via OF1.4+ if dumped via OF1.4+ AT_CHECK([ovs-ofctl -O OpenFlow14 dump-flows br0 | ofctl_strip | sed '/ST_FLOW reply/d' | sort], [0], [dnl importance=21, priority=21 actions=NORMAL - priority=22 actions=NORMAL + reset_counts priority=22 actions=NORMAL ]) dnl Importance parameter will not be visible if flow is dumped with previous version prior to OF1.4+ whether added via OF1.4+ |