From ba5c0057ed01fb006b7a6fb1bd8c21f0c9ae12be Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sat, 22 May 2010 22:47:24 +0200 Subject: Extends pair set syntax, matching and deleting against clist. Expressions like (123,*) can be used in pair set literals, clists can be matched against pair sets (community ~ pairset) and pair sets can be used to specify items to delete from clists (community.delete(pairset)). --- doc/bird.sgml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/bird.sgml b/doc/bird.sgml index 61ebc7a..a6fa4df 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -706,7 +706,8 @@ incompatible with each other (that is to prevent you from shooting in the foot). Filters recognize four types of sets. Sets are similar to strings: you can pass them around but you can't modify them. Literals of type int set look like [ 1, 2, 5..7 ]. As you can see, both simple values and ranges are permitted in - sets. + sets. For pair sets, expressions like ipaddress/pxlen{low,high}. @@ -777,9 +778,16 @@ incompatible with each other (that is to prevent you from shooting in the foot). no literals of this type. There are two special operators on clists: - add( adds pair (or quad) add( adds pair (or quad) delete( deletes pair (or quad) delete( deletes pair (or quad) + can be shortened to if Control structures -- cgit v1.2.3