diff options
author | Yuichi Ito <ito.yuichi0@gmail.com> | 2013-12-16 14:15:00 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-12-17 19:51:23 +0900 |
commit | 5ac517ab36614d737c6434d9150ad0f68ecc694e (patch) | |
tree | d71ac6e6e6ef0581e07c830b58fb71fb38d4cd4e | |
parent | 52540f27da066316cfb74c928987db3cc236a60d (diff) |
rest_firewall: use the explicit max_len of flow_mod
rest_firewall had used the max_len value of flow_mod message which ofctl_v1_x specified.
in response to change ofctl_v1_x, rest_firewall gets to use the specified max_len explicitly.
Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/app/rest_firewall.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ryu/app/rest_firewall.py b/ryu/app/rest_firewall.py index ba5a166d..1c42643b 100644 --- a/ryu/app/rest_firewall.py +++ b/ryu/app/rest_firewall.py @@ -953,7 +953,8 @@ class Action(object): elif value == REST_ACTION_PACKETIN: out_port = dp.ofproto.OFPP_CONTROLLER action = [{'type': 'OUTPUT', - 'port': out_port}] + 'port': out_port, + 'max_len': 128}] else: raise ValueError('Invalid action type.') |