]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Add support for SRv6 SID blocks
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 22 Mar 2024 17:19:36 +0000 (18:19 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 13 Jun 2024 12:54:16 +0000 (14:54 +0200)
commitbf10e4437e476c8550f4f146d34cce0828445a5e
treef46ac62588852762bff2fb9a20fd357b64f545da
parent51d3cd8a007d5c2ad6bb27af404f2d95164cf4c2
zebra: Add support for SRv6 SID blocks

An SRv6 block is an IPv6 prefix from which SIDs are allocated. This
commit adds support for SRv6 SID blocks. Specifically, it adds a data
structure to store information about an SRv6 block (e.g., its occupancy
status, which SIDs have been allocated and which are available, which
SID format is used for that block, etc.). It also adds some functions to
manage the block (allocate / free / lookup).

These functions will be used in the next commits to support the
allocation of SIDs from a block in the SID Manager.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
zebra/zebra_srv6.c
zebra/zebra_srv6.h
zebra/zebra_srv6_vty.c