Monday, August 4, 2014

[RYU] Try the RYU Web GUI with Mininet

This post is about the displaying of RYU Web GUI. We can see what the GUI looks like. My environment is with 2 virtual machines running on Virtula-Box. I skep the installation guide with RYU and GUI because there is already some documents to tell how to do so. If interested, please check there:
http://blog.linton.tw/posts/2014/02/15/note-install-ryu-36-sdn-framework
http://blog.linton.tw/posts/2014/02/11/note-how-to-set-up-ryu-controller-with-gui-component

P.S: Maybe need to do this:
pip install --upgrade pip or pip install -U pip

First, I started with my RYU server and executed the command:

  • > ryu-manager --verbose --observe-links ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest ryu.app.simple_switch

P.S: Currently the GUI doesn't support OF1.3.

Second, open another console to execute this command under your ryu directory. It is a middle-ware between Web and Controller.

  • > ./ryu/gui/controller.py


For Mininet, I just downloaded the Mininet Virtual Machine and directed to use it. The following command can generate the 3 tiers network topology quickly.

>  sudo mn --controller=remote,ip=10.3.207.81 --topo tree,3


Back to the RYU server, open the browser with the URL: http://127.0.0.1:8000/   








3 comments:

liz said...

Hi!!
I Try the RYU Web GUI with Mininet whit your guideline but:
1. I installed ryu from github in a ubuntu server, and later installer GNOME.
2.I can´t access to http://blog.linton.tw/posts/2014/02/11/note-how-to-set-up-ryu-controller-with-gui-component and i don´t find how work with the gui component of ryu.
3.I started the RYU server and executed the command:

> ryu-manager --verbose --observe-links ryu.topology.switches ryu.app.rest_topology ryu.app.ofctl_rest ryu.app.simple_switch
But when open another console to execute ./ryu/gui/controller.py
Show: No such file or directory

4.In my Ryu version are: ryu/app/gui_topology/gui_topology.py
BUT when execute that show: socket.error errno 98 address already in use.
5. Of course the url:http://127.0.0.1:8000/
Cant´t established conections

Please helpe me, i find your post and it´s that i was looking, very thanksssss

Anonymous said...

maybe one of your process is using port 6633 find the process and kill it , if it get rebooted close that window.

Anonymous said...

did you find this solve of problem