Git Product home page Git Product logo

parc's Introduction

PARC

A hierarchical control plane for SDN (Software-Defined Networking) with a central controller and several local controllers.
PARC is the highlights of this system, which means a Control plane with features like Partition, Abstract and Recursion.
The local agent is run on ryu, and the topology can be based on mininet.

Steps

  1. The package tflc is the code of central controller and package cc_client is the code of the local controller, which runs on ryu.
  2. Design a LOCAL CONTROLLER topology with their links and ports represented, then update lc_level_topo.py in tflc and cfg.py in cc_client according to the LOCAL CONTROLLER topology.
  3. On the central controller, run tflc.py to start the central controller. You can also use REST debug tools like POSTMAN to check the status and parameter, reference: tflc/app_manager.py line 287.
  4. On local controllers, run the local client using ryu-manager --observe-links layer_2_switch.py. --observe-links is used to discover the switch topology in the controller's control domain.

parc's People

Contributors

ppgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

anushka-00

parc's Issues

Problem running the central controller

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,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.