目前mininet内置的ovs为2.0.2版本
要升级此ovs版本按以下步骤:
aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -y
wget http://openvswitch.org/releases/openvswitch-2.4.0.tar.gz
tar zxvf openvswitch-2.4.0.tar.gz
cd openvswitch-2.4.0
./configure --prefix=/usr --with-linux=/lib/modules/·uname -r·/build
make
sudo make install
sudo make modules_install
sudo rmmod openvswitch
sudo depmod -a
sudo /etc/init.d/openvswitch-controller stop
sudo update-rc.d openvswitch-controller disable
sudo /etc/init.d/openvswitch-switch start
如果在make时提示no targets specified and no makefile found
应该回到configure