Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active August 29, 2015 14:00
Show Gist options
  • Save pichuang/11331998 to your computer and use it in GitHub Desktop.
Save pichuang/11331998 to your computer and use it in GitHub Desktop.
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