bridge: Allow users to configure statistics update to OVSDB.
authorAlex Wang <alexw@nicira.com>
Thu, 3 Apr 2014 20:27:22 +0000 (13:27 -0700)
committerAlex Wang <alexw@nicira.com>
Fri, 2 May 2014 20:29:40 +0000 (13:29 -0700)
commit12eb035b810ff9d537d6ff9f1eb8ad5564c1f644
treeac157e190249309643087e47dbb512f661547d47
parent6d308b28c023e864925b1a6775b3b91d215e89bf
bridge: Allow users to configure statistics update to OVSDB.

This commit adds a new configuration "stats-update-interval" in
"other_config" of Open_Vswitch table.  So users can control the
statistics update frequency.  A possible use case is that, users
can lower the update frequency to reduce the cpu consumption of
the ovs-vswitchd thread.

The configured value should always be greater than or equal to
5000 ms.  And more frequent statistics update should be achieved
via OpenFlow.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
tests/ovs-vswitchd.at
vswitchd/bridge.c
vswitchd/vswitch.xml