diff options
author | MichaĆ Rzepka <mrzepka@student.agh.edu.pl> | 2016-08-31 12:58:54 +0200 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-09-07 09:34:44 +0900 |
commit | 03e8028ce6324fef265abac03ec40471fadc1961 (patch) | |
tree | aabd6a1ba6b942d0d1a3bca9ef2f951534b0dedb | |
parent | c09cd3dc683715b53953ca1cbcd57ff91b971ffd (diff) |
lib/ofctl_v1_4: correct argument order for OFPFlowMod constructor
Invalid OFPFlowMod flag and importance values were observed when using
app/ofctl_rest. This patch restores the proper order of arguments passed
to OFPFlowMod constructor in mod_flow_entry (ofctl_v1_4.py).
Signed-off-by: Michal Rzepka <mrzepka@student.agh.edu.pl>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/ofctl_v1_4.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/ofctl_v1_4.py b/ryu/lib/ofctl_v1_4.py index 71e33fd7..edfe297e 100644 --- a/ryu/lib/ofctl_v1_4.py +++ b/ryu/lib/ofctl_v1_4.py @@ -827,7 +827,7 @@ def mod_flow_entry(dp, flow, cmd): flow_mod = dp.ofproto_parser.OFPFlowMod( dp, cookie, cookie_mask, table_id, cmd, idle_timeout, hard_timeout, priority, buffer_id, out_port, out_group, - importance, flags, match, inst) + flags, importance, match, inst) ofctl_utils.send_msg(dp, flow_mod, LOG) |