dentproject / dentOS

dentOS SwitchDev based NOS
Other
199 stars 58 forks source link

IPFIX/SFlow #94

Open jmpolom opened 2 years ago

jmpolom commented 2 years ago

Flow telemetry/export. Need an IPFIX export daemon running on top of DENT and driver support to collect and locally generate records for export out of band or in band.

pphaal commented 1 month ago

The Host sFlow supports tc-sample to configure packet sampling (offloaded to ASIC via switchdev driver). Packet samples are delivered to user space via netlink psample channel where they are received by Host sFlow agent and forwarded along with interface counters, host metrics, etc. as standard sFlow telemetry to sFlow collector.

Linux drop_monitor / devlink trap functionality is also supported to report dropped packet notifications (including header of dropped packet and drop reason code) for both packets dropped by ASIC or by Linux kernel as part of the sFlow telemetry stream (see sFlow Dropped Packet Notification Structures).