Dear RYU team,
Changing the values in maximum-unreplied-echo-requests can detect the
openflow switch failure case. When the openflow switch is down, RYU
controller can detect it after 3 minutes (In my case). Varying the values
in maximum-unreplied-echo-request can reduce the detection failure time. I
uninstall the previous ryu-manager and changing the value in
ryu/ryu/controller and then install again from the edited folder. Then ok.
cfg.IntOpt('maximum-unreplied-echo-requests',
default=10.0,
min=1,
help='Maximum number of unreplied echo requests before
datapath is disconnected.')
])
Best Regards,
Soe Ye Htet
On Mon, Jul 23, 2018 at 11:21 PM, Soe Ye Htet <soeyehtet1...@gmail.com>
wrote:
> Dear,
>
> Thanks you so much.
>
> Best Regards,
> Soe Ye Htet
>
> On Tue, Jul 24, 2018 at 12:05 PM, IWAMOTO Toshihiro <iwam...@valinux.co.jp
> > wrote:
>
>> On Mon, 23 Jul 2018 21:19:58 +0900,
>> Soe Ye Htet wrote:
>> >
>> > [1 <multipart/alternative (7bit)>]
>> > [1.1 <text/plain; UTF-8 (7bit)>]
>> > Dear,
>> >
>> > Here is my source code. I put the dpset.EventDP for detecting node
>> failure
>> > but when I shut down the OpenFlow switch, node failure case cannot be
>> > detected from RYU controller. When I turn on back the OpenFlow switch,
>> the
>> > words of "datapath leave" has been appeared. Actually, it should have
>> > appeared when I shut down the OpenFlow switch.
>>
>> IIRC ryu.controller.controller detects dead Datapath only when an
>> OpenFlow message is sent.
>>
>> I think you can use maximum-unreplied-echo-requests to get a desired
>> behavior. Please check the commit:
>>
>> commit 1625117fbb33c0a490f0ce97510e4cdff936acea
>> Author: Victor J. Orlikowski <v...@duke.edu>
>> Date: Fri Feb 26 11:53:47 2016 -0500
>>
>> of: add echo request support
>>
>> --
>> IWAMOTO Toshihiro
>>
>
>
------------------------------------------------------------------------------
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