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. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss