]> git.puffer.fish Git - matthieu/frr.git/commit
zebra, lib: add locator name in sid notify messages
authorPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 8 Jun 2024 05:15:47 +0000 (07:15 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Mon, 17 Jun 2024 15:09:45 +0000 (17:09 +0200)
commit36a310cc9f6ef7694d30fe3527a9462bb7155fd3
treea9813807791799990611cb8240ac1e506e097617
parent209223dae298ed33388563f2947923c0471b2ce7
zebra, lib: add locator name in sid notify messages

In the near future, some daemons may only register SIDs. This may be
the case for the pathd daemon when creating SRv6 binding SIDs.

When a locator is getting deleted at ZEBRA level, the daemon may have
an easy way to find out the SIds to unregister to.

This commit proposes to add the locator name to the SID_SRV6_NOTIFY
message whenever possible. Only case when an allocation failure happens,
the locator will not be present. In all other places, the notify API
at procol levels has the locator name extra-parameter.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
lib/zclient.c
lib/zclient.h
zebra/zapi_msg.c
zebra/zapi_msg.h
zebra/zebra_srv6.c