aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <simon.horman@netronome.com>2014-11-11 12:39:17 +0900
committerBen Pfaff <blp@nicira.com>2014-11-10 20:31:24 -0800
commit2cc5abd738bbd0124a27b124a5583ee1b4f61416 (patch)
tree2a6828981532804f9cee1e8cdfb4902e488c5bf2
parent2d2b28d518e0fc4b92d5559a25aad3d23abd1151 (diff)
ofp-errors: Add (draft) OpenFlow 1.5 group mod errors.
Add OFPERR_OFPGMFC_UNKNOWN_BUCKET and OFPERR_OFPGMFC_BUCKET_EXISTS which are part of (draft) OpenFlow 1.5 groups. ONF-JIRA: EXT-350 Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r--lib/ofp-errors.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ofp-errors.h b/lib/ofp-errors.h
index 2516b397f..1a3c4fc8c 100644
--- a/lib/ofp-errors.h
+++ b/lib/ofp-errors.h
@@ -411,6 +411,14 @@ enum ofperr {
/* OF1.2+(6,14). Permissions error. */
OFPERR_OFPGMFC_EPERM,
+ /* OF1.5+(6,15). Invalid bucket identifier used in
+ * INSERT BUCKET or REMOVE BUCKET command. */
+ OFPERR_OFPGMFC_UNKNOWN_BUCKET,
+
+ /* OF1.5+(6,16). Can't insert bucket because a bucket
+ * already exist with that bucket-id. */
+ OFPERR_OFPGMFC_BUCKET_EXISTS,
+
/* ## --------------------- ## */
/* ## OFPET_PORT_MOD_FAILED ## */
/* ## --------------------- ## */