]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: announce locators instead of transposed SIDs
authorRyoga Saito <ryoga.saito@linecorp.com>
Fri, 25 Feb 2022 13:42:32 +0000 (13:42 +0000)
committerRyoga Saito <ryoga.saito@linecorp.com>
Fri, 25 Feb 2022 15:34:28 +0000 (15:34 +0000)
commit69fe7874e050a61eb43786486500b85cb1b47bd2
tree1485f605312b3945e961944effdcbcbb89f888cc
parent921c7e77b0e19f360f0ed74b834d065fce84acf0
bgpd: announce locators instead of transposed SIDs

This patch changes the format of the Prefix-SID advertised by
bgpd. In current implementation, transposed SIDs were
advertised, which caused two problems:

1. bgpd that receives SRv6 L3VPN routes whose SID is
   transposed couldn't put bgp_attr_srv6_l3vpn whose those
   routes together. This leads extra memory consumption.

2. Some implementation will reject a route with transposed SID.
   This will affect interoperability.

For those reasons, in this patch, instead of advertising
transposed SID, we change it to advertise the locator of SID.

Signed-off-by: Ryoga Saito <ryoga.saito@linecorp.com>
bgpd/bgp_mplsvpn.c