Re: [Ryu-devel] adding flow without flooding using python code

2015-04-16 Thread Gavin Chan
Hi Iwase, Thanks for your reply,but... I still have no idea. If i want to try a Experiment to implement one PC ping another (the source host) will get ''host unreachable command. How can I do? Thanks a lot, Gavin 2015-04-16 10:31 GMT+08:00 Yusuke Iwase : > Hi, > > > but I do not have no idea h

Re: [Ryu-devel] adding flow without flooding using python code

2015-04-15 Thread Yusuke Iwase
Hi, > but I do not have no idea how to use this code in simple_switch_13.py It depends on when you want to install that flow with your apps. If when the controller gets Packet-In, you should implement it in _packet_in_handler(), or when the connection are established, please implement it in swi

Re: [Ryu-devel] adding flow without flooding using python code

2015-04-15 Thread 詹翔宇
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, act

Re: [Ryu-devel] adding flow without flooding using python code

2015-04-15 Thread 詹翔宇
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, act

Re: [Ryu-devel] adding flow without flooding using python code

2015-03-09 Thread FUJITA Tomonori
On Mon, 9 Mar 2015 20:31:05 + (UTC) "MD.Badruzzaman Shakib" wrote: > hello ryuian, > I need some help to add flow to the switches using ryu app but without > flooding.  > > I think it is possible to match the destination 192.168.1.1/24 in a flow by > using Curl as follow- > curl -X POST -

[Ryu-devel] adding flow without flooding using python code

2015-03-09 Thread MD.Badruzzaman Shakib
hello ryuian, I need some help to add flow to the switches using ryu app but without flooding.  I think it is possible to match the destination 192.168.1.1/24 in a flow by using Curl as follow- curl -X POST -d '{     "dpid": 3,     "cookie": 1,     "cookie_mask": 1,     "table_id": 0,     "idle