通过源码安装RYU控制器


目录

安装

  • 安装pip3
sudo apt-get install python3-pip
  • 获取ryu源码
git clone https://github.com/osrg/ryu.git
  • 安装依赖
cd ryu
sudo pip3 install -r tools/pip-requires -i https://pypi.tuna.tsinghua.edu.cn/simple
  • 安装ryu
sudo python3 setup.py install

测试

  • 运行ryu控制器
ryu-manager ryu/app/simple_switch.py
  • 另开一个终端,运行mininet
sudo mn --controller=remote

成功的截图如下:


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM