更新mininet内置的ovs

目前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

你可能感兴趣的:(ovs,ovs)