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