mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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>
This commit is contained in:
@@ -623,6 +623,19 @@ enum ofperr {
|
||||
/* ONF1.3(4448), OF1.4+(14,8). Permissions error. */
|
||||
OFPERR_OFPBPC_EPERM,
|
||||
|
||||
/* ## -------------------------- ## */
|
||||
/* ## OFPET_ASYNC_CONFIG_FAILED ## */
|
||||
/* ## -------------------------- ## */
|
||||
|
||||
/* OF1.4+(15,0). One mask is invalid. */
|
||||
OFPERR_OFPACFC_INVALID,
|
||||
|
||||
/* OF1.4+(15,1). Requested configuration not supported. */
|
||||
OFPERR_OFPACFC_UNSUPPORTED,
|
||||
|
||||
/* OF1.4+(15,2). Permissions error. */
|
||||
OFPERR_OFPACFC_EPERM,
|
||||
|
||||
/* ## -------------------- ## */
|
||||
/* ## OFPET_BUNDLE_FAILED ## */
|
||||
/* ## -------------------- ## */
|
||||
|
Reference in New Issue
Block a user