tres v0.1.0 Openflow.Action.NxResubmit
Searches the flow table again, using a flow that is slightly modified from the original lookup:
Following the lookup, the original in_port is restored.
If the modified flow matched in the flow table, then the corresponding actions are executed. Afterward, actions following NXAST_RESUBMIT in the original set of actions, if any, are executed; any changes made to the packet (e.g. changes to VLAN) by secondary actions persist when those actions are executed, although the original in_port is restored.
Link to this section Summary
Functions
Creates a new nx_resubmit action struct
Link to this section Types
port_no()
port_no() ::
:max
| :in_port
| :table
| :normal
| :flood
| :all
| :controller
| :local
| :none
| 1..65535
port_no() :: :max | :in_port | :table | :normal | :flood | :all | :controller | :local | :none | 1..65535
t()
t() :: %{in_port: port_no()}
t() :: %{in_port: port_no()}
Link to this section Functions
new(in_port \\ :in_port)
Creates a new nx_resubmit action struct
Options:
- in_port: New in_port for checking flow table in the one of the
port_no()
type
Note:
If the modified flow matchd in the flow table, then the corresponding actions are executed,
Afterward, actions following the resubmit in the original set of actions, if any, are executed;
any changes made to the packet by secondary actions persist when those actions are executed,
although the original in_port is restored
Example:
iex> %NxResubmit{in_port: :in_port} = NxResubmit.new()
iex> %NxResubmit{in_port: 1} = NxResubmit.new(1)