Element <action>
Defines the Action. It has a start tag <action> and an end tag </action>.
Two main funcitons, "input packet process" and "link pairs".
Attribute
id
Specifies a unique id for an element
Interger
*
name
Specifies a name for an element
String
type
action type
String
input-packet-process or linkpairs
Example
Elements in Action
input-packet-process type
<port>
Defines input port(must have). It has a start tag <port> and an end tag </port>.
<Q>
Defines vlan tagging. It has a start tag <Q> and an end tag </Q>.
<QinQ>
Defines vlan layer 2 tagging. It has a start tag <QinQ> and an end tag </QinQ>.
<stripping>
Defines stripping. It has a start tag <stripping> and an end tag </stripping>.
support type
payload
vlan
mpls
gre
vxlan
gre-erspan
gtp
grism
mpls-in-udp
mpls-in-gre
<tagging>
Defines tagging. It has a start tag <tagging> and an end tag </tagging>.
support type
timestamp
gtp
gtp2
grism
<maxlen>
Defines packet max length. It has a start tag <maxlen> and an end tag </maxlen>.
linkpairs type
If portA down, force portB down, and vice versa.
Last updated