ofctl lib: Actions is a list
Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> Acked-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
80bf4d30fb
commit
2ea5431ad3
@ -285,7 +285,7 @@ def mod_flow_entry(dp, flow, cmd):
|
||||
flags = int(flow.get('flags', 0))
|
||||
idle_timeout = int(flow.get('idle_timeout', 0))
|
||||
hard_timeout = int(flow.get('hard_timeout', 0))
|
||||
actions = to_actions(dp, flow.get('actions', {}))
|
||||
actions = to_actions(dp, flow.get('actions', []))
|
||||
match = to_match(dp, flow.get('match', {}))
|
||||
|
||||
flow_mod = dp.ofproto_parser.OFPFlowMod(
|
||||
|
@ -249,7 +249,7 @@ def mod_flow_entry(dp, flow, cmd):
|
||||
out_group = int(flow.get('out_group', dp.ofproto.OFPG_ANY))
|
||||
flags = int(flow.get('flags', 0))
|
||||
match = to_match(dp, flow.get('match', {}))
|
||||
inst = to_actions(dp, flow.get('actions', {}))
|
||||
inst = to_actions(dp, flow.get('actions', []))
|
||||
|
||||
flow_mod = dp.ofproto_parser.OFPFlowMod(
|
||||
dp, cookie, cookie_mask, table_id, cmd, idle_timeout,
|
||||
|
@ -254,7 +254,7 @@ def mod_flow_entry(dp, flow, cmd):
|
||||
out_group = int(flow.get('out_group', dp.ofproto.OFPG_ANY))
|
||||
flags = int(flow.get('flags', 0))
|
||||
match = to_match(dp, flow.get('match', {}))
|
||||
inst = to_actions(dp, flow.get('actions', {}))
|
||||
inst = to_actions(dp, flow.get('actions', []))
|
||||
|
||||
flow_mod = dp.ofproto_parser.OFPFlowMod(
|
||||
dp, cookie, cookie_mask, table_id, cmd, idle_timeout,
|
||||
|
Loading…
x
Reference in New Issue
Block a user