sflow: Export LAG, PORTNAME, and OPENFLOWPORT information also.
authorNeil McKee <neil.mckee@inmon.com>
Fri, 27 Jun 2014 18:19:59 +0000 (11:19 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 11 Nov 2014 21:28:40 +0000 (13:28 -0800)
commit50b9699fe49b66de64d0d0b1803bb13e95ca2c2e
tree97b6c4d020511efe85a9f6f6596d6a1e03e26f86
parentafc63bb4bc0692af8bfa16d2a573b8b3bce52895
sflow: Export LAG, PORTNAME, and OPENFLOWPORT information also.

Export standard sFlow LAG, PORTNAME and OPENFLOWPORT structures with each
counter-sample. Add unit-test for sFlow-LAG. Adjust other unit-tests to
accommodate these new annotations.

The sFlow-LAG structures are important for topology discovery, for
troubleshooting LAG instability,  and for correctly combining
sFlow feeds from multiple sources.

The OPENFLOWPORT and PORTNAME structures are important for systems that
aim to combine sFlow monitoring with OpenFlow controls,  as they
provide straightforward mapping (1) between sFlow agent IP and OpenFlow
datapath-id,  and (2) between interface name,ifIndex and OpenFlow
port number.

Signed-off-by: Neil McKee <neil.mckee@inmon.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
14 files changed:
NEWS
lib/lacp.c
lib/lacp.h
lib/sflow.h
lib/sflow_agent.c
lib/sflow_api.h
lib/sflow_receiver.c
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
tests/ofproto-dpif.at
tests/test-sflow.c