summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
AgeCommit message (Collapse)Author
2011-05-06Fixes several problems in filter syntax.Ondrej Zajicek
- Fixes several conflicts in the grammar. - Fixes a bug in (a..b, c) pair patterns. - Makes pair patterns orthogonal. - Allows term expressions in pair patterns without additional ( ). - Allows several comma separated values in switch cases.
2011-03-26This adds (*,x) functionality.Ondrej Filip
2011-03-23Convert && and || to shortcut boolean operators.Ondrej Zajicek
2011-03-23A hack to distinguish if..else from else: in case.Ondrej Zajicek
The old BIRD grammar needs two lookaheads to distinguish if..else from else: in case, which caused the parser to fail on some combinations of both expressions. This patch replaces two tokens 'else' ':' by one token 'else:' to fix that.
2010-09-20Changes print-like filter commands to use a log instead of a stderr.Ondrej Zajicek
And extends the log subsystem to better handle that.
2010-08-03Documentation update and improvement of tests related to expressions in sets.Ondrej Filip
2010-08-03Syntax of sets improved.Ondrej Filip
2010-05-22Extends pair set syntax, matching and deleting against clist.Ondrej Zajicek
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)).
2010-04-09NEWS and version update.Ondrej Zajicek
2010-03-29Filter language updates; new route attributes and datatype.Ondrej Zajicek
- Adds bgp_originator_id and bgp_cluster_list route attributes. - Adds dotted quad filter datatype (for router IDs, used by bgp_originator_id and ospf_router_id route attributes). - Fixes pair ~ pair set matching. - Documentation updates.
2010-03-19Clear local variables in filters and functions.Ondrej Zajicek
Fixes crash when used uninitialized variables. This problem was surprisingly tricky to fix.
2010-02-17Replaces the algorithm for building balanced trees.Ondrej Zajicek
Changes the time complexity of the algorithm from O(n^2) to O(n*log(n)). This speeds up loading of huge DEC-IX config from 128 s to 15 s. It also makes the code significantly simpler.
2010-02-10Define symbols as text between ''.Ondrej Filip
2010-01-27Priority for '||' and '&&' fixed.Ondrej Filip
2010-01-27Allow multiple || and && statements.Ondrej Filip
2009-10-12Implements protocol-specific router id and updates documentation.Ondrej Zajicek
2009-06-26Merge branch 'master' into devOndrej Zajicek
2009-06-01Adds support for dynamic pair and bgp mask expressions.Ondrej Zajicek
2009-05-28Missing boolean comparison added.Ondrej Filip
2009-03-31Reimplementation of prefix sets.Ondrej Zajicek
Prefix sets were broken beyond any repair and have to be reimplemented. They are reimplemented using a trie with bitmasks in nodes. There is also change in the interpretation of minus prefix pattern, but the old interpretation was already inconsistent with the documentation and broken. There is also some bugfixes in filter code related to set variables.
2009-03-14New syntax for bgp_pathOndrej Zajicek
2000-06-08Fix i_same for 'c' instruction.Pavel Machek
2000-06-02Do not try to divide by zero.Pavel Machek
2000-06-01Added && and ||.Pavel Machek
2000-05-25Use ? in path matching to avoid /* trap.Pavel Machek
2000-05-16Resolved shift/reduce conflictPavel Machek
2000-05-15Allow other operations than +.Pavel Machek
2000-05-15Allow accessing defined symbols.Pavel Machek
2000-05-15Use new eval mechanism for testing filters.Pavel Machek
2000-04-26Bugfix in i_same (comparing of paths still does not work).Pavel Machek
2000-04-26Added code for testing filters.Pavel Machek
2000-04-26Startup renamed to __startup: it is internal function and mj alreadyPavel Machek
uses word startup in other context.
2000-04-17pair ~ community list matching works.Pavel Machek
2000-04-17It is good idea to separate entries in list _somehow_. Adding/deletingPavel Machek
to community lists from filters now works.
2000-04-17Int sets moved to core. It is now possible to have variable of type clist.Pavel Machek
2000-04-17Path_getlen moved to nest and length was made callable from filters.Pavel Machek
2000-04-17Path matching now actually works, including / * 1 2 3 * /.Pavel Machek
2000-04-17Path and path matching seem to work, now.Pavel Machek
2000-04-12Filters now know type path. It is possible to declare variable of typePavel Machek
path, but it is not possible to write constant of type path. It should be possible to print paths and match them.
2000-04-12BGP_PATH masks now actually work as data type.Pavel Machek
2000-03-091 less shift/reduce conflictPavel Machek
print now takes arguments separated by , [ 1.2.3.0/24 .. 3.4.5.0/8 ] is now forbidden [ 1.2.3.0/8 ] now actually works
2000-03-02Avoid being exponential, do not allow ! =Pavel Machek
2000-02-25Get rid of 'ab'-s, added return to functions.Pavel Machek
2000-01-31filter_same() implemented. Don't bet on it, yet.Pavel Machek
1999-12-08Disallow rta.net syntax.Pavel Machek
1999-11-24Check that prefixes are really prefixes + fix config file toPavel Machek
comply. (:-( 1.2.3.4/8 looks nicer than 1.0.0.0/8).
1999-11-24Filters: write access to dynamic attributes should actually work. ItPavel Machek
would be nice to find method of testing such beasts.
1999-11-18Split inst->code into inst->code and inst->aux. Both are only 16 bit,Pavel Machek
so aux is suitable for storing type but not much more.
1999-11-18You can now print enum.Pavel Machek
1999-11-11Fixed order of arguments for function call.Pavel Machek
Enumeration types should work once CF_ENUM() is ready. Created test.conf for testing of filters. (I'm currently thinking about ./tests in root directory which will just fire all available tests...)