Hello  FUJITA Tomonori :

I want to use the code below for adding flow,

match = parser.OFPMatch(eth_type=0x800,
ipv4_src=("192.168.1.0","255.255.255.0"))
actions = [parser.OFPActionOutput(3)]
inst = [parser.OFPInstructionActions(ofproto.OFPIT_APPLY_ACTIONS,
                                     actions)]
mod = parser.OFPFlowMod(datapath=datapath, priority=11111,
                        match=match, instructions=inst)
datapath.send_msg(mod)

but I do not have no idea how to use this code  in simple_switch_13.py

How should I do?   THX.
------------------------------------------------------------------------------
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to