[ovs-discuss] [ovs-dev] Sampling in datapath

Ben Pfaff blp at ovn.org
Sat Jul 2 00:39:56 UTC 2016


On Wed, Jun 29, 2016 at 05:45:43PM +0300, Marcelo Caggiani Luizelli wrote:
> I've seen that there is an implementation of sampling function in the ovs
> linux datapath (in file datapath/actions.c). The issue is that this
> functions is sending the packet to userspace (usually used by ipix/sflow
> sampling). Is there a way to send a traffic sampling straight to a virtual
> port? It seems that the functions is generic enough to support other
> actions, but I couldn't make it work properly.

Open vSwitch doesn't directly expose the datapath sampling action to
OpenFlow, so there's no way to do this without modifying OVS.



More information about the discuss mailing list