Re: [Ryu-devel] How to put False in dpset

2018-07-24 Thread Soe Ye Htet
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

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread Soe Ye Htet
Dear, Thanks you so much. Best Regards, Soe Ye Htet On Tue, Jul 24, 2018 at 12:05 PM, IWAMOTO Toshihiro wrote: > On Mon, 23 Jul 2018 21:19:58 +0900, > Soe Ye Htet wrote: > > > > [1 ] > > [1.1 ] > > Dear, > > > > Here is my source code. I put the dpset.EventDP for detecting node > failure > >

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread IWAMOTO Toshihiro
On Mon, 23 Jul 2018 21:19:58 +0900, Soe Ye Htet wrote: > > [1 ] > [1.1 ] > 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 OpenFlo

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread Soe Ye Htet
Dear, Sorry for sending again. I have attached the logfile from RYU controller. Here, dpset for _unregister is not generated when I shutdown the physical openflow switch. _unregister is generated when OpenFlow switch has completely reconnected again. Moreover, I have testbed by shutting the OpenFl

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread Soe Ye Htet
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 ap

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread Soe Ye Htet
Dear, You means I have to write dpset.DPSet._unregister(self,dp). Best Regards, Soe Ye Htet On Mon, Jul 23, 2018 at 4:28 PM, IWAMOTO Toshihiro wrote: > On Sat, 21 Jul 2018 02:26:08 +0900, > Soe Ye Htet wrote: > > > > [1 ] > > [1.1 ] > > Dear, > > > > Sorry for my simple question. > > > > I t

Re: [Ryu-devel] How to put False in dpset

2018-07-23 Thread IWAMOTO Toshihiro
On Sat, 21 Jul 2018 02:26:08 +0900, Soe Ye Htet wrote: > > [1 ] > [1.1 ] > Dear, > > Sorry for my simple question. > > I tried to put False in dpset in order to track the disconnection from the > switch. Is there any example to put False. > DPSet._unregister sends EventDP with self.enter ==

[Ryu-devel] How to put False in dpset

2018-07-20 Thread Soe Ye Htet
Dear, Sorry for my simple question. I tried to put False in dpset in order to track the disconnection from the switch. Is there any example to put False. class EventDP(EventDPBase): """ An event class to notify connect/disconnect of a switch. For OpenFlow switches, one can get the same notificat