quality: Add test cases for openflow actions

This commit is contained in:
Eishun Kondoh 2019-04-23 12:27:32 +09:00
parent d2a6488f79
commit f948b0588d
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,7 @@ defmodule Openflow.Action.NxSetTunnel64 do
alias __MODULE__
alias Openflow.Action.Experimenter
@spec new(tunnel_id :: 0..0xFFFFFFFFFFFFFFFF) :: %NxSetTunnel64{tunnel_id: 0..0xFFFFFFFFFFFFFFFF}
def new(tunnel_id) do
%NxSetTunnel64{tunnel_id: tunnel_id}
end