Correct Alexis. Are you referring to “lithium” as the release ? From: Alexis de Talhouët [mailto:[email protected]] Sent: Monday, April 18, 2016 11:52 PM To: Shuva Jyoti Kar Cc: [email protected] Subject: Re: [openflowplugin-dev] Switch idle timeout
I think this is what I was looking for: https://git.opendaylight.org/gerrit/#/c/35498/ But it’s not in lithium. Thanks, Alexis On Apr 18, 2016, at 2:16 PM, Alexis de Talhouët <[email protected]<mailto:[email protected]>> wrote: Hello Shuva, I think it does answer my question. What you’re saying is once the switch-idle-timeout is reached, OFJ will send an SwitchIdleEvent to OFP, that will result in an ECHO_REQUEST to the switch, with a timeout of 2 seconds. If the ODL doesn’t hear from the switch within this timeout, the connection is shut down. Thanks, Alexis On Apr 18, 2016, at 12:58 PM, Shuva Jyoti Kar <[email protected]<mailto:[email protected]>> wrote: Hello Alexis, as I understand from the code, switch idle timeout specifies the amount of time that has to elapse, after which a SwitchIdleEvent message is sent upstream – notifying OpenFlow Plugin about idleness of a switch. On first detection of Idle state the ofplugin sends an echo request downstream and waits max for 2000 ms for an echo-reply,( missing which It puts the connection as down),thereafter every 2 secs the echo-request and reply is exchanged. Now setting the switch-idle-timeout will be dependent on the type of use-case that you are putting ofplugin. In case the application tries to stress-test the plugin by pumping millions of flows per sec,we can increase the number, to prevent the echo_request being lost behind lots of flow_mods resulting in connection drop/flap. Did that answer your question ? Thanks Shuva From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Alexis de Talhouët Sent: Monday, April 18, 2016 8:23 PM To: [email protected]<mailto:[email protected]> Subject: [openflowplugin-dev] Switch idle timeout Hello openflowplugin-dev, I would like to understand better the usage of switch-idle-timeout [0]. I thought that was the timeout after which the switch was considered unreachable by ODL, resulting on putting down the connection, although I’ve seen here[1] that the ECHO_REPLY_TIMEOUT was 2 seconds, so if the ODL doesn’t here from the switch after 2 seconds the ECHO_REQUEST was sent, then it put down the connection. Could you shed some light regarding how to properly setup switch idle timeout? Thanks, Alexis [0]: https://github.com/opendaylight/openflowplugin/blob/stable/lithium/openflowplugin-controller-config/src/main/resources/initial/42-openflowplugin-new.xml#l50 [1]: https://github.com/opendaylight/openflowplugin/blob/stable/lithium/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/connection/listener/SystemNotificationsListenerImpl.java#l37
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
