On Fri, Mar 02, 2012 at 05:46:37PM +0200, Alexander Shikoff wrote:
Hello!
After upgrade my Route Servers from 1.2.4 to 1.3.6 community processing got broken. Simple function
function check_community () pair set wrong; { # # Delete disallowed communities # wrong = [ # 0:XXXXX - Do not announce to peer (0,0)..(0,99), (0,101)..(0,65535) ]; bgp_community.delete(wrong); }
deletes ALL communities (0,*) including (0,100).
The workaround is to use 'filter' instead 'delete' with non-inverted pair set: function check_community () pair set c; { c = [ (0,100) ]; bgp_community.filter(c); } But .delete seems to be broken... -- MINO-RIPE