]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: Receive SRv6 SIDs notifications from zebra
authorCarmine Scarpitta <cscarpit@cisco.com>
Thu, 9 May 2024 09:51:16 +0000 (11:51 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Tue, 18 Jun 2024 16:33:29 +0000 (18:33 +0200)
commit0af0f4616d32879b8114386e2c44fc6b3250cb14
treedc59ad59f0a4856c00ce0a5b863526d1be034558
parent7c203a05bf1b3c9e734a819ad42874673aff2e47
isisd: Receive SRv6 SIDs notifications from zebra

Zebra sends a SRV6_SID_NOTIFY notification to inform clients about the
result of a SID alloc/release operation.  This commit adds a handler to
process a SRV6_SID_NOTIFY notification received from zebra.

If the notification indicates that a SID allocation operation was
successful, then it stores the allocated SID in the SRv6 database,
installs the SID into the RIB, and advertises the SID to the other IS-IS
routers.

If the notification indicates that an operation has failed, it logs the
error.

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