openflow: Implement OF1.4+ OFPMP_QUEUE_DESC multipart message.
authorBen Pfaff <blp@ovn.org>
Tue, 19 Jan 2016 00:00:05 +0000 (16:00 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 17:28:32 +0000 (09:28 -0800)
commite016fb630d66ba29c37fe4246f0acf80f11c1b3f
tree63e41522bccab08369d948944c386103f1de8ea3
parent2b4c9d85e6d024eb42ddf7882b46297c9a7b8dae
openflow: Implement OF1.4+ OFPMP_QUEUE_DESC multipart message.

OpenFlow 1.0 through 1.3 have a message OFPT_QUEUE_GET_CONFIG_REQUEST and
its corresponding reply, for fetching a description of the queues
configured on a given port.  OpenFlow 1.4 changes this message to a
multipart message OFPMP_QUEUE_DESC, which Open vSwitch has not until now
implemented.  This commit adds an implemntation of that message.  Because
the message is a replacement for the former one, this commit implements it
using the same ofp-util functions as the former message, so that the client
code doesn't have to distinguish a difference between versions.

The ovs-ofctl command queue-get-config was previously undocumented (due
only to an oversight).  This commit corrects that and documents the new
feature available with OpenFlow 1.4.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
13 files changed:
NEWS
OPENFLOW-1.1+.md
include/openflow/openflow-1.4.h
lib/ofp-errors.h
lib/ofp-msgs.h
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto.c
tests/ofp-print.at
tests/ofproto.at
utilities/ovs-ofctl.8.in
utilities/ovs-ofctl.c