]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: add locator name in sid notify messages 15676/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 8 Jun 2024 05:15:47 +0000 (07:15 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 5 Sep 2024 08:59:59 +0000 (10:59 +0200)
commitf6866093860b1069cac94d67618a11f589a61c89
tree01f482d06d2ef5bf103f643e6dd339561b8d2cc9
parent8227268b8c80139c7ee2429d0025b9ac9ba20841
bgpd: 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>
bgpd/bgp_zebra.c