Example of input commands for the driver of the forwarding table. The syntax of commands is somehow similar to the syntax of C, especially that of literal values.
ifconfig 2 price < 500,
dest = "MXP",
classes ** "Y"
|
alert = "connection refused",
host = "www.example.com",
port = 23
|
auction_group =* "guitars/electric",
maker = "PRS",
price < 2000
;
ifconfig 10 dest = "LGA",
price < 300
|
system = "Siena",
new_release = true
|
team > "d",
team < "s",
score > 0
;
ifconfig 20 dest any string,
price < 300
|
system = "Siena",
release any any
;
ifconfig 30 dest = "LUG",
price < 500,
"30-day-cancellation" = true
;
%consolidate
%timer_start
select carrier = "UA"
orig = "DEN"
dest = "MXP"
price = 700
stops = 1
classes = "Q,Y,P,F"
;
select carrier = "UA"
orig = "DEN"
dest = "LGA"
price = 200
stops = 0
classes = "Y,P"
;
%timer_stop
%print_statistics
%pre_process_limit = 20
%timer_start
select carrier = "UA"
orig = "DEN"
dest = "MXP"
price = 700
stops = 1
classes = "Q,Y,P,QF" ;
select carrier = "UA"
orig = "DEN"
dest = "LGA"
price = 200
stops = 0
classes = "Y,P" ;
%timer_stop
%clear