Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
set ovs-sflow config
#/bin/bash
COLLECTOR_IP=
COLLECTOR_PORT=
AGENT=
HEADER=128
SAMPLING=512
POLLING=10
BRIDGE_NAME=
sudo ovs-vsctl -- --id=@sflow create sflow agent=${AGENT} \
target=\"${COLLECTOR_IP}:${COLLECTOR_PORT}\" header=${HEADER} \
sampling=${SAMPLING} polling=${POLLING} \
-- set bridge ${BRIDGE_NAME} sflow=@sflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment