7 Mar
2012
7 Mar
'12
1:47 p.m.
Hello, On Wed, Mar 07, 2012 at 03:45:42PM +0400, Oleg wrote:
Hi, list.
I have the next situation. I want to filter our AS communities in an input filter. So, i made the next function for this:
Principles of community processing in your case is difficult for me to understand. I've never used such complicated logic. But I hope I have answer at least on the one of your questions:
1. If we have empty clist or empty pair set constructions, we can do if ( allowed = [] ) then instead of hack with (0,0) community;
Try negation: if ! (bgp_community ~ [ (0,0) .. (65535,65535) ]) then { ... } -- Alexander Shikov Technical Staff, Digital Telecom IX