Element <chain>
Defines the chain. It has a start tag <chain> and an end tag </chain>.
Attribute
id
Specifies a unique id for an element
Interger
name
Specifies a name for an element
String
sessionUnique
one session one output
yes/no
no
disable
disable chain
yes/no
no
Elements in chain
<in>
Defines input ports. It has a start tag <in> and an end tag </in>.
Example
<out>
Defines output ports. It has a start tag <out> and an end tag </out>.
Predefined
0: Drop
S: find destination by dst-mac address (like Switch port)
Attribute
type
duplicate or loadBalance
String
duplicate
lbtype
Load Balance type, includes session, ethtype, iptype, smac, dmac, sip, dip, rr, 5thash
String
session
failover
Load Balance fail over
yes/no
yes
weight
Load Balance weight (not support session, rr type)
String
20,80
Example
<fid>
Defines packets pass through filter id. It has a start tag <fid> and an end tag </fid>.
Attribute
type
and/or
String
or
Example
<next>
Defines going next if packet match/not match filter. It has a next tag <next> and an end tag </next>.
Attribute
type
match/notmatch
String
match
Example
Example
P0->F1->P1
P0->F1->F2->P1 !>P2
Last updated