Skip to content

Instantly share code, notes, and snippets.

@pichuang pichuang/set_netflow
Last active Aug 29, 2015

Embed
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
You can’t perform that action at this time.