stp: Track BPDU tx and rx counts.
authorJustin Pettit <jpettit@nicira.com>
Mon, 14 Nov 2011 23:04:14 +0000 (15:04 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 15 Nov 2011 18:17:56 +0000 (10:17 -0800)
commitb6433ee2833e84b2d50f060896b8cb9129a3ca46
tree4cb5447868d55beb19757acb48af75bd746fe396
parent5f7bc817bb74992687075050ec6b6daf32e184b4
stp: Track BPDU tx and rx counts.

When debugging spanning tree, it's useful to have counters about how
many BPDUs have been sent and received.  This commit keeps track of
these counters and stores them in a new "statistics" column of the Port
table.

Feature #8103
lib/stp.c
lib/stp.h
ofproto/ofproto-dpif.c
ofproto/ofproto.h
vswitchd/bridge.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml