]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: Allow EVPN advertise route-map to modify attributes
authorvivek <vivek@cumulusnetworks.com>
Wed, 18 Mar 2020 22:40:04 +0000 (15:40 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 19 Mar 2020 21:21:23 +0000 (14:21 -0700)
commite34291b86a7de4f0a8911bb8d9a01cc454e6a76e
tree80e360420e89eb5f65604936f73ace19912916d9
parentd69a76ac1a40ef13c707d814c8f3b95fe7b84627
bgpd: Allow EVPN advertise route-map to modify attributes

Ensure that the EVPN advertise route-map is applied on a copy of the
original path_info and associated attribute, so that if the route-map
has SET clauses, they can operate properly. This closely follows
the model already in use in other route-map application code.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_route.c
bgpd/bgp_route.h