diff options
author | John Lo <loj@cisco.com> | 2017-05-18 22:26:47 -0400 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-05-19 13:08:49 +0000 |
commit | 9793477a28c45e4eb5bba3f2050fe415e57e8ad8 (patch) | |
tree | 8b4071fdc7e2290896d92faf4ab4668dd5f7daa8 /src/vnet/api_errno.h | |
parent | fa7f9fddf27efb33ab34fc7fe7fa58b1c7a240d0 (diff) |
Enforce Bridge Domain ID range to match 24-bit VNI range
Enforce bridge domain ID range to allow a maximum value of 16M
which matches the range of 24-bit VNI used for virtual overlay
network ID.
Fix "show bridge-domain" output to allow full 16M BD ID range
to be displayed using 8-digit spaces.
Change-Id: I80d9c76ea7c001bcccd3c19df1f3e55d2970f01c
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/api_errno.h')
-rw-r--r-- | src/vnet/api_errno.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/api_errno.h b/src/vnet/api_errno.h index e694fbf1ed4..b22bb3a879f 100644 --- a/src/vnet/api_errno.h +++ b/src/vnet/api_errno.h @@ -110,8 +110,9 @@ _(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_NOT_MODIFIABLE, -121, "Default bridge domain 0 can be neither deleted nor modified") \ -_(UNSUPPORTED, -122, "Unsupported") +_(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 { |