Skip to content

Instantly share code, notes, and snippets.

@annacruz
Created March 7, 2013 13:31
Show Gist options
  • Save annacruz/5108082 to your computer and use it in GitHub Desktop.
Save annacruz/5108082 to your computer and use it in GitHub Desktop.
insmod datapath/linux/openvswitch_mod.ko
rmmod bridge ou modprobe -r bridge
mkdir -p /usr/local/etc/openvswitch
ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \
--remote=db:Open_vSwitch,manager_options \
--private-key=db:SSL,private_key \
--certificate=db:SSL,certificate \
--bootstrap-ca-cert=db:SSL,ca_cert \
--pidfile --detach
ovs-vsctl --no-wait init
ovs-vswitchd --pidfile --detach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment