RYU控制器安装`

同样是参考了http://linton.tw/2014/02/11/note-how-to-set-up-ryu-controller-with-gui-component/的内容。

1. 由于Ubuntu中自带有Python,因此直接开始安装pip
   apt-get install python-pip
   apt-get install python-dev
   apt-get install build-essential

   apt-get install python-eventlet
   apt-get install python-routes
   apt-get install python-webob
   apt-get install python-paramiko

2. 使用 pip 下載並安裝 Ryu
   pip install ryu
   pip install --upgrade six

3. 完成安裝後,請執行 ryu-manager 驗證看看有沒有出現錯誤,沒問題的話顯示的訊息應該像下面這樣
   linton@linton-virtual-machine ~ $ ryu-manager 
   loading app ryu.controller.ofp_handler
   instantiating app ryu.controller.ofp_handler of OFPHandler

4.下载源文件到本地:git clone git://github.com/osrg/ryu.git
----------------------------------------------------------------------------------------------

运行RYU相关app
  ryu-manager --verbose --observe-links app/simple_switch_13.py ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest
  目前还在测试。。。。。

猜你喜欢

转载自my.oschina.net/u/3704723/blog/1553809
今日推荐