Can you try using 'log.level flow_stats=DEBUG'? flow_stats only prints web traffic stats (iirc, it defines 'web' as TCP port 80) as INFO level messages. The full flow statistics for all flows are printed as DEBUG level.
Cheers, Alison On Mon, Jul 1, 2013 at 10:10 AM, Kouvakas Alexandros <questa...@gmail.com> wrote: > Hi all, > > I am trying to collect flow statistics by using the flow_stats.py that I > found at the wiki page. > I am running for example > ./pox.py samples.pretty_log forwarding.l2_learning flow_stats > but I get the following output > POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al. > [core ] POX 0.1.0 (betta) is up. > [openflow.of_01 ] [fe-b4-bd-b6-4a-41 2] connected > [flow_stats ] Web traffic from fe-b4-bd-b6-4a-41: 0 bytes (0 > packets) over 0 flows > [openflow.of_01 ] [76-08-d5-3a-24-4d 1] connected > [flow_stats ] Web traffic from 76-08-d5-3a-24-4d: 0 bytes (0 > packets) over 0 flows > [openflow.of_01 ] [4e-48-b2-7e-22-48 3] connected > [flow_stats ] Web traffic from fe-b4-bd-b6-4a-41: 0 bytes (0 > packets) over 0 flows > [flow_stats ] Web traffic from 4e-48-b2-7e-22-48: 0 bytes (0 > packets) over 0 flows > [flow_stats ] Web traffic from 76-08-d5-3a-24-4d: 0 bytes (0 > packets) over 0 flows > [flow_stats ] Web traffic from fe-b4-bd-b6-4a-41: 0 bytes (0 > packets) over 0 flows > [flow_stats ] Web traffic from 4e-48-b2-7e-22-48: 0 bytes (0 > packets) over 0 flows > [flow_stats ] Web traffic from 76-08-d5-3a-24-4d: 0 bytes (0 > packets) over 0 flows > > I checked on the controller if any flows are added and they are. I checked > with ovs-ofctl dump-flows. > > What am I doing wrong? > Thanks!! > > > -- > Kouvakas Alexandros -- Alison Chan Kettering University (2015): BSCS (Security concentration), BSCE, Pre-Law minor Research Assistant, Department of Computer Science Secretary, Kettering University Allies, A-Section +1 909 278 7753 chan7...@kettering.edu () ascii ribbon campaign for plain text email /\ http://www.asciiribbon.org