]> git.puffer.fish Git - mirror/frr.git/commit
isisd: add locator name in sid notify messages 15677/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 8 Jun 2024 05:15:47 +0000 (07:15 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Tue, 18 Jun 2024 16:33:54 +0000 (18:33 +0200)
commitfe5b03a10b583d0a95104a43389a9b60ca9bc397
tree2415ebced8fea61ec9a34cd45dca0d33e88f8c75
parent9e1803a772510114148b0f8ca9bfb3dcbed76721
isisd: 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>
isisd/isis_zebra.c