On Fri, May 03, 2013 at 10:35:12AM -0400, Kevin Han wrote:
> Hi,
> 
> Are there any events in ryu which can be timed to run at certain intervals. 
> For
> example, would I be able to set up an event to time out cache entries in my
> tables every second?
> 
> If not, any tips on how I would go about creating such an event?

The current ryu doesn't have generic timer event yet.
I implemented easy version for VRRP.
It can be found at
https://github.com/yamahata/ryu/blob/vrrp-may-02-2013/ryu/services/vrrp/router.py
The implementation needs to be refined for generic timer service, I think.

Your use case sounds a good example to justify generic timer service in Ryu.
Do you have any other use cases?

thanks,

> Thank You,
> 
> Kevin Han

> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


-- 
yamahata

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to