These are chat archives for Exa-Networks/exabgp

29th
Jun 2018
Thomas Mangin
@thomas-mangin
Jun 29 2018 14:53
Please can you send the output of exabgp -d when you see the issue .. It would really help.
Justin
@JustinAzoff
Jun 29 2018 15:07
sure, one sec
hmm, doesn't really show anything different from the normal output
PM'd you the screenshot from wireshark that also shows the mismatch
i should be able to come up with 2 exabgp configs that can be ran over loopback that reproduce this issue
Justin
@JustinAzoff
Jun 29 2018 15:39
ah, can reproduce it without even peering
just need to define two peers and inject routes
Justin
@JustinAzoff
Jun 29 2018 15:46
ah.. maybe not. this may take a bit of work to come up with a reproducable test
I need to do what qa/self/simple is doing, but over both v4 and v6
Justin
@JustinAzoff
Jun 29 2018 15:52
I almost narrowed down the root cause anyway
when you announce a route via dynamic api and use nex-hop self, it loops through all the peers and temporarily saves the next hops under self._nexthopself when it generates the routes, but something is doing wrong there, maybe because I use a group
and it seems to be non deterministic, so possibly related to the order of the dictionary when it does teh for peer,nexthop in peers.iteritems():
Thomas Mangin
@thomas-mangin
Jun 29 2018 15:55
Thank you very much for tracking this issue — next-hop self was a shortcut I should have not added — or added earlier / with better design
Justin
@JustinAzoff
Jun 29 2018 15:57
yeah.. I could not understand why i couldn't inject v6 routes properly, once i tracked down the issue i realized my last deployment used 2 specific null routed v4 and v6 ips and did not use self
for now I got it up and running by just templating in the bgp injectors local v4 and v6 ips into the config in place of 'self' and that is working great
Thomas Mangin
@thomas-mangin
Jun 29 2018 16:09
Once we have this fix - I will surely release 4.0.7 as the list of fixes since 4.0.6 starts to be long ..
Thanks
Justin
@JustinAzoff
Jun 29 2018 16:09
ah, I am actually using 3.4.25, wasn't sure if 4.0.x was recommended for production yet
Thomas Mangin
@thomas-mangin
Jun 29 2018 16:23
I want to change some of the API command (exabgpcli). It should be nearly as stable as 3.4 ATM
As it is now what is installed by default by pip it has quite some use