Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-18 Thread nitish nagesh
Hello, Sorry for the confusion.. As you pointed out i had patched the wrong file. The ryu was installed in /usr/local/ and patching the corresponding parser file rectified the issue.. Thanks a lot again. Regards, Nitish On Thu, Apr 18, 2013 at 9:22 PM, Isaku Yamahata wrote: > On Thu, Ap

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-18 Thread Yoshihiro Kaneko
2013/4/19 Isaku Yamahata > On Fri, Apr 19, 2013 at 12:56:53AM +0900, Isaku Yamahata wrote: > > On Thu, Apr 18, 2013 at 12:45:47PM +0900, Yoshihiro Kaneko wrote: > > > @@ -2842,3 +2852,4 @@ class OFPSetAsync(MsgBase): > > > msg.flow_removed_mask) = struct.unpack_from( > > >

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-18 Thread Isaku Yamahata
On Fri, Apr 19, 2013 at 12:56:53AM +0900, Isaku Yamahata wrote: > On Thu, Apr 18, 2013 at 12:45:47PM +0900, Yoshihiro Kaneko wrote: > > @@ -2842,3 +2852,4 @@ class OFPSetAsync(MsgBase): > > msg.flow_removed_mask) = struct.unpack_from( > > ofproto_v1_3.OFP_ASYNC_C

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-18 Thread Isaku Yamahata
On Thu, Apr 18, 2013 at 12:45:47PM +0900, Yoshihiro Kaneko wrote: > @@ -2842,3 +2852,4 @@ class OFPSetAsync(MsgBase): > msg.flow_removed_mask) = struct.unpack_from( > ofproto_v1_3.OFP_ASYNC_CONFIG_PACK_STR, msg.buf, > ofproto_v1_3.OFP_HEADER_SIZ

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-18 Thread Isaku Yamahata
On Thu, Apr 18, 2013 at 10:59:16AM +0530, nitish nagesh wrote: > Hello, > >Thanks for the response. > >But even after applying the patch i still see the same error. Thank you for testing. You seem to install Ryu package (/usr/local...), can you please make it sure that you're using the p

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-17 Thread nitish nagesh
Hello, Thanks for the response. But even after applying the patch i still see the same error. However please note if the switch sends an error response to the Role Request message there is no connection drop or any errors seen. Regards, Nitish On Wed, Apr 17, 2013 at 11:56 PM, Isaku Yama

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-17 Thread Yoshihiro Kaneko
HI, Sorry for a digression from the main topic. 2013/4/18 Isaku Yamahata > Hi. It seems parser bug. > Can you please try this patch? > If it fixes the issue, I'll pushes this patch. > > thanks, > > >From 174ca4ed6504dfd1ed554a895761d6cd0f411f4f Mon Sep 17 00:00:00 2001 > From: Isaku Yamahata >

Re: [Ryu-devel] Error on receiving Role Reply message..

2013-04-17 Thread Isaku Yamahata
Hi. It seems parser bug. Can you please try this patch? If it fixes the issue, I'll pushes this patch. thanks, >From 174ca4ed6504dfd1ed554a895761d6cd0f411f4f Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 17 Apr 2013 11:17:36 -0700 Subject: [PATCH] ofproto/ofproto_v1_3_parser: parser s

[Ryu-devel] Error on receiving Role Reply message..

2013-04-17 Thread nitish nagesh
Hi All, I have written a simple controller app to generate a role request and handle the role reply message and I am able to see that the app is able to generate the Role Request message to the controller. Also from wireshark i saw the Role Reply message does come back to the controller. But i