BGP extented communities checks
santiago at crfreenet.org
Fri May 22 10:52:34 CEST 2015
On Thu, May 21, 2015 at 11:37:23PM +0200, Arnaud Fenioux wrote:
> Hi folks!
> I have played with extended communities with some of my peers, and have written this function below to facilitate my checks.
> On the examples found on github (https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_multiple_RIBs and https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_single_RIB)
> I have noticed that RO are used :
> if (ro,myas,peeras) ~ bgp_ext_community then return true;
> But according to my tests, RT should be used.
> Did anybody made the same ascertainment?
Well, you could use either RT or RO, they are just different classes of
extended communities. But semantically, using RT makes more sense.
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the Bird-users