Check bgp_path.len without some AS

Xavier Trilla xavier.trilla at clouding.io
Fri Jan 4 00:10:00 CET 2019


Hi,

For some route selection configurations I need to check the bgp_path.len without some AS numbers.

I tried something like:

bgp_path.delete(AS_1);
bgp_path.delete(AS_2);

if bgp_path.len < N then ...

But doing this I modify permanently the AS path.

I've tried using a temp variable, but looks like bird doesn't allow to create bgppath "variables".

Any ideas about how this could be achieved?

Thanks!
Xavier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190103/cfbe2cdd/attachment.html>


More information about the Bird-users mailing list