summaryrefslogtreecommitdiff
path: root/zebra/zebra_errors.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-03-23 16:30:58 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2024-06-13 14:54:16 +0200
commitc570d2bcaec477167d613d1b2bf57021200d1f89 (patch)
tree1e3f569a3a454b5020316e1f5d2c4bbb32537f1a /zebra/zebra_errors.c
parentf8da4a29e58ec301c72a17f238686a59b62edef0 (diff)
zebra: Add functions to alloc/release SRv6 SIDs
Add functions to allocate/release SRv6 SIDs. SIDs can be allocated either explicitly (allocate a specific SID) or dynamically (allocate any available SID). Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Diffstat (limited to 'zebra/zebra_errors.c')
-rw-r--r--zebra/zebra_errors.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c
index 09b369e23e..dcfa37d268 100644
--- a/zebra/zebra_errors.c
+++ b/zebra/zebra_errors.c
@@ -788,6 +788,18 @@ static struct log_ref ferr_zebra_err[] = {
"Wait for Zebra to reattempt update.",
},
{
+ .code = EC_ZEBRA_SM_CANNOT_ASSIGN_SID,
+ .title = "SRv6 manager unable to assign SID",
+ .description = "Zebra's SRv6 manager was unable to assign a SID to client.",
+ .suggestion = "Ensure that Zebra has a sufficient SID range available.",
+ },
+ {
+ .code = EC_ZEBRA_SM_DAEMON_MISMATCH,
+ .title = "Daemon mismatch when releasing SRV6 SIDs",
+ .description = "Zebra noticed a mismatch between a SRv6 SID and a protocol daemon number or instance when releasing unused SRv6 SIDs.",
+ .suggestion = "Ignore this error.",
+ },
+ {
.code = END_FERR,
}
};