ofproto: Implement OF1.4 error code for set-async-config
authorAmbika Arora <ambika.arora@tcs.com>
Mon, 30 Nov 2015 11:22:47 +0000 (16:52 +0530)
committerBen Pfaff <blp@ovn.org>
Mon, 30 Nov 2015 19:23:09 +0000 (11:23 -0800)
commitd18cc1eec44d07a6c24d7c2cda802b69c8a5624f
tree4a7b186e4401dd6169b67125141808b7de089e08
parentcd26c1dc415fe492fb5d14443a249f5485ad24bf
ofproto: Implement OF1.4 error code for set-async-config

This patch adds support for Openflow1.4 error codes for set-async-config.
In this patch, a new error type, OFPET_ASYNC_CONFIG_FAILED is introduced
that enables the switch to properly inform the controller when controller
tries to set invalid mask or unsupported configuration.

Signed-off-by: Ambika Arora <ambika.arora@tcs.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS
include/openflow/openflow-1.4.h
include/openflow/openflow-common.h
lib/ofp-errors.h
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto.c
tests/ofp-print.at