On Fri, Nov 18, 2011 at 04:11:30PM +0200, Alexander Shikoff wrote:
Hello,
what is a right way to delete all extended communities ?
bgp_ext_community.delete( [ (*,*,*) ] ); raises a syntax error.
It is true that ext_community filter syntax is more limited that community filter syntax. So this is currently not possible. We should probably add support for (*,*,*) and (something,*,*). To delete all ext. comms, currently it is possible to use these undocumented expressions: bgp_ext_community = --empty--; or perhaps: bgp_ext_community.empty; BTW, why anyone wants to delete all (extended) communities? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@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."