diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2017-06-07 13:11:23 -0700 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2017-06-08 06:36:33 -0700 |
| commit | 129296682ff184e9a9057d434e3ea4cc20a18558 (patch) | |
| tree | b0ce4d03f19f5d76852bbb7cbc6d5d3618af7662 /lib/mpls.h | |
| parent | 9d693a54fa47a3a46cb672a0a89dc28e10d9498f (diff) | |
zebra: define default segment routing global block values
Standard define the default SRGB range from 16000 to 23999. This
commit defines these default values for frr.
Ticket: CM-16737
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: CCR-6347
Diffstat (limited to 'lib/mpls.h')
| -rw-r--r-- | lib/mpls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mpls.h b/lib/mpls.h index 6cf0142755..c963e55087 100644 --- a/lib/mpls.h +++ b/lib/mpls.h @@ -40,6 +40,10 @@ #define MPLS_MIN_UNRESERVED_LABEL 16 #define MPLS_MAX_UNRESERVED_LABEL 1048575 +/* Default min and max SRGB label range */ +#define MPLS_DEFAULT_MIN_SRGB_LABEL 16000 +#define MPLS_DEFAULT_MAX_SRGB_LABEL 23999 + #define IS_MPLS_RESERVED_LABEL(label) \ (label >= MPLS_MIN_RESERVED_LABEL && label <= MPLS_MAX_RESERVED_LABEL) |
