Re: [Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread Isaku Yamahata
Please don't drop ryu-devel. On Thu, Apr 25, 2013 at 10:26:17PM +0800, ?3?炯 wrote: > yes,you catch my mind, and this is a better solution than mine ,but maybe > we should consider if we do not make some changes on method actions_to_str > of ofctl_v1_0, we will receive the follow flow info

Re: [Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread Isaku Yamahata
On Thu, Apr 25, 2013 at 04:19:22PM +0800, ?3?炯 wrote: > Hello, > I find that when I use ryu app ofctl_rest to check flows, there will be an > error in method actions_to_str of ofctl_v1_0, the code as follows: > > def actions_to_str(acts): > actions = [] > for a in acts: > action_

[Ryu-devel] a bug in ofproto_v1_0

2013-04-25 Thread 郑超炯
Hello, I find that when I use ryu app ofctl_rest to check flows, there will be an error in method actions_to_str of ofctl_v1_0, the code as follows: def actions_to_str(acts): actions = [] for a in acts: action_type = a.cls_action_type if action_type == ofproto_v1_0.OFPA