升级Mininet自带的OpenvSwitch & 编译OpenvSwitch

http://sdnhub.cn/index.php/mininet-upgrade-openvswitch/

 

复制代码
# cd  /home
# mkdir openvswitch
# cd openvswitch
# wget http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz
# tar -xzf openvswitch-2.3.0.tar.gz
# cd openvswitch-2.3.0
# apt-get install build-essential fakeroot
# apt-get install debhelper autoconf automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zope.interface python-twisted-conch
检查编译的依赖
# dpkg-checkbuilddeps
生成用于安装Open vSwitch交换机的deb包。
# fakeroot debian/rules binary
安装
#cd ..   
#dpkg -i *.deb
重启openvswitch
# /etc/init.d/openvswitch-switch restart
验证安装
# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.3.0
Compiled Nov  7 2014 09:38:44
DB Schema 7.6.0
复制代码
posted @ 2018-09-16 00:44  heimafeitian  阅读(474)  评论(0编辑  收藏  举报