On Mon, 22 Oct 2018 18:09:47 +0900, Jade Manapee wrote: > > I am a bit confused, I know that they open a TCP session, but did they > exchange message all the time? and when it got time-out it terminates > session? then how "_event_switch_leave_handler" works? I read on ryu > page but it didn't say anything. Am I missing something?
It works just like a TCP session disconnect detection. If the connection is dead and a controller tries to send something it knows the connection is gone. If you aren't satisfied with this, check the maximum-unreplied-echo-requests config option. EventSwitchLeave is ryu/topology specific and generated from EventOFPStateChange. -- IWAMOTO Toshihiro _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel