Hello Murphy-- Thanks for this info :), it works well.
On Wed, Jul 24, 2013 at 3:36 PM, Murphy McCauley <[email protected]>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 > > > >
