Hello again Iwase, Modifying the echo-request-interval and socket-timeout at the ryu.conf file, doesn't seem to do anything. Ryu still takes more than 2 minutes to detect a Switch Timeout.
This is what I have at ryu.conf [DEFAULT] echo_request_interval=1 socket_timeout=3 Carlos On 27 November 2017 at 11:47, Carlos Ferreira <carlosmf...@gmail.com> wrote: > Thank you Iwase > > I also found those parameters in the code you just highlighted to me, > but as you said, they are not configurable via CLI options. > I will try to use ryu.cfg. > > Carlos > > On 27 November 2017 at 07:39, Iwase Yusuke <iwase.yusu...@gmail.com> wrote: >> 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