Forgive me if this is simple an RTFM question, I've looked in the FM
(man pages, etc.), and if it is in there, I must have missed it. Just
point me to the right place and I'll look it up:

Is it possible to reset the packet and byte counters for a flow, or
even for all flows? E.g. when I do "ovs-ofctl dump-flows <bridge>", I
see the n_packets and n_bytes counters:

NXST_FLOW reply (xid=0x4):
 cookie=0xffff, duration=523.756s, table_id=0, n_packets=1001172,
n_bytes=98114856, priority=65534 actions=drop

I'd like to reset them to zero, so I can see what the current numbers
are (since ovs-ofctl replace-flows doesn't reset the counters when I
change the flows, those numbers are "stale", because they are actually
for a different action).

Thanks,

--jed
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to