BGP extented communities checks

Arnaud Fenioux afenioux at franceix.net
Thu May 28 11:48:25 CEST 2015


On 22 May 2015, at 10:52, Ondrej Zajicek <santiago at crfreenet.org> wrote:
> 
> 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;
>> bgp_ext_community.delete([(ro,0,*)]);
>> 
>> But according to my tests, RT should be used.
>> Did anybody made the same ascertainment?
> 
> Hi
> 
> Well, you could use either RT or RO, they are just different classes of
> extended communities. But semantically, using RT makes more sense.
> 

Hello Ondrej,

Thank you for your answer,
So, I’m surprised RO are not working for me!

Could someone update the GitHub examples, as RT seams more logical, and works like expected?

Thanks

--
Arnaud Fenioux
Network Engineer - FranceIX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20150528/dcc813ee/attachment.asc>


More information about the Bird-users mailing list