/Software-Defined-Network

Software Defined Network

Primary LanguageC++

Software-Defined-Network(SDN)

Contributors

  • Controller: Tiantu Xu
  • Switch: Zhengzhe Zhu

Build

cd $PATH_TO_THE_REPO
mkdir cmake-build-debug
cd cmake-build-debug
cmake .. -DCMAKE_BUILD_TYPE=debug
make

Usage

Sample usage can be seen in test.sh

Lauch a controller

./controller.bin 5000 ../topology6.txt

Launch a switch

./switch.bin switch-id localhost 5000

Launch a switch with a failed link to a neighbor

./switch.bin switch-id localhost 5000 -f neighbor_id