Hi Carlos,

Ryu will detect the switch disconnection with sending OPFEchoRequest messages 
periodically,
because eventlet's socket does not seem to raise the disconnection immediately 
(due to the
non-blocking mode?).

If you need to detect switch disconnection more faster, please configure the 
following options
in your "etc/ryu/ryu.conf".
These parameter does not seem to be configurable with the CLI options.

https://github.com/osrg/ryu/blob/ed2c6eca2227c9efb3c7e51cdd6db6bf578ec609/ryu/controller/controller.py#L76-L87

Thanks,
Iwase


On 2017年11月25日 01:17, Carlos Ferreira wrote:
Btw, when I ask for the Controller timout being configurable, I meant
for the socket timeout configuration.

Carlos Miguel Ferreira

On 24 November 2017 at 14:41, Carlos Ferreira <carlosmf...@gmail.com> wrote:
Hello to all again.

I'm having an issue regarding the way ryu detects a switch disconnect.
When I remove the control ethernet cable, which my Zodiac FX switch
uses to connect to the Ryu controller, Ryu only generates the
disconnect event after some time (over a minute).

Shouldn't Ryu be generating the event right after a failure to receive
the periodic Hello Packets? Is the Controller timeout configurable?


Carlos Miguel Ferreira

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to