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 17:29:08 +0000 (09:29 -0800)
commit80740385d2700b1a03d28a02338d02509fd0b697
tree4925837919dc7356f3484b3c80d70c658d38c095
parent8ddc056dd1e2c150c3bf8bb16811815736beb554
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