Re: bgpd validate ASPATH with ASPA

2023-01-24 Thread Theo Buehler
On Fri, Jan 20, 2023 at 02:44:16PM +0100, Claudio Jeker wrote: > On Fri, Jan 20, 2023 at 12:21:14PM +0100, Claudio Jeker wrote: > > This diff adds the reload logic and rewrites larger parts of what was > > already there to have ASPA validation in the RDE. > > > > The main reason this diff is so la

Re: bgpd validate ASPATH with ASPA

2023-01-20 Thread Claudio Jeker
On Fri, Jan 20, 2023 at 12:21:14PM +0100, Claudio Jeker wrote: > This diff adds the reload logic and rewrites larger parts of what was > already there to have ASPA validation in the RDE. > > The main reason this diff is so large is that the ASPA state cache on > struct rde_aspath needs to be afi/a

bgpd validate ASPATH with ASPA

2023-01-20 Thread Claudio Jeker
This diff adds the reload logic and rewrites larger parts of what was already there to have ASPA validation in the RDE. The main reason this diff is so large is that the ASPA state cache on struct rde_aspath needs to be afi/aid and role independent. So I changed the aspa functions to be role and a