gobgp icon indicating copy to clipboard operation
gobgp copied to clipboard

send-max: respect configuration

Open maxime-peim opened this issue 11 months ago • 6 comments

  • send first SendMax routes for a given prefix to neighbors
  • when route withdrawal, send the next filtered route
  • add a local identifier to a path (rf:prefix:local id)
  • register which paths are filtered per peer

maxime-peim avatar Mar 15 '24 11:03 maxime-peim

Hi @fujita I was not able to run zapi test locally, will it be possible to run the CI please?

maxime-peim avatar Mar 20 '24 09:03 maxime-peim

I've just run the CI. btw, you can run the CI by forking the gobgp repository and creating a pull request for your repository.

fujita avatar Mar 20 '24 09:03 fujita

Thanks! This is what I have done, but the CI does not seem to be triggered when force-pushing

maxime-peim avatar Mar 20 '24 09:03 maxime-peim

Sorry, it should be good now. However, I didn't find a way to re-run the CI from my side apart from closing and reopening the PR...

maxime-peim avatar Mar 20 '24 10:03 maxime-peim

Hi @fujita @bayrinat, Do you have comments to do on that PR, please?

maxime-peim avatar Apr 04 '24 06:04 maxime-peim

Anyone?

maxime-peim avatar Apr 11 '24 12:04 maxime-peim

Thanks a lot for working the feature! So each peer needs to keep filtered paths in memory. looks like it could consume lots of memory in some configurations. Any other way to implement that feature?

fujita avatar Apr 16 '24 09:04 fujita

Thanks a lot for working the feature! So each peer needs to keep filtered paths in memory. looks like it could consume lots of memory in some configurations. Any other way to implement that feature?

Hi @fujita, Each peer keeps a key to the path that is stored in the local RIB, it does not have a copy of the path. Maybe we could only store N filtered paths if the limit is set to N. So, we could replace all the advertised paths are withdrawn at once.

maxime-peim avatar Apr 22 '24 10:04 maxime-peim

Thanks a lot!

fujita avatar Apr 29 '24 09:04 fujita