test: fix a bug which crashes when received table_features_reply that broken from openvswitch

This commit is contained in:
Eishun Kondoh 2017-11-27 11:01:08 +09:00
parent cc8adda691
commit adba03927f

View file

@ -20,8 +20,6 @@ defmodule Flay do
def init(args) do def init(args) do
state = init_controller(args) state = init_controller(args)
TableFeatures.Request.new
|> send_message(state.datapath_id)
init_bridge(state.datapath_id) init_bridge(state.datapath_id)
{:ok, state} {:ok, state}
end end
@ -148,7 +146,7 @@ defmodule Flay do
], ],
wildcards: [ wildcards: [
:in_port, :in_port,
:eth_src :eth_src,
:eth_type, :eth_type,
:masked_eth_dst, :masked_eth_dst,
:vlan_vid, :vlan_vid,