]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: implement retain route-target all behaviour
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 1 Jul 2022 12:50:40 +0000 (14:50 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 18 Jul 2022 06:57:19 +0000 (08:57 +0200)
commita486300b2679ff80a13d800ed76e1236edfcaa2b
tree86d6b6c5483616c5a10a95191f20f17c9a745bb4
parent1004137bf3ac8c71fdddba6c1a4dc1f37646ac40
bgpd: implement retain route-target all behaviour

A new command is available under SAFI_MPLS_VPN:

With this command, the BGP vpnvx prefixes received are
not kept, if there are no VRF interested in importing
those vpn entries.

A soft refresh is performed if there is a change of
configuration: retain cmd, vrf import settings, or
route-map change.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgpd.c
bgpd/bgpd.h
doc/user/bgp.rst