Community lists and ~ operator
Alexander Shikoff
minotaur at crete.org.ua
Mon Sep 13 19:50:23 CEST 2010
Hello,
I have a problem with implementing following logic:
if route has any of communities 31210:0 ... 31210:65535 then do nothing
else add community 31210:31210.
I tried next control:
if ! ( (31210,*) ~ bgp_community ) then {
bgp_community.add((31210,31210));
}
print bgp_community;
but without success:
bird> configure
Reading configuration from /usr/local/etc/bird.conf
/usr/local/etc/bird.conf, line 61: syntax error
Any ideas? Thanks in advance!
--
MINO-RIPE
More information about the Bird-users
mailing list