[pox-dev] How to read flow count periodically in POX?

Murphy McCauley murphy.mccauley at gmail.com
Wed Jul 24 12:36:26 PDT 2013


The POX wiki has a link to an extended version of the stats example by William Emmanuel Yu which polls the stats periodically ("Statistics Collector Example").  Start with that, and change the _handle_flowstats_received() function to just "print len(event.stats)".

-- Murphy

On Jul 24, 2013, at 12:03 PM, Keqiang He wrote:

> Hi--
> 
> I want to know is there any method to perform a periodical query on the number of flow rules in the switch by POX?
> 
> The POX gives us a web statistics examples, I am curious how to make the  "handle_flow_stats" function print
> the statistics in a periodical manner.
> 
> Any experience/hint is appreciated. Thanks
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130724/c2b39f2b/attachment-0002.htm>


More information about the pox-dev mailing list