summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2022-07-01 14:50:40 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2022-07-18 08:57:19 +0200
commita486300b2679ff80a13d800ed76e1236edfcaa2b (patch)
tree86d6b6c5483616c5a10a95191f20f17c9a745bb4 /bgpd/bgp_vty.h
parentMerge pull request #11598 from patrasar/pim_get_instance (diff)
downloadfrr-a486300b2679ff80a13d800ed76e1236edfcaa2b.tar.xz
frr-a486300b2679ff80a13d800ed76e1236edfcaa2b.zip
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>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r--bgpd/bgp_vty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h
index 143d3c1ac..bdaa62054 100644
--- a/bgpd/bgp_vty.h
+++ b/bgpd/bgp_vty.h
@@ -152,6 +152,7 @@ struct bgp;
"endOfRibSentAfterUpdate"); \
} while (0)
+extern void bgp_clear_soft_in(struct bgp *bgp, afi_t afi, safi_t safi);
extern void bgp_vty_init(void);
extern void community_alias_vty(void);
extern const char *get_afi_safi_str(afi_t afi, safi_t safi, bool for_json);