bridge: Write certain statistics to the database instantly.
authorEthan Jackson <ethan@nicira.com>
Tue, 14 Aug 2012 21:08:09 +0000 (14:08 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 15 Aug 2012 22:01:38 +0000 (15:01 -0700)
commit353079d005d953698c46bf95b4623c5724cedd2b
tree90bc0731affb4ad64b0f739a6b4313acad892e55
parent21f045ac7eb2ecdd3bab919c9fc9ebb7dde84dd7
bridge: Write certain statistics to the database instantly.

Traditionally the bridge has written interface and port statistics
to the database in a rate limited fashion.  This makes a lot of
sense for statistics which are either constantly changing, or are
expensive to collect.  However, some statistics were rate limited
which have neither of these properties.  Furthermore some of these
statistics (most notably carrier) could be very useful to a
controller if updated promptly.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
vswitchd/bridge.c