Add testcases for Openflow13 standard actions

This commit is contained in:
Eishun Kondoh 2019-03-18 22:22:37 +09:00
parent ffcba91395
commit 44670cfbce
4 changed files with 177 additions and 4 deletions

View file

@ -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