]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Pass non-transitive ext-communities between Route Server and RS clients 11036/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 13 Apr 2022 17:40:30 +0000 (20:40 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sat, 16 Apr 2022 11:58:12 +0000 (14:58 +0300)
commit7833979cef4f358d53ed3f317f5275ccec596aa8
tree2b7173586fd464eab304ffcb0527cb605c1ca612
parent8c4461b8794f5756540e1bdf32f4b39f07f72f62
bgpd: Pass non-transitive ext-communities between Route Server and RS clients

https://datatracker.ietf.org/doc/html/rfc7947#section-2.2

Optional recognized and unrecognized BGP attributes,
   whether transitive or non-transitive, SHOULD NOT be updated by the
   route server (unless enforced by local IXP operator configuration)
   and SHOULD be passed on to other route server clients.

By default LB ext-community works with iBGP peers. When we receive a route
from eBGP peer, we can send LB ext-community to iBGP peers.

With this patch, allow sending LB ext-community to iBGP/eBGP peers if they
are set as RS clients.

FRR does not send non-transitive ext-communities to eBGP peers, but for
example GoBGP sends and if it's set as RS client, we should pass those attributes
towards another RS client.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_attr.c