]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Notify all daemons about locator delete
authorCarmine Scarpitta <cscarpit@cisco.com>
Thu, 2 May 2024 21:50:38 +0000 (23:50 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 13 Jun 2024 12:54:16 +0000 (14:54 +0200)
commit5365c56614191c7184126fd1a32db20953f008eb
treeaf4aba03fd6dab0e6128d171cbdb4f2e90660ab3
parentefa830e89ca39c93eeddef40ed7c959ba36b1fc1
zebra: Notify all daemons about locator delete

Currently, when a locator is deleted in zebra, zebra notifies only the
zclient that owns the locator.

With the introduction of SID Manager, the locator is no longer owned by
any client. Instead, the locator is owned by Zebra, and clients can
allocate and release SIDs from the locator using the ZAPI
ZEBRA_SRV6_MANAGER_GET_SID and ZEBRA_SRV6_MANAGER_RELEASE_SID.

Therefore, when a locator is removed in Zebra, we need to notify all
daemons so that they can release/uninstall the SIDs allocated by that
locator.

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