Re: [Ryu-devel] Increasing timeouts

2015-04-14 Thread Govind Prasad
Hi Yusuke, Many thanks, will try this and update you. Also, have you tried it working? If yes could you please share the ".py" file you modified Regards, Govind Prasad Sent from my iPhone > On Apr 14, 2015, at 1:46 AM, Yusuke Iwase wrote: > > Hi Govind, > > > I think your app needs some

Re: [Ryu-devel] Increasing timeouts

2015-04-13 Thread Yusuke Iwase
Hi Govind, I think your app needs some modification. 1. The method name "_packet_in_handler" is duplicated. If you need to add another method for Packet-In, Please change the method name. 2. Import module of "tcp" packet lib is missing. + from ryu.lib.packet import tcp 3. If the proce

Re: [Ryu-devel] Increasing timeouts

2015-04-13 Thread Govind Prasad
Hi Yusuke, Please let me know if you need any more information on this to achieve the desired result. Thanks a lot for your esteemed support !!! Regards, Govind Prasad On Mon, Apr 13, 2015 at 1:56 PM, Govind Prasad wrote: > Hi Yusuke, > > The following is my openflow version: > > govind@govin

Re: [Ryu-devel] Increasing timeouts

2015-04-13 Thread Govind Prasad
Hi Yusuke, The following is my openflow version: govind@govind-RYU-virtual-machine:~/ryu$ ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.0.2 Compiled Aug 15 2014 14:31:03 OpenFlow versions 0x1:0x1 when I run the controller script "simple_switch_scott.py" my edited file (also attached herew

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Yusuke Iwase
Hi Govind, Did you get any error messages from ryu-manager? If not, first, please check OpenFlow version of your swtich. ("simple_switch.py" is OpenFlow 1.0 App.) And, by capturing packet with Wireshark, you can get the helpful information for debug. (e.g. whether Controller sends FlowMod messag

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Govind Prasad
Hi Yusuke, Thanks for the suggestion, I tried the following code in "simple_switch.py" however when I send TCP packets from h1 to h2 using iperf in mininet, the packets are getting transmitted but the flows are not getting written in the switch table: @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Yusuke Iwase
Hi Govind, > 4. If port numbe is greater than 5000, idle timeout is 100 seconds. You can parse the Packet-In data and get the port number by using packet library. e.g.) @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER) def _packet_in_handler(self, ev): msg = ev.msg

Re: [Ryu-devel] Increasing timeouts

2015-04-12 Thread Govind Prasad
Hi yusuke, Thanks fir the info however can you please specify how to implement the following scenario: 1. Iperf client send the tcp message on port 8000 2. Iperf server receives the tcp port through ovs 3. Ryu asks the ovs to write the flow with default values 4. If port numbe is greater than 5

[Ryu-devel] Increasing timeouts

2015-04-08 Thread Govind prasad
Hi experts, I am working on an application which works as follows: 1. The switch gets the first TCP packet 2. It sends the packet to the controller 3. The controller invokes an application which was looking for TCP packets. 4. The application sets a extended idle timeout (fore ample 1 hour) an