Skip to content
forked from ajchuang/Circus

A Circuit Simulator for SDN final project

Notifications You must be signed in to change notification settings

jilikuang/Circus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circus

A Circuit Simulator for SDN final project The goal is to implement a optical circuit switch simulator for testing the circuit language.

DESIGN SPEC

  • For each switch
    • Basics

      • TCP connection to the controller
      • listen to a UDP port for data packets
      • forward data in the UDP port
      • maintain a list of outgoing port and incoming port
        • switch port: (ip:port)
    • SDN related

      • a table of existing flows (configured by controller)
        • in port : out port : lambda_in : lambda_out : time_slot

CONFIG FILE (to discuss)

/* controller config */ CONTROLLER_IP TCP_PORT NUM_SWITCHES

/* switch map */ SWITCH_ID IP_ADDR UDP_PORT ...

/* switch connection config --> every switch is cs switch */ SWITCH_ID CS_PORT_CNT PORT_CONN_1(SWITCH_ID) PORT_CONN_2 ...

...

About

A Circuit Simulator for SDN final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.9%
  • Bison 12.8%
  • Vim Script 3.5%
  • Shell 2.3%
  • Emacs Lisp 1.5%