Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running the central controller #1

Open
S-IMEN opened this issue Sep 25, 2018 · 0 comments
Open

Problem running the central controller #1

S-IMEN opened this issue Sep 25, 2018 · 0 comments

Comments

@S-IMEN
Copy link

S-IMEN commented Sep 25, 2018

Hey Sir,
I have a problem when i run :
~/PARC-master/tflc$ sudo python tflc.py
Traceback (most recent call last):
File "tflc.py", line 11, in
import app_manager
File "/home/imen/PARC-master/tflc/app_manager.py", line 17, in
import lc_level_topo
File "/home/imen/PARC-master/tflc/lc_level_topo.py", line 9, in
LC_LEVEL_TOPO.add_node(1, {'type': 'controller', 'win_dpid': [3]})
TypeError: add_node() takes exactly 2 arguments (3 given)

For the same:
ryu-manager --observe-links /home/imen/PARC-master/cc_client/layer_2_switch.py

loading app /home/imen/PARC-master/cc_client/layer_2_switch.py
loading app ryu.topology.switches
loading app ryu.controller.ofp_handler
instantiating app /home/imen/PARC-master/cc_client/layer_2_switch.py of Layer2Switch
instantiating app ryu.topology.switches of Switches
instantiating app ryu.controller.ofp_handler of OFPHandler
cc_agent: connection failed, maybe the central controller doesn't start, retry ...
cc_agent: connection failed, maybe the central controller doesn't start, retry ...

Also , on mininet
:~/PARC-master/mininet_script$ sudo python two_region.py
*** Creating controllers
Unable to contact the remote controller at 192.168.124.128:6633
Unable to contact the remote controller at 192.168.124.129:6633
*** Creating switches
*** Creating hosts
*** Creating links

inter-region link from r1 to r2 is:
  left switch: s3 dpid: 0000000000000003 window port: 4
  right switch: s4 dpid: 0000000000000004 window port: 3
  please modify the topo in cc_client and tflc

*** Starting network
*** Configuring hosts
h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
*** Running CLI
*** Starting CLI:
mininet>

Please help me ... How can i solve it ?
Cordialy,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant