Re: [ovs-discuss] Can we configure Sflow only for certain traffic?

2019-03-25 Thread Neil McKee
The sFlow mechanism is OVS is inherently ingress-only sampling, so per-port config would rarely make sense as it would result in only half the picture for a given VM or link. The sFlow philosophy is to keep the agent as simple as possible and generate a standard feed that can be used by more

[ovs-discuss] Can we configure Sflow only for certain traffic?

2019-03-25 Thread 王志克
Hi, Per below OVS document, we can configure per bridge sflow. http://docs.openvswitch.org/en/latest/howto/sflow/ $ ovs-vsctl -- --id=@sflow create sflow agent=${AGENT_IP} \ target="\"${COLLECTOR_IP}:${COLLECTOR_PORT}\"" header=${HEADER_BYTES} \ sampling=${SAMPLING_N}