A good starting point might be "Example - Web Flow Statistics" in the POX manual.
As far as uniquely identifying a flow, the original idea was to use the match itself (since it certainly should identify the flow). There's also a flow "cookie". In OpenFlow 1.0, this was only useful in very limited contexts, but has become more useful with Nicira extensions and higher versions of OpenFlow. -- Murphy On Nov 27, 2013, at 6:59 PM, Sadia Bashir <11msccssbas...@seecs.edu.pk> wrote: > Hi everyone, > > I want controller to get flow statistics from a switch such as the > count-value associated with each flow installed on a switch, how do I > uniquely identify a flow and then retrieve associated statistics. > > I am using Dart branch for POX-Controller, which files should I look into in > order to get an idea in this regard. > > Thank you for your help. > -- > Sadia