Python
apt-get install python-dev python-pip
apt-get install libxml2-dev libxslt1-dev
Ryu_Install
apt-get install git
git clone git://github.com/osrg/ryu.git
python ./ryu/setup.py install
Ryu_GUI_Install
pip install flask
pip install gevent-websocket
wget https://github.com/yamada-h/ryu/archive/gui-patch-v3-rebase.zip
unzip gui-patch-v3-rebase.zip
cp -rf ryu-gui-patch-v3-rebase/ryu/gui ryu/ryu
啟動Ryu(OpenFlow1.0)
ryu-manager – -verbose – -observe-links ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest ryu.app.simple_switch
啟動Ryu(OpenFlow1.3)
ryu-manager – -verbose – -observe-links ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest ryu.app.simple_switch_13
啟動Ryu_GUI
python ryu/ryu/gui/controller.py
修改OVS_switch以OpenFlow1.3運作
ovs-vsctl set Bridge s1 protocols=OpenFlow13
參考資料
搶先發佈留言