Adding more then one bgp community at once

Борис Коваленко b.ju.kovalenko at gmail.com
Sat Mar 4 19:28:08 CET 2017


Hello, Ondrej!

Would You please implement it? It is very usefull in sutiation where there
is "common" import/export function like:

function f_bgp_peer_i(int v_local_pref, int set flags, clist v_comms)

and call to this function

import where f_bgp_peer_i(350, [], [(X:1), (X:2)])

Regards,
Boris


вт, 28 февр. 2017 г. в 5:49, Ondrej Zajicek <santiago at crfreenet.org>:

> On Mon, Feb 27, 2017 at 08:04:41AM +0000, Борис Коваленко wrote:
> > Hello!
> >
> >
> > Is this possible to add many communites at once?
> > bgp_community.add([(1,1), (1,2)]) is wrong "Setting clist attribute to
> > non-clist value"
>
> No, this is not implemented (although it makes sense). You have to add
> each community independently. But the code should generate a different
> error message ("Can't add set"), that seems like bug.
>
> --
> 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/20170304/6c5f0f87/attachment.html>


More information about the Bird-users mailing list