ofproto-dpif: Keep track of exact-match flow info
authorAndy Zhou <azhou@nicira.com>
Tue, 26 Mar 2013 02:49:13 +0000 (19:49 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Mar 2013 23:00:46 +0000 (16:00 -0700)
commit655ab909c455de622963b14ad8de4feb3c3f56e3
tree80086bb0b81456fcc36b0fc1c3fbd7ffd8f69e9f
parentd56748e8b43e180b966df641caf8767782e6b2f3
ofproto-dpif: Keep track of exact-match flow info

This patch adds more flow related stats to the output of
"ovs-appctl dpif/show".  Specifically, the follow information
are added per ofproto:

- Max flow table size
- Average flow table size
- Average flow table add rate
- Average flow table delete rate
- Average flow entry life in milliseconds

Feature #15366

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c
tests/ofproto-dpif.at
tests/tunnel.at