[ovs-discuss] ovs-ofctl dump-flows functionality

Ben Pfaff blp at ovn.org
Tue Apr 26 15:00:05 UTC 2016


On Tue, Apr 26, 2016 at 01:46:26PM +0900, Borasy Kong wrote:
> Can someone help show me how the flow stats is generated. For example,
> where does the ovs-ofctl dump-flows get the data like n_packet, n_bytes
> from each time this command is issued. Is there any particular spot in the
> OVS source code, I should take a look into?

ovs-ofctl doesn't do this at all, it only sends and receives messages
over a network to an OpenFlow switch.  The switch is responsible for
tracking and generating that information.



More information about the discuss mailing list