On Wed, 11 Jul 2018 02:48:13 +0900,
David Kasabji wrote:
> 
> Hello Ryu Developers,
> 
> I am in need of debugging Ryu Applications and I want to use PyCharm for it.
> 
> I am using Ubuntu 18.04 launched via VirtualBox.
> I have installed Mininet through apt-get and git cloned Ryu source and
> installed it via python setup script.
> 
> *I have 2 issues:*
> 
>    1. When I run mininet with some topology like in rest_router.py example,
>    it runs successfully but it wont open any xterm windows, even though I
>    provide the command to do so:
> 
>     sudo mn --topo linear,3 --mac --switch ovsk --controller remote -x
> 
> 
> Do you perhaps know why mininet wont open 3 hosts windows, 1 switch and 1
> controller window in this case? I managed to make it work if I use Putty to
> SSH into Mininet VM.
> But I want to use clean Ubuntu 18.04 where I manually installed Mininet and
> Ryu on it and do everything within Ubuntu, because of debugging Ryu
> Applications.

Seems like you didn't properly set the DISPLAY environment variable
correctly.

> (If there is a way to debug Ryu Applications using Windows, please do let
> me know and I will use that )

I heard ovs can be run under Windows, or the ryu apps can be run in
your Windows environment and make openflow connections into VMs in
VirtualBox.

> 2.I installed all modules necessary to run rest_router.py from PyCharm, but
> the app exites instead of persisting in background:
> [image: image.png]

There seemed to be some issues with pydevd and eventlet (ryu uses
eventlet). Not quite sure the problem still exists, and I don't know
PyCharm or pydevd much anyway.

--
IWAMOTO Toshihiro


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to