Thank you Yusuke Iwase!

Среда, 15 апреля 2015, 15:40 +09:00 от Yusuke Iwase <[email protected]>:
>Hi,
>
>On 2015年04月13日 20:58, Николай Жупиков wrote:
>> Could you write a sample code which uses OF1.5 tcp_flags ryu in any 
>> application?
>
>Please refer to the following.
>This example is for OpenFlow1.4, but similar to OpenFlow1.5.
>( 
>http://ryu.readthedocs.org/en/latest/ofproto_v1_4_ref.html#ryu.ofproto.ofproto_v1_4_parser.OFPFlowMod
> )
>
>e.g.)
>def send_flow_mod(self, datapath):
>    ofp = datapath.ofproto
>    ofp_parser = datapath.ofproto_parser
>
>    match = ofp_parser.OFPMatch(tcp_flags=1, ip_proto=6)
>    actions = [ofp_parser.OFPActionOutput(ofp.OFPP_NORMAL, 0)]
>    inst = [ofp_parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS,
>                                             actions)]
>
>    req = ofp_parser.OFPFlowMod(datapath=datapath, match=match,
>                                instructions=inst)
>    datapath.send_msg(req)
>
>Thanks,
>Iwase
>
>> ------------------------------------------------------------------------------
>> 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
>> 



------------------------------------------------------------------------------
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