Using Babel.router_id in filters

Ondrej Zajicek santiago at crfreenet.org
Mon May 30 17:05:56 CEST 2022


On Mon, May 30, 2022 at 11:57:31AM -0300, James Oakley wrote:
> Hi,
> 
> 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?

Hi

The primary reason is that we do not have matching data type in filter
language to access it (64bit number or arbitrary data).

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at 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."


More information about the Bird-users mailing list