Sadly, yes, unless they're using dpset or topology.
There's really no way around it, unless we're willing to allow Datapath objects 
to leak and applications to hang.

Setting the field ensures that the timer that culls the Datapath objects gets 
cancelled.
Unless some app "takes ownership"/"takes responsibility" for the Datapath, how 
is the Ryu core to know when to clean it up?

One could say that the Datapath is "assured" upon reaching MAIN_DISPATCHER 
state - but what happens when the Datapath is disconnected without a FIN or RST 
being sent?

Unless the application is keeping track (by itself, or via dpset or topology), 
the Ryu core has no other way of shutting down the Datapath; it's just stuck.

Try it yourself, with 3.29.1; connect a bunch of switches (that use echo 
requests to check if the connection is alive) to a SimpleSwitch application, 
then use iptables (or similar) to block all incoming traffic on port 6633. 
Allow the OF agent connections to time out on the switches, then open up port 
6633 again.

You'll find that the SimpleSwitch will not be able to handle the new Datapath 
objects - because it doesn't know how to close them - and the Ryu core will 
start leaking sockets, until it hits the file descriptor ulimit.

Best,
Victor
--
Victor J. Orlikowski <> vjo@[cs.]duke.edu

> On Jan 26, 2016, at 8:58 PM, Yusuke Iwase <[email protected]> wrote:
> 
> This means that users who already using Ryu will be forced to modify
> their own apps for applying these patch?
> 
> Can we apply the default settings in the background or conceal these
> changes from users?

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to