BIRD performance in a dynamic scenario
Yakimus // Netassist NOC
yakimus at netassist.ua
Tue May 20 15:55:29 CEST 2025
Hello!
You can add the comunity directly in the inbound filters of the peer
--
Mykola Yakymenko
NETassist
On Tue, May 20, 2025 at 07:43:28AM +0000, Maxime Peim (mpeim) via Bird-users wrote:
> Hi everyone,
>
> First of all, thanks a lot for BIRD !
>
> I have some questions about the dynamicity of BIRD wiht BGP.
> In a scenario where routes needs to be updated accondingly depending on some external informations, I find out that those informations would need to be written into the BIRD configuration file.
>
> As an example, if we need to add a bgp community based on the peer address (already known), we would need something like that :
>
> ```bird
> function get_community_from_peer_address(ip addr) -> pair {
> case addr {
> <addr1> : (1,1) ;
> <addr2> : (245, 12434) ;
> …
> else : (0, 0) ;
> }
> }
> ```
>
> And we could update that function if needed in the future but the configuration will need to be parsed each time.
> If the rate of update is high, it can become a bootleneck.
>
> So I would like to know if I am going the right direction doing that way ?
> Is there a plan for a direct API to BIRD internals instead of passing a configuration file ?
>
> Thanks in advance for your answer,
> Maxime Peim
>
More information about the Bird-users
mailing list