[pox-dev] How to read flow count periodically in POX?
Keqiang He
hekeqiang at gmail.com
Wed Jul 24 13:18:44 PDT 2013
Hello Murphy--
Thanks for this info :), it works well.
On Wed, Jul 24, 2013 at 3:36 PM, Murphy McCauley
<murphy.mccauley at gmail.com>wrote:
> 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/6db2f64e/attachment-0001.htm>
More information about the pox-dev
mailing list