]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Receive SRv6 SIDs notification from zebra
authorCarmine Scarpitta <cscarpit@cisco.com>
Thu, 2 May 2024 15:08:07 +0000 (17:08 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 5 Sep 2024 08:59:59 +0000 (10:59 +0200)
commit7a2e64e66375033df7bc3ad4c762cb51587a8fb6
treecb8f7cc0cfbea998d6503528376b65f4167189b9
parent7a9f26c79400ca85b70200e616ec11bdd48cbf8f
bgpd: Receive SRv6 SIDs notification 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 BGP
routers.

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

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