[ovs-dev] [patch_ports 2/4] ofproto-dpif: Refresh stats before ovs-appctl dpif/dump-flows.
blp at nicira.com
Wed Jan 16 23:35:10 UTC 2013
On Mon, Jan 14, 2013 at 07:50:15PM -0800, Ethan Jackson wrote:
> As a matter of convenience, this patch refreshes the statistics
> when ovs-appctl dpif/dump-flows is called. Hopefully this will
> prevent users from being confused because statistics they were
> expecting to see haven't made it from the datapath into the switch
> Signed-off-by: Ethan Jackson <ethan at nicira.com>
Seems reasonable. I'm mildly concerned about a command to read state
actually mutating state behind the scenes, but I don't think it's a
big risk in this case.
More information about the dev