Adding more then one bgp community at once

Alexander Zubkov green at qrator.net
Fri May 5 16:30:00 CEST 2023


I think one can now write a custom function using "for" to obtain that
functionality.

On Fri, May 5, 2023 at 3:40 PM Ondrej Zajicek <santiago at crfreenet.org>
wrote:

> On Fri, May 05, 2023 at 01:10:10PM +0300, Mikhail Grishin wrote:
> > Hi,
> >
> > I tried the same at BIRD 2.13 . It reports  "Can't add set".
> >
> > At the same time in docs
> > --
> > |add(/C/,/P/)| adds pair (or quad) /P/ to clist /C/ and returns the
> result.
> > If item /P/ is already in clist /C/, it does nothing. /P/ may also be a
> > clist, in that case all its members are added; i.e., it works as clist
> > union.
>
> Hi
>
> The docs says "/P/ may also be a clist", but it cannot be a pair set,
> while the literal '[(1,1), (1,2)]' is a pair set literal. Unfortunately
> we do not have literals for clists.
>
> --
> 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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230505/3383ac9f/attachment.htm>


More information about the Bird-users mailing list