On Apr 4, 2013, at 1:46 PM, Balázs Németh wrote:

> Hello all!
> 
> I'd like to send a OFPT_STATS_REQUEST message for a switch for debugging 
> reasons. In the OF specification it is said the switch must reply wit a 
> ofp_table_stats message. How can I catch this message in the controller? 
> Should I subscribe to some kind of eVent like packetin? 

Yes.

On the POX manual wiki, see the section "ofp_stats_request - Requesting 
statistics from switches" and especially the subsection "Example - Web Flow 
Statistics".  There's also an extended version of this example called 
flow_stats.py in the Third Party section.

https://openflow.stanford.edu/display/ONL/POX+Wiki

-- Murphy

Reply via email to