bridge: Enable system stats only if turned on in the database.
authorBen Pfaff <blp@nicira.com>
Tue, 21 Jun 2011 22:20:56 +0000 (15:20 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Jun 2011 22:20:56 +0000 (15:20 -0700)
commitbaac62663e6f7990a9d60d95896287507b0eab36
treeb0381dda991adbf7883324e01279d8dd33333a17
parent22c98354053baee3c9a93eb552d8767c2be60f7a
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