Skip to content

Problem running the central controller  #1

Description

@S-IMEN

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions