Re: bgpd: replace some more walkers with rib_dump

2018-10-28 Thread Claudio Jeker
On Thu, Oct 25, 2018 at 08:51:30AM +0200, Claudio Jeker wrote: > Next step on my quest to make the RIB code better. > This changes the following things: > - network_flush is now using rib_dump_new to walk the Adj-RIB-In and > remove all dynamically added announcements > - peer_flush got

Re: bgpd: replace some more walkers with rib_dump

2018-10-25 Thread Claudio Jeker
On Thu, Oct 25, 2018 at 09:04:18PM +0200, Denis Fondras wrote: > On Thu, Oct 25, 2018 at 08:51:30AM +0200, Claudio Jeker wrote: > > Next step on my quest to make the RIB code better. > > This changes the following things: > > - network_flush is now using rib_dump_new to walk the Adj-RIB-In and > >

Re: bgpd: replace some more walkers with rib_dump

2018-10-25 Thread Denis Fondras
On Thu, Oct 25, 2018 at 08:51:30AM +0200, Claudio Jeker wrote: > Next step on my quest to make the RIB code better. > This changes the following things: > - network_flush is now using rib_dump_new to walk the Adj-RIB-In and > remove all dynamically added announcements > - peer_flush got

bgpd: replace some more walkers with rib_dump

2018-10-25 Thread Claudio Jeker
Next step on my quest to make the RIB code better. This changes the following things: - network_flush is now using rib_dump_new to walk the Adj-RIB-In and remove all dynamically added announcements - peer_flush got generalized and is now used also in peer_down. It also uses a rib_dump_new call