Skip to content

Instantly share code, notes, and snippets.

View fr6nco's full-sized avatar

Thomas Boros fr6nco

View GitHub Profile
@fr6nco
fr6nco / upgrade_ovs_in_mininet.sh
Created October 19, 2017 09:15 — forked from pichuang/upgrade_ovs_in_mininet.sh
Installing new version of Open vSwitch 2.3.0 use Mininet
#!/bin/sh -ev
# Reference: https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch
# How to test: ovs-vsctl -V
# Check permission
test $(id -u) -ne 0 && echo "This script must be run as root" && exit 0
#Remove old version ovs
aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -y