Using Babel.router_id in filters
Maria Matejka
maria.matejka at nic.cz
Mon May 30 17:16:55 CEST 2022
Hello!
On 5/30/22 4:57 PM, James Oakley wrote:
> I would like to write a filter for a Babel protocol where I set a value based
> on the Babel router ID. I can see Babel.router_id in the route attributes, but
> it does not look like this is exposed to filters. Only babel_metric is
> exposed.
>
> Is there a reason for this or was it an oversight?
Yes, for now this is not exposed as filters don't have an appropriate
data type to handle Babel router ID.
From my personal point of view, I'd prefer to keep it as is for now
until we release version 3.0-alpha1 as there will be better API to
implement such a type.
Maria
More information about the Bird-users
mailing list