On Wed, 9 Jul 2014 20:27:24 -0400 (EDT)
Yiyang Chang <chang...@purdue.edu> wrote:

> To put my question simply, what is the best way to implement a poll-stats 
> function in a Ryu application?
> 
> I am now writing an OpenFlow Controller using Ryu APIs. It works perfectly 
> when dealing with passive events triggered by OpenFlow swithces. 
> 
> Now I want to add a function to let the controller poll counters in switches 
> actively (say, every 5 seconds). What is the best way to implement it?

You can find example code to exactly do such:

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

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to