BIRD performance in a dynamic scenario
Maxime Peim (mpeim)
mpeim at cisco.com
Tue May 20 09:43:28 CEST 2025
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250520/bb4d183a/attachment.htm>
More information about the Bird-users
mailing list