[Ryu-devel] ryu exception

2014-03-14 Thread cnmjbm
Hi, I am experiencing an runtime exception with Ryu, when i entered this REST request: curl http://0.0.0.0:8080/stats/flow/272744406898180 The log is as below: (16470) accepted ('127.0.0.1', 46669) Error in the datapath f80f417cd604 from ('10.1.10.199', 56049) hub: uncaught exception: Tra

[Ryu-devel] How to run multiple app and receive PacketIn event in order

2014-03-14 Thread Vincent.Chao
Hi Guys, If I run two app like: ryu-manager My_app.py Simple_Switch.py The result will be: EVENT ofp_event-> My_app EventOFPPacketIn EVENT ofp_event-> SimpleSwitch EventOFPPacketIn [Debug msg] this is My_app get packetin [Debug msg] this is Simpleswitch get packetin It seems Ryu generate double

[Ryu-devel] [PATCH] ofctl_v1_2: Fix unsuitable log

2014-03-14 Thread Satoshi Kobayashi
When using type 'ALL', the log unsuitable is outputted: Unknown type: ALL Signed-off-by: Satoshi Kobayashi --- ryu/lib/ofctl_v1_2.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index 273b387..c86148c 100644 --- a/ryu/lib

Re: [Ryu-devel] [PATCH] ofctl_v1_3: Fix unsuitable log

2014-03-14 Thread Satoshi Kobayashi
2014-03-14 11:27 GMT+09:00 YAMAMOTO Takashi : > > ofproto_v1_3.OFPGT_ALL is 0 and 0 is False on Python. When using type > 'ALL', the following is set to True. > > > > if not type_: > > LOG.debug('Unknown type: %s', group.get('type')) > > > > Therefore, the log unsuitable is outputted: > > Unkn