summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_routemap_nb.h
diff options
context:
space:
mode:
authorFrancois Dumontet <francois.dumontet@6wind.com>2023-05-22 15:36:06 +0200
committerFrancois Dumontet <francois.dumontet@6wind.com>2023-06-26 14:27:27 +0200
commitb80ebc2d8cf02f6530181d1ec260fdb1e714c1c1 (patch)
tree67e35ddc34ea2898f0fe7c812f73b0d1f91601d0 /bgpd/bgp_routemap_nb.h
parentMerge pull request #13810 from chiragshah6/fdev2 (diff)
downloadfrr-b80ebc2d8cf02f6530181d1ec260fdb1e714c1c1.tar.xz
frr-b80ebc2d8cf02f6530181d1ec260fdb1e714c1c1.zip
bgpd: add colored extended communities support
add support of color extended community, conforming to RFC 9012. This extended community will be added to the existing one, RT,SOO and Node Target. The configuration will be made through the route-map service. find above a configuration example: router bgp 65001 bgp router-id 192.168.1.1 no bgp ebgp-requires-policy no bgp network import-check neighbor 192.168.1.2 remote-as external neighbor 192.168.1.3 remote-as external neighbor 192.168.1.4 remote-as external address-family ipv4 unicast network 10.10.10.10/24 route-map rmap exit-address-family ! route-map rmap permit 10 set extcommunity color 55555 200 exit Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
Diffstat (limited to 'bgpd/bgp_routemap_nb.h')
-rw-r--r--bgpd/bgp_routemap_nb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_routemap_nb.h b/bgpd/bgp_routemap_nb.h
index 7066fdb41..3ff58f71a 100644
--- a/bgpd/bgp_routemap_nb.h
+++ b/bgpd/bgp_routemap_nb.h
@@ -153,6 +153,10 @@ int lib_route_map_entry_set_action_rmap_set_action_evpn_gateway_ip_ipv6_modify(
struct nb_cb_modify_args *args);
int lib_route_map_entry_set_action_rmap_set_action_evpn_gateway_ip_ipv6_destroy(
struct nb_cb_destroy_args *args);
+int lib_route_map_entry_set_action_rmap_set_action_extcommunity_color_modify(
+ struct nb_cb_modify_args *args);
+int lib_route_map_entry_set_action_rmap_set_action_extcommunity_color_destroy(
+ struct nb_cb_destroy_args *args);
int lib_route_map_entry_set_action_rmap_set_action_l3vpn_nexthop_encapsulation_modify(
struct nb_cb_modify_args *args);
int lib_route_map_entry_set_action_rmap_set_action_l3vpn_nexthop_encapsulation_destroy(