summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-03-23 18:31:12 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2024-06-13 14:54:16 +0200
commitee1d20879b0cb44abb77954190a55a07e1921435 (patch)
tree1a699fd38b79b1953913f8d072c026723aaddebe /lib/log.c
parentded79d7013f00a61b19e029a5104b453f696253a (diff)
lib: Add ZAPI operations to get/release SRv6 SIDs
Add two new ZAPI operations: `ZEBRA_SRV6_MANAGER_GET_SRV6_SID` and `ZEBRA_SRV6_MANAGER_RELEASE_SRV6_SID`. These APIs allow a daemon to get and release an SRv6 SID, respectively. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/log.c b/lib/log.c
index 427e72703c..fa8a8734a4 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -437,6 +437,8 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_SRV6_MANAGER_GET_LOCATOR_CHUNK),
DESC_ENTRY(ZEBRA_SRV6_MANAGER_RELEASE_LOCATOR_CHUNK),
DESC_ENTRY(ZEBRA_SRV6_MANAGER_GET_LOCATOR),
+ DESC_ENTRY(ZEBRA_SRV6_MANAGER_GET_SRV6_SID),
+ DESC_ENTRY(ZEBRA_SRV6_MANAGER_RELEASE_SRV6_SID),
DESC_ENTRY(ZEBRA_ERROR),
DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES),
DESC_ENTRY(ZEBRA_OPAQUE_MESSAGE),