Add openflow enum generator
This commit is contained in:
parent
44919bc079
commit
0dd7867ceb
9 changed files with 14005 additions and 528 deletions
|
|
@ -19,6 +19,7 @@ defmodule Openflow.Echo.Reply do
|
|||
data: options[:data] || ""
|
||||
}
|
||||
end
|
||||
|
||||
def new(data) when is_binary(data) do
|
||||
%Reply{data: data}
|
||||
end
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ defmodule Openflow.Echo.Request do
|
|||
data: options[:data] || ""
|
||||
}
|
||||
end
|
||||
|
||||
def new(data) when is_binary(data) do
|
||||
%Request{data: data}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue