Hi, Having a table with 2 paths per prefix, I need to send only the best path to another table, like this: +------+ +------+ |table1| |table2| +------+ +------+ \ / \ / +v-v+ |all| +-+-+ | | +----v----+ |best_only| +---------+ As far as I remember, I could use pipe with opaque mode to achieve that in Bird 1.6. After mode has been removed in Bird 2.0, is there any simple way to do it by using pipe and filters? Currently, I configured to have a BGP session to itself to send the best paths, but I consider it as a dirty workaround... BTW, documentation for pipe in 2.0 still mentions the opaque mode - http://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.8 (2nd and 3rd paragraph). Best, Piotr -- Piotr 'GhosT' Wydrych ...... Senior II Lead Sw. Eng., SDN ....... Akamai ........................................................................ A: Because it messes up the order in which people normally read text. .. Q: Why is top-posting such a bad thing? ................................
Bumping up - even if there is no good answer to my question, I think that the documentation should be fixed :-) Piotr -------- Forwarded Message -------- Subject: Opaque pipe in bird 2.0? Date: Thu, 26 Jul 2018 09:24:50 +0200 From: Piotr Wydrych <piotr.wydrych@akamai.com> Organization: Akamai Technologies To: bird-users@network.cz Hi, Having a table with 2 paths per prefix, I need to send only the best path to another table, like this: +------+ +------+ |table1| |table2| +------+ +------+ \ / \ / +v-v+ |all| +-+-+ | | +----v----+ |best_only| +---------+ As far as I remember, I could use pipe with opaque mode to achieve that in Bird 1.6. After mode has been removed in Bird 2.0, is there any simple way to do it by using pipe and filters? Currently, I configured to have a BGP session to itself to send the best paths, but I consider it as a dirty workaround... BTW, documentation for pipe in 2.0 still mentions the opaque mode - http://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.8 (2nd and 3rd paragraph). Best, Piotr -- Piotr 'GhosT' Wydrych ...... Senior II Lead Sw. Eng., SDN ....... Akamai ........................................................................ A: Because it messes up the order in which people normally read text. .. Q: Why is top-posting such a bad thing? ................................
On Fri, Aug 17, 2018 at 03:41:30PM +0200, Piotr Wydrych wrote:
Bumping up - even if there is no good answer to my question, I think that the documentation should be fixed :-)
Hi Forgot to answer, sorry. The opaque mode was removed, it has some inherent problems and limited applicability. We plan to make some generalized pipe in the future, but for today you could stick with the BGP hack (from the internal POV it has an advantage that it is asynchronous, while pipe route propagation was synchronous).
BTW, documentation for pipe in 2.0 still mentions the opaque mode - http://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.8 (2nd and 3rd paragraph).
Thanks for the note, i will remove that. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
On 21.08.2018 14:40, Ondrej Zajicek wrote:
for today you could stick with the BGP hack (from the internal POV it has an advantage that it is asynchronous, while pipe route propagation was synchronous).
Thanks for this info! :-) Piotr -- Piotr 'GhosT' Wydrych ...... Senior II Lead Sw. Eng., SDN ....... Akamai ........................................................................ A: Because it messes up the order in which people normally read text. .. Q: Why is top-posting such a bad thing? ................................
participants (3)
-
Ondrej Zajicek -
Piotr Wydrych -
Piotr Wydrych