]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: Deal with SRv6 locator instead of chunk
authorCarmine Scarpitta <cscarpit@cisco.com>
Thu, 9 May 2024 07:17:49 +0000 (09:17 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Tue, 18 Jun 2024 16:33:29 +0000 (18:33 +0200)
commit9ae38eede814b14051179fb96f9d77ac04a45bf9
treef6d1049d09c8a4097caa11c78d28f4666d5ce61e
parent3fce2928e293c59bb63ef76455525dca602385dd
isisd: Deal with SRv6 locator instead of chunk

Currently, when SRv6 is enabled in IS-IS, IS-IS requests a locator chunk
from Zebra. Zebra assigns a locator chunk to IS-IS, and then IS-IS can
allocate SIDs from the locator chunk.

Recently, the implementation of SRv6 in Zebra has been improved, and a
new API has been introduced for obtaining/releasing the SIDs.

Now, the daemons no longer need to request a chunk.

Instead, the daemons interact with Zebra to obtain information about the
locator and subsequently to allocate/release the SIDs.

This commit extends IS-IS to use the new SRv6 API. In particular, it
removes the chunk throughout the IS-IS code and modifies IS-IS to
request/save/advertise the locator instead of the chunk.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
isisd/isis_lsp.c
isisd/isis_nb_config.c
isisd/isis_srv6.c
isisd/isis_srv6.h
isisd/isis_zebra.c