bridge: Enable system stats only if turned on in the database.
authorBen Pfaff <blp@nicira.com>
Mon, 20 Jun 2011 21:21:06 +0000 (14:21 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Jun 2011 20:02:28 +0000 (13:02 -0700)
commit3fe8050596e3cff28c007b5d7c1ec9c461849995
treea75b4db7ac77e647994fa3e6953444be61e7fb72
parent8de67146f837bec4f103607cc5e0c7020c79e444
bridge: Enable system stats only if turned on in the database.

Most hypervisors have no use for this column, so populating it just wastes
CPU time.  It can still be enabled explicitly via other-config.

CC: Peter Balland <peter@nicira.com>
CC: David Tsai <dtsai@nicira.com>
Bug #5961.
NIC-397.
vswitchd/bridge.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml