Enforce Bridge Domain ID range to match 24-bit VNI range
[vpp.git] / src / vnet / api_errno.h
index 0d5b222..b22bb3a 100644 (file)
@@ -109,7 +109,10 @@ _(ENTRY_ALREADY_EXISTS, -116, "Entry already exists")                      \
 _(SVM_SEGMENT_CREATE_FAIL, -117, "svm segment create fail")            \
 _(APPLICATION_NOT_ATTACHED, -118, "application not attached")           \
 _(BD_ALREADY_EXISTS, -119, "Bridge domain already exists")              \
-_(BD_IN_USE, -120, "Bridge domain has member interfaces")
+_(BD_IN_USE, -120, "Bridge domain has member interfaces")              \
+_(BD_NOT_MODIFIABLE, -121, "Bridge domain 0 can't be deleted/modified") \
+_(BD_ID_EXCEED_MAX, -122, "Bridge domain ID exceed 16M limit")         \
+_(UNSUPPORTED, -123, "Unsupported")
 
 typedef enum
 {