Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
set netflow config
#!/bin/bash
BRIDGE_NAME=
COLLECTOR_IP=
COLLECTOR_PORT=
TIMEOUT=10
ovs-vsctl -- set Bridge ${BRIDGE_NAME} netflow=@nf \
-- --id=@nf create NetFlow target=\"${COLLECTOR_IP}:${COLLECTOR_PORT}\" active-timeout=${TIMEOUT}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment