Sir,

Thanks for your reply. But I am still not sure, what is to be changed. In
the line you mentioned, it is just unpacking from the message received. The
reason  (msg.reason) must have been unpacked correctly. The problem would
be in the handling of the reason.

For example as in the comments mentioned, in the packet-in class, the
if-else statements to handle the various reasons for packet-in.

Where exactly would the handling require change?

Thank you

On Sun, Jun 14, 2015 at 3:45 PM, FUJITA Tomonori <
[email protected]> wrote:

> On Fri, 12 Jun 2015 17:37:41 +0200
> Ruchika Luthra <[email protected]> wrote:
>
> > I want to implement the handling of a new reason for the packet in to the
> > controller. But I am not sure, where all do I need to do the changes
> > (except in ofproto_v1_3.py). though I donot intend to change the
> handling,
> > I need to change the reason for which the packet has arrived at the
> > controller.
>
> I think that all you need to do is modifying the following line:
>
>
> https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3_parser.py#L2133
>



-- 

Ruchika Luthra
Student Intern
NEC Europe Ltd.
Kurfürsten-Anlage 36
D-69115 Heidelberg
E-Mail: [email protected]
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to