Add testcases for Openflow13 standard actions
This commit is contained in:
parent
ffcba91395
commit
44670cfbce
4 changed files with 177 additions and 4 deletions
|
|
@ -3,9 +3,11 @@ defmodule Openflow.Action.PopMpls do
|
|||
|
||||
alias __MODULE__
|
||||
|
||||
@eth_p_mpls_uc 0x8847
|
||||
|
||||
def ofpat, do: 20
|
||||
|
||||
def new(ethertype) do
|
||||
def new(ethertype \\ @eth_p_mpls_uc) do
|
||||
%PopMpls{ethertype: ethertype}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue