diff options
author | Olivier Dugeon <olivier.dugeon@orange.com> | 2020-06-18 19:46:28 +0200 |
---|---|---|
committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2020-08-20 14:37:40 +0200 |
commit | 6f751f14935af2e831d6069514df5d20dae957a5 (patch) | |
tree | a7f29aac8e610cddfa0c3878710e70c6a02d63e5 /ospfd/ospf_errors.c | |
parent | ospfd: Add Label Manager for Segment Routing (diff) | |
download | frr-6f751f14935af2e831d6069514df5d20dae957a5.tar.xz frr-6f751f14935af2e831d6069514df5d20dae957a5.zip |
ospfd: Add Segment Routing Local Block
RFC 8665 defines a Segment Routing Local Block for Adjacency SID.
This patch provides the possibility to modify the SRLB as well as
reserved the block range from the Label Manager.
- Introduce new CLI 'segment-routing local-block'
- Add local block to SRDB structure
- Parse / Serialize SRLB in Router Information LSA
- Update OSPF-SR topotest
- Update documentation
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
-rw-r--r-- | ospfd/ospf_errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index a985efc66..2de77a43f 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -158,6 +158,12 @@ static struct log_ref ferr_ospf_err[] = { .suggestion = "Restart OSPF instance, If the problem persists, report the problem for troubleshooting" }, { + .code = EC_OSPF_SR_SID_OVERFLOW, + .title = "OSPF SR Segment-ID overflow", + .description = "OSPF Segment Routing ID index or label exceed Global or Local Block Range", + .suggestion = "Restart OSPF instance, If the problem persists, report the problem for troubleshooting" + }, + { .code = EC_OSPF_INVALID_ALGORITHM, .title = "OSPF SR Invalid Algorithm", .description = "OSPF Segment Routing invalid Algorithm", |