3 controllers Ryu for different ports :

38 views
Skip to first unread message

Imen

unread,
Oct 2, 2018, 6:17:27 AM10/2/18
to OpenVirteX-discuss
Hi,
I build a mininet topology that has one global controller and 3 local controllers.

5 steps to test the environment (mininet):
1-I started global controller:  python global.py
Result: 

python global.py
INFO:__main__:Waiting for connection.....
connected socket:<eventlet.greenio.base.GreenSocket object at 0xb46c832c> address:('127.0.0.1', 42816)
connected socket:<eventlet.greenio.base.GreenSocket object at 0xb46c884c> address:('127.0.0.1', 42818)
connected socket:<eventlet.greenio.base.GreenSocket object at 0xb46c8ccc> address:('127.0.0.1', 42820)

2- I modified global ip address in local controller: (file:local.py)
                                 self.local_lib.start_serve('127.0.0.1', 10807)

3-I started local controllers , I suggest start from different bash session: 
                                 $ run1.sh   #this start controller with port 6633
                                 $ run2.sh  #port 6634
                                 $ run3.sh  #port 6635

4-The controllers ip adresses from mininet script:(file:test_net.py)
                                   c0 = RemoteController('c0', '10.10.10.10', 6633)
                                   c1 = RemoteController('c1', '10.10.10.10', 6634)
                                   c2 = RemoteController('c2', '10.10.10.10', 6635)

5-I started my topologie mininet : python test_net.py

Result: 
python test_net.py
Unable to contact the remote controller at 10.10.10.10:6633
Unable to contact the remote controller at 10.10.10.10:6634
Unable to contact the remote controller at 10.10.10.10:6635
mininet>

The problem that the three local controllers are not connected
How can I solve it?

Cordially,

Reply all
Reply to author
Forward
0 new messages