netlab-lcy / DRL-OR

MIT License
45 stars 9 forks source link

the version of system, Mininet and ryu #2

Open lgc0208 opened 2 years ago

lgc0208 commented 2 years ago

I have cloned DRL-OR and configured the environment according to Readme on Ubuntu 20.04. But when I run run.sh in drl-or, I got error:

ConnectionRefusedError:[Error 111] Connection refused

so I guess whether it's Mininet, ryu or the system version.

By the way, I run the code in VMware workstation Pro 16

liuyi-thu commented 2 years ago

It works fine on my server with Ubuntu 20.04, Mininet 2.3.0.dev6 and Ryu 4.34. Both Mininet and Ryu are of the latest version on PyPI. But I guess the reason why your problem occurred is that drl-or/run.sh was launched before testbed/run.sh. I think the correct order of launching is ryu-controller/run.sh, testbed/run.sh and drl-or/run.sh, because DRL-OR has to establish connection with Mininet (the testbed) before the algorithm starts working.