diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-22 19:18:10 +0100 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-22 19:18:10 +0100 |
| commit | 7726c479644269fc573dd6aad72ea9c163599fd6 (patch) | |
| tree | 853938dafc94ab1976050588655031704a4de7b7 /lib/mpls.h | |
| parent | fd3b19f25200c2788d34bf25a62161927a123369 (diff) | |
OSPFD: Update Segment Routing following reviews
- Remove OSPD_SR route type
- Check that Segment Routing is enable only in default VRF
- Add comment for SRGB in lib/mpls.h
- Update documentation
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'lib/mpls.h')
| -rw-r--r-- | lib/mpls.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h index 9e7eeed34e..9d103e669c 100644 --- a/lib/mpls.h +++ b/lib/mpls.h @@ -41,7 +41,13 @@ #define MPLS_MAX_UNRESERVED_LABEL 1048575 /* Default min and max SRGB label range */ -#define MPLS_DEFAULT_MIN_SRGB_LABEL 10000 +/* Even if the SRGB allows to manage different Label space between routers, + * if an operator want to use the same SRGB for all its router, we must fix + * a common range. However, Cisco start its SRGB at 16000 and Juniper ends + * its SRGB at 16384 for OSPF. Thus, by fixing the minimum SRGB label to + * 8000 we could deal with both Cisco and Juniper. + */ +#define MPLS_DEFAULT_MIN_SRGB_LABEL 8000 #define MPLS_DEFAULT_MAX_SRGB_LABEL 50000 #define MPLS_DEFAULT_MIN_SRGB_SIZE 5000 #define MPLS_DEFAULT_MAX_SRGB_SIZE 20000 |
