hi,

> Thank you Takashi.
> Is this the only file that needs to be changed? or do I need to make
> changes anywhere else as well? After the changes, how do I make sure that
> the changes are reflected?

ryu/ofproto/ofproto_v1_3_parser.py is the only file to change.
depending on how your message works, you might want to modify
other files like ofproto_v1_3.py and oxm_fields in the same
directory, though.

nothing special to reflect the changes.
as usual python programs, re-executing the process is fine.

YAMAMOTO Takashi

> 
> 
> 
> 
> 
> On Fri, Apr 17, 2015 at 8:50 AM, YAMAMOTO Takashi <[email protected]>
> wrote:
> 
>> > Hello,
>> >
>> > I am working with Ryu controller in integration with ofsoftswitch13 as
>> the
>> > soft switch. I want to write a new OpenFlow Message which needs to be
>> > implemented both at the switch side and the controller side. I am aware
>> of
>> > implementing it at the switch side, but I am not sure what all changes
>> and
>> > where exactly, the changes need to be done at the controller side?
>>
>> you needs to write a class for your message
>> in ryu/ofproto/ofproto_v1_3_parser.py.
>> inherit from MsgBase and implement __init__, parser,
>> serialize (or _serialize_body) methods.
>>
>> YAMAMOTO Takashi
>>
>> >
>> > Thank you
>> >
>> >
>> >
>> >
>> > Ruchika Luthra
>>
> 
> 
> 
> -- 
> Ruchika Luthra
> M.E (CS) 4th Sem
> BITS Pilani

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to