Thanks a lot.  The example codes are just what I need.

Best Regards,
Kun Liu

---------------------------------------
From: FUJITA Tomonori [mailto:[email protected]] 
To: LIU, Kun
Cc: [email protected]; [email protected]
Subject: Re: [Ryu-devel] How to send stats request message to datapath in a 
timer ?

On Fri, 16 May 2014 09:49:34 +0800
"LIU, Kun" <[email protected]> wrote:

> I find the problem, because in my ryu app I start a new thread to do a timer 
> work(every 5 seconds to send stats requests to datapath) in function start(), 
> however, the result shows the new thread interrupt the ryu main thread.  If 
> so, how should I create a new thread of timer in ryu app?  Thank you.

Ryubook has lots of useful example code. Check out:

http://osrg.github.io/ryu-book/en/html/traffic_monitor.html


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to