diff options
| author | David Schweizer <dschweizer@opensourcerouting.org> | 2020-09-02 18:20:08 +0200 | 
|---|---|---|
| committer | David Schweizer <dschweizer@opensourcerouting.org> | 2020-09-02 18:20:08 +0200 | 
| commit | c163f2971b38cf98653a5b1ddd123b4600c23d13 (patch) | |
| tree | c23deac0d1591bee2ef2d295abe442923b72f646 /bgpd/bgp_zebra.h | |
| parent | b1f476731a002fae9c65127314cbad12786f3719 (diff) | |
bgpd: set/unset bgpd no-rib option at runtime
* Added vtysh cli commands and functions to set/unset bgp daemons no-rib
  option during runtime and withdraw/announce routes in bgp instances
  RIB from/to Zebra.
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_zebra.h')
| -rw-r--r-- | bgpd/bgp_zebra.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h index a068c03717..4b357c380a 100644 --- a/bgpd/bgp_zebra.h +++ b/bgpd/bgp_zebra.h @@ -43,6 +43,14 @@ extern void bgp_zebra_withdraw(const struct prefix *p,  			       struct bgp_path_info *path, struct bgp *bgp,  			       safi_t safi); +/* Announce routes of any bgp subtype of a table to zebra */ +extern void bgp_zebra_announce_table_all_subtypes(struct bgp *bgp, afi_t afi, +						  safi_t safi); + +/* Withdraw all entries of any subtype in a BGP instances RIB table from Zebra */ +extern void bgp_zebra_withdraw_table_all_subtypes(struct bgp *bgp, afi_t afi, +						  safi_t safi); +  extern void bgp_zebra_initiate_radv(struct bgp *bgp, struct peer *peer);  extern void bgp_zebra_terminate_radv(struct bgp *bgp, struct peer *peer);  | 
