Hi, On 2015年07月12日 15:04, Adrián Fernández wrote: > Hello, > > I want to add 2 different flows for one packet_in event, is it possible? > Something like: > > if ip4_pkt: > match = parser.OFPMatch(in_port=in_port, eth_dst=mac_dst, > eth_type=0x0800, ipv4_src='10.0.0.1') > match2 = parser.OFPMatch(in_port=in_port, eth_dst=mac_dst, > eth_type=0x0800, ipv4_src='172.16.0.1') > self.add_flow(datapath, 1, match, actions) > self.add_flow(datapath, 1, match2, actions2)
Yes. It is possible. I tried to run sample application (based SimpleSwitch13.py) that including the above source code、 adding 2flow was successful in my environment. thanks, > > Regards, > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
