[Ryu-devel] [PATCH 0/2] wsgi: Wrapper classes of Request/Response in WebOb

2016-12-25 Thread IWASE Yusuke
With WebOB 1.7.0+, "charset" can not be omitted when constructing Request/Response instance and exception will occur if omitted. Example of Error occured on Travis-CI. Traceback (most recent call last): ...(snip) File "/home/travis/build/iwaseyusuke/ryu/ryu/app/ofctl_rest.py", line 220, in

[Ryu-devel] [PATCH 2/2] ryu/app: Use Request/Response wrappers in REST Apps

2016-12-25 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/ofctl_rest.py | 7 +++ ryu/app/rest_conf_switch.py | 6 +++--- ryu/app/rest_firewall.py | 3 +-- ryu/app/rest_qos.py | 7 --- ryu/app/rest_router.py| 2 +- ryu/app/rest_to

[Ryu-devel] [PATCH 1/2] wsgi: Wrapper classes of Request/Response in WebOb

2016-12-25 Thread IWASE Yusuke
With WebOB 1.7.0+, "charset" can not be omitted when constructing Request/Response instance and exception will occur if omitted. This patch adds wrapper classes of Request/Response for setting charset="UTF-8" by default. Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 30 ++

[Ryu-devel] [RFC] Separate test files

2016-12-25 Thread Iwase Yusuke
Hi Team, I found the installed data size of Ryu is relatively large and most of them are files for tests. e.g.) (py35) $ du -sh .tox/py35/lib/python3.5/site-packages/ryu/ 28M .tox/py35/lib/python3.5/site-packages/ryu/ (py35) $ du -sh .tox/py35/lib/python3.5/site-packages/ryu/tests/ 19M .t

Re: [Ryu-devel] Trouble parsing DHCP packets

2016-12-25 Thread Shinpei Muraoka
Hi, I think that this problem is that OpenFlow Switch buffers packets. Therefore, I think that the controller can not receive all Packet-In packets. For the work around, please try configuring OpenFlow Switch not to buffer packets. You can set the miss_send_len by using OFPSetConfig. For detai