Re: bgpd make adjout handle multiple paths per prefix

2022-02-25 Thread Theo Buehler
On Fri, Feb 25, 2022 at 12:41:56PM +0100, Claudio Jeker wrote: > On Fri, Feb 25, 2022 at 11:55:08AM +0100, Theo Buehler wrote: > > On Fri, Feb 25, 2022 at 11:15:49AM +0100, Claudio Jeker wrote: > > > For add-path send the Adj-RIB-Out needs to handle multiple paths per > > > prefix. The Adj-RIB-Out

Re: bgpd make adjout handle multiple paths per prefix

2022-02-25 Thread Claudio Jeker
On Fri, Feb 25, 2022 at 11:55:08AM +0100, Theo Buehler wrote: > On Fri, Feb 25, 2022 at 11:15:49AM +0100, Claudio Jeker wrote: > > For add-path send the Adj-RIB-Out needs to handle multiple paths per > > prefix. The Adj-RIB-Out stores the prefixes on RB trees and so extend > > the lookup function

Re: bgpd make adjout handle multiple paths per prefix

2022-02-25 Thread Theo Buehler
On Fri, Feb 25, 2022 at 11:15:49AM +0100, Claudio Jeker wrote: > For add-path send the Adj-RIB-Out needs to handle multiple paths per > prefix. The Adj-RIB-Out stores the prefixes on RB trees and so extend > the lookup function to include the path_id (which will be path_id_tx). > > For now the

bgpd make adjout handle multiple paths per prefix

2022-02-25 Thread Claudio Jeker
For add-path send the Adj-RIB-Out needs to handle multiple paths per prefix. The Adj-RIB-Out stores the prefixes on RB trees and so extend the lookup function to include the path_id (which will be path_id_tx). For now the path_id_tx in the Adj-RIB-Out is forced to 0 since up_generate_updates() is