]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Ability to add/update unique extended communities
authorvivek <vivek@cumulusnetworks.com>
Tue, 24 Mar 2020 20:50:20 +0000 (13:50 -0700)
committervivek <vivek@cumulusnetworks.com>
Tue, 31 Mar 2020 03:12:31 +0000 (20:12 -0700)
commit1207a5bc9bd81a7e7fffe1bfb1904d3ff18d3028
tree02f45f41303b9ebc47a89afe214a9bc5804d4c45
parent4e30bc2bfec5ead773e37388d6f407022570262f
bgpd: Ability to add/update unique extended communities

Certain extended communities cannot be repeated. An example is the
BGP link bandwidth extended community. Enhance the extended community
add function to ensure uniqueness, if requested.

Note: This commit does not change the lack of uniqueness for any of
the already-supported extended communities. Many of them such as the
BGP route target can obviously be present multiple times. Others like
the Router's MAC should most probably be present only once. The portions
of the code which add these may already be structured such that duplicates
do not arise.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_attr_evpn.c
bgpd/bgp_ecommunity.c
bgpd/bgp_ecommunity.h
bgpd/bgp_evpn.c
bgpd/bgp_pbr.c
bgpd/rfapi/rfapi.c
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/vnc_export_bgp.c
bgpd/rfapi/vnc_import_bgp.c