openflow: Rename OF0.1-1.3 queue property constants.
authorBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 16:05:20 +0000 (08:05 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 16:05:20 +0000 (08:05 -0800)
commitd2e5fa1f91a1465b608adf513509f27c853f1250
tree6425f420cb1912912b25fefc31a067ee44c451da
parent3e461c2c0e5b807fe234b4723969014baf2ce0b8
openflow: Rename OF0.1-1.3 queue property constants.

At first glance, OF1.4 queue properties look a lot like those for OF1.0
to OF1.3, but in fact their different padding makes them incompatible.  In
addition, OF1.4 switches from using regular OpenFlow messages to request
queue properties, to using multipart messages.  Thus, we really need to
use separate code to deal with OF1.4 queues.

OF1.0, OF1.1, and OF1.2 all have slightly different queue config reply
messages, but only OF1.0 and OF1.2 had tests, so this adds tests.  (There
is no test for OF1.3 because it's the same as OF1.2.)

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
include/openflow/openflow-1.0.h
include/openflow/openflow-common.h
lib/ofp-util.c
tests/ofp-print.at
tests/ofproto.at