summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-05-02 17:08:07 +0200
committerCarmine Scarpitta <cscarpit@cisco.com>2024-09-05 10:59:59 +0200
commit7a2e64e66375033df7bc3ad4c762cb51587a8fb6 (patch)
treecb8f7cc0cfbea998d6503528376b65f4167189b9 /lib/command_graph.h
parent7a9f26c79400ca85b70200e616ec11bdd48cbf8f (diff)
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>
Diffstat (limited to 'lib/command_graph.h')
0 files changed, 0 insertions, 0 deletions