openflow-common: Change flow removal reason codes.
authorJarno Rajahalme <jarno.rajahalme@nsn.com>
Wed, 26 Jun 2013 22:39:48 +0000 (01:39 +0300)
committerBen Pfaff <blp@nicira.com>
Wed, 26 Jun 2013 22:49:58 +0000 (15:49 -0700)
commit99f837f84131e95a7a278d081389047271447865
treea0db4527ba3fa1ca9bb0e23dea25eb8a76a330e4
parentfb6de52cd7054053f745a880f09607628fc3b7cd
openflow-common: Change flow removal reason codes.

Swap places of OFPRR_METER_DELETE and OFPRR_EVICTION in enumeration to be
compatible with OpenFlow 1.4.

Prior to OpenFlow 1.4 OFPRR_EVICTION was a Nicira specific flow removal reason
code.  OpenFlow 1.3 added support for meters, which require dependent flow
removal when meters are deleted.  The reason code for this is also added in
OpenFlow 1.4, but OFPRR_METER_DELETE now has the value OVS previously had for
OFPRR_EVICTION.

Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-common.h
tests/ofp-print.at