sflow: initial checkin 80/41680/18
authorPim van Pelt <pim@ipng.nl>
Sun, 6 Oct 2024 15:49:00 +0000 (17:49 +0200)
committerBenoit Ganne <bganne@cisco.com>
Mon, 20 Jan 2025 17:21:43 +0000 (17:21 +0000)
commite40f8a90bb0c39986c198fca8ad9b0b3c1658401
tree6a6e55f5bff8a650f2171b60fdcee207e39f2f5b
parent26cb7184e1b2050ee86152be6fb6363cd7f0cc72
sflow: initial checkin

This is an sFlow dataplane plugin that can sample
1-in-N packets from device-input, copying them to
a FIFO queue and servicing that queue from a main
process which formats them as Netlink PSAMPLEs,
to be picked up by a popular sidecar agent called
host-sflow.

Type: feature
Change-Id: Ic03456472e53309678f182dc8f74d3c81fb619e6
Signed-off-by: neil.mckee@inmon.com
Signed-off-by: pim@ipng.nl
19 files changed:
MAINTAINERS
docs/spelling_wordlist.txt
src/plugins/sflow/CMakeLists.txt [new file with mode: 0644]
src/plugins/sflow/FEATURE.yaml [new file with mode: 0644]
src/plugins/sflow/node.c [new file with mode: 0644]
src/plugins/sflow/sflow.api [new file with mode: 0644]
src/plugins/sflow/sflow.c [new file with mode: 0644]
src/plugins/sflow/sflow.h [new file with mode: 0644]
src/plugins/sflow/sflow.rst [new file with mode: 0644]
src/plugins/sflow/sflow_common.h [new file with mode: 0644]
src/plugins/sflow/sflow_psample.c [new file with mode: 0644]
src/plugins/sflow/sflow_psample.h [new file with mode: 0644]
src/plugins/sflow/sflow_psample_fields.h [new file with mode: 0644]
src/plugins/sflow/sflow_test.c [new file with mode: 0644]
src/plugins/sflow/sflow_usersock.c [new file with mode: 0644]
src/plugins/sflow/sflow_usersock.h [new file with mode: 0644]
src/plugins/sflow/sflow_vapi.c [new file with mode: 0644]
src/plugins/sflow/sflow_vapi.h [new file with mode: 0644]
test/test_sflow.py [new file with mode: 0644]