These are chat archives for Exa-Networks/exabgp

19th
Jan 2015
tim-preston
@tim-preston
Jan 19 2015 13:59 UTC
What's the status of BGP extended communities? I'm seeing some inconsistent behaviour when trying to set these, and the sample config in the code seems to look a bit iffy.
Thomas Mangin
@thomas-mangin
Jan 19 2015 14:14 UTC
Hi Tim, AFAIK, the code is stable and fully functional
Could you please tell me what you find to not be working as expected. If there is a bug I can fix it today
tim-preston
@tim-preston
Jan 19 2015 14:24 UTC
Well one issue is how do I specify wether a 4 Octet ASN is vein used when I have the form target:<adn
Bah, target:<asn>:<value>
And probably related to that target:60000:160000 or origin:160000:60000 seem to work, but origin:60000:160000 or target:160000:60000 throw an error error: 'H' format requires 0 <= number <= 65535
tim-preston
@tim-preston
Jan 19 2015 14:29 UTC
But I'm wrestling a little bit with how the extended communities are being represented in the BIRD table dump I'm generating my config from so I'm not 100% sure I have my head around this yet and it isn't a problem at my end...
Thomas Mangin
@thomas-mangin
Jan 19 2015 14:48 UTC
Ok - do you want me to call you ?
Sorry for the delay in answering
I will look into this I believe this is normal tho.
Thomas Mangin
@thomas-mangin
Jan 19 2015 14:53 UTC
The way the numbers are split betwen target and origin
Long : short vs short : Long — I will check the RFC and see if the code is correct
Thomas Mangin
@thomas-mangin
Jan 19 2015 15:25 UTC
Tk
Tim, you can add a “L” at the end of the number to say that the number is a LONG (i.e.: ASN4)
origin:1L:2 with do
I added the parsing for origin4:1:2 which will take the first number as long
tim-preston
@tim-preston
Jan 19 2015 15:29 UTC
OK sounds good
Thomas Mangin
@thomas-mangin
Jan 19 2015 15:29 UTC
Untested, not added any unittesting but should work (otherwise shout here)
going into a meeting will be back in around one hour