/*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/* OF1.0(5,2), OF1.1+(9,2). Permissions error. */
OFPERR_OFPQOFC_EPERM,
+ /* NX1.4+(23). System error retrieving queue details. */
+ OFPERR_NXQOFC_QUEUE_ERROR,
+
/* ## -------------------------- ## */
/* ## OFPET_SWITCH_CONFIG_FAILED ## */
/* ## -------------------------- ## */
/* ## OFPET_BAD_PROPERTY ## */
/* ## ------------------ ## */
- /* OF1.3(13,2), OF1.4+(14,0). Unknown property type.
+ /* NX1.0-1.1(13,2), NX1.2(25), OF1.3(13,2), OF1.4+(14,0). Unknown property
+ * type.
*
* [Known as OFPTFFC_BAD_TYPE in OF1.3.] */
OFPERR_OFPBPC_BAD_TYPE,
- /* OF1.3(13,3), OF1.4+(14,1). Length problem in property.
+ /* NX1.0-1.1(13,3), NX1.2(26), OF1.3(13,3), OF1.4+(14,1). Length problem
+ * in property.
*
* [Known as OFPTFFC_BAD_LEN in OF1.3.] */
OFPERR_OFPBPC_BAD_LEN,
- /* OF1.3(13,4), OF1.4+(14,2). Unsupported property value.
+ /* NX1.0-1.1(13,4), NX1.2(27), OF1.3(13,4), OF1.4+(14,2). Unsupported
+ * property value.
*
* [Known as OFPTFFC_BAD_ARGUMENT in OF1.3.] */
OFPERR_OFPBPC_BAD_VALUE,
- /* ONF1.3(4443), OF1.4+(14,3). Can't handle this many properties. */
+ /* NX1.0-1.1(14,3), NX1.2(28), ONF1.3(4443), OF1.4+(14,3). Can't handle
+ * this many properties. */
OFPERR_OFPBPC_TOO_MANY,
- /* ONF1.3(4444), OF1.4+(14,4). A property type was duplicated. */
+ /* NX1.0-1.1(14,4), NX1.2(29), ONF1.3(4444), OF1.4+(14,4). A property type
+ * was duplicated. */
OFPERR_OFPBPC_DUP_TYPE,
- /* ONF1.3(4445), OF1.4+(14,5). Unknown experimenter id specified. */
+ /* NX1.0-1.1(14,5), NX1.2(30), ONF1.3(4445), OF1.4+(14,5). Unknown
+ * experimenter id specified. */
OFPERR_OFPBPC_BAD_EXPERIMENTER,
- /* ONF1.3(4446), OF1.4+(14,6). Unknown exp_type for experimenter id. */
+ /* NX1.0-1.1(14,6), NX1.2(31), ONF1.3(4446), OF1.4+(14,6). Unknown
+ * exp_type for experimenter id. */
OFPERR_OFPBPC_BAD_EXP_TYPE,
- /* ONF1.3(4447), OF1.4+(14,7). Unknown value for experimenter id. */
+ /* NX1.0-1.1(14,7), NX1.2(32), ONF1.3(4447), OF1.4+(14,7). Unknown value
+ * for experimenter id. */
OFPERR_OFPBPC_BAD_EXP_VALUE,
- /* ONF1.3(4448), OF1.4+(14,8). Permissions error. */
+ /* NX1.0-1.1(14,8), NX1.2(33), 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 ## */
/* ## -------------------- ## */
- /* OF1.4+(17,0). Unspecified error. */
+ /* ONF1.3(2300), OF1.4+(17,0). Unspecified error. */
OFPERR_OFPBFC_UNKNOWN,
- /* OF1.4+(17,1). Permissions error. */
+ /* ONF1.3(2301), OF1.4+(17,1). Permissions error. */
OFPERR_OFPBFC_EPERM,
- /* OF1.4+(17,2). Bundle ID doesn't exist. */
+ /* ONF1.3(2302), OF1.4+(17,2). Bundle ID doesn't exist. */
OFPERR_OFPBFC_BAD_ID,
- /* OF1.4+(17,3). Bundle ID already exists. */
+ /* ONF1.3(2303), OF1.4+(17,3). Bundle ID already exists. */
OFPERR_OFPBFC_BUNDLE_EXIST,
- /* OF1.4+(17,4). Bundle ID is closed. */
+ /* ONF1.3(2304), OF1.4+(17,4). Bundle ID is closed. */
OFPERR_OFPBFC_BUNDLE_CLOSED,
- /* OF1.4+(17,5). Too many bundle IDs. */
+ /* ONF1.3(2305), OF1.4+(17,5). Too many bundle IDs. */
OFPERR_OFPBFC_OUT_OF_BUNDLES,
- /* OF1.4+(17,6). Unsupported of unknown message control type. */
+ /* ONF1.3(2306), OF1.4+(17,6). Unsupported of unknown message control
+ * type. */
OFPERR_OFPBFC_BAD_TYPE,
- /* OF1.4+(17,7). Unsupported, unknown, or inconsistent flags. */
+ /* ONF1.3(2307), OF1.4+(17,7). Unsupported, unknown, or inconsistent
+ * flags. */
OFPERR_OFPBFC_BAD_FLAGS,
- /* OF1.4+(17,8). Length problem in included message. */
+ /* ONF1.3(2308), OF1.4+(17,8). Length problem in included message. */
OFPERR_OFPBFC_MSG_BAD_LEN,
- /* OF1.4+(17,9). Inconsistent or duplicate XID. */
+ /* ONF1.3(2309), OF1.4+(17,9). Inconsistent or duplicate XID. */
OFPERR_OFPBFC_MSG_BAD_XID,
- /* OF1.4+(17,10). Unsupported message in this bundle. */
+ /* ONF1.3(2310), OF1.4+(17,10). Unsupported message in this bundle. */
OFPERR_OFPBFC_MSG_UNSUP,
- /* OF1.4+(17,11). Unsupported message combination in this bundle. */
+ /* ONF1.3(2311), OF1.4+(17,11). Unsupported message combination in this
+ * bundle. */
OFPERR_OFPBFC_MSG_CONFLICT,
- /* OF1.4+(17,12). Cant handle this many messages in bundle. */
+ /* ONF1.3(2312), OF1.4+(17,12). Cant handle this many messages in
+ * bundle. */
OFPERR_OFPBFC_MSG_TOO_MANY,
- /* OF1.4+(17,13). One message in bundle failed. */
+ /* ONF1.3(2313), OF1.4+(17,13). One message in bundle failed. */
OFPERR_OFPBFC_MSG_FAILED,
- /* OF1.4+(17,14). Bundle is taking too long. */
+ /* ONF1.3(2314), OF1.4+(17,14). Bundle is taking too long. */
OFPERR_OFPBFC_TIMEOUT,
- /* OF1.4+(17,15). Bundle is locking the resource. */
+ /* ONF1.3(2315), OF1.4+(17,15). Bundle is locking the resource. */
OFPERR_OFPBFC_BUNDLE_IN_PROGRESS,
+ /* NX1.3+(22). In an OFPT_BUNDLE_ADD_MESSAGE, the OpenFlow version in the
+ * inner and outer messages differ. */
+ OFPERR_NXBFC_BAD_VERSION,
+
/* ## ------------------------- ## */
/* ## OFPET_FLOW_MONITOR_FAILED ## */
/* ## ------------------------- ## */
OFPERR_OFPMOFC_BAD_OUT,
/* ## ----------------------------- ## */
-/* ## OFPET_GENEVE_TABLE_MOD_FAILED ## */
+/* ## OFPET_TLV_TABLE_MOD_FAILED ## */
/* ## ----------------------------- ## */
- /* NX1.0-1.1(1,527), NX1.2+(16). The Geneve table mod command is not
+ /* NX1.0-1.1(1,527), NX1.2+(16). The TLV table mod command is not
* recognized as a valid operation. */
- OFPERR_NXGTMFC_BAD_COMMAND,
+ OFPERR_NXTTMFC_BAD_COMMAND,
/* NX1.0-1.1(1,528), NX1.2+(17). The option length is not a valid
- * option size for Geneve. */
- OFPERR_NXGTMFC_BAD_OPT_LEN,
+ * option size for TLVs. */
+ OFPERR_NXTTMFC_BAD_OPT_LEN,
/* NX1.0-1.1(1,529), NX1.2+(18). The field index is out of range for
* the supported NX_TUN_METADATA<n> match. */
- OFPERR_NXGTMFC_BAD_FIELD_IDX,
+ OFPERR_NXTTMFC_BAD_FIELD_IDX,
/* NX1.0-1.1(1,530), NX1.2+(19). The total set of configured options
* exceeds the maximum supported by the switch. */
- OFPERR_NXGTMFC_TABLE_FULL,
+ OFPERR_NXTTMFC_TABLE_FULL,
- /* NX1.0-1.1(1,531), NX1.2+(20). The controller issued an NXGTMC_ADD
+ /* NX1.0-1.1(1,531), NX1.2+(20). The controller issued an NXTTMC_ADD
* command for a field index that is already mapped. */
- OFPERR_NXGTMFC_ALREADY_MAPPED,
+ OFPERR_NXTTMFC_ALREADY_MAPPED,
- /* NX1.0-1.1(1,532), NX1.2+(21). The Geneve option that is attempting
+ /* NX1.0-1.1(1,532), NX1.2+(21). The option TLV that is attempting
* to be mapped is the same as one assigned to a different field. */
- OFPERR_NXGTMFC_DUP_ENTRY,
+ OFPERR_NXTTMFC_DUP_ENTRY,
-/* ## ------------------ ## */
-/* ## OFPET_EXPERIMENTER ## */
-/* ## ------------------ ## */
+/* ## ---------- ## */
+/* ## NXT_RESUME ## */
+/* ## ---------- ## */
+
+ /* NX1.0-1.1(1,533), NX1.2+(34). This datapath doesn't support
+ * NXT_RESUME. */
+ OFPERR_NXR_NOT_SUPPORTED,
+
+ /* NX1.0-1.1(1,534), NX1.2+(35). Continuation is stale: Open vSwitch
+ * process has been restarted or bridge has been destroyed since
+ * continuation was generated, or continuation was not generated by this
+ * Open vSwitch instance. */
+ OFPERR_NXR_STALE,
};
const char *ofperr_domain_get_name(enum ofp_version);