quality: Add testcases for table_mod, set_controller_id and resume message handlers
This commit is contained in:
parent
27cfce26b3
commit
db8aa3561b
4 changed files with 40 additions and 14 deletions
|
|
@ -16,10 +16,6 @@ defmodule Openflow.NxSetControllerId do
|
|||
%NxSetControllerId{id: controller_id}
|
||||
end
|
||||
|
||||
def read(<<@experimenter::32, @nx_type::32, _::size(6)-unit(8), controller_id::16>>) do
|
||||
%NxSetControllerId{id: controller_id}
|
||||
end
|
||||
|
||||
def to_binary(%NxSetControllerId{id: controller_id}) do
|
||||
<<@experimenter::32, @nx_type::32, 0::size(6)-unit(8), controller_id::16>>
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue