Skip to content

Software Defined Networking (SDN) + VNFs deployment using Docker

Notifications You must be signed in to change notification settings

gautierdelorme/sdciproject

Repository files navigation

sdciproject

See the slides or the report for details (french).

Developer Setup

  1. sudo mn -c to clean previous topology.
  2. Go to your SDNController directory and run java -jar myTarget/sdncontroller.jar to start the controller.
  3. ./build_topo to create the topology. (do not forget to run pingallfull in mininet shell)
  4. Docker images will be downloaded automatically during the topology creation (and are available on Docker Hub: https://hub.docker.com/u/sdciproject)
  5. In a new terminal sudo docker exec mn.appserver sh -c "cd /workdir/in-cse && ./start.sh" to start client server.
  6. In a new terminal sudo docker exec mn.gi sh -c "cd /workdir/mn-cse && ./start.sh" to start GI.
  7. In a new terminal sudo docker exec mn.gf1 sh -c "cd /workdir/mn-cse && ./start.sh" to start GFx (change name depending on the finale gateway).
  8. To start the client app open new terminal and write: sudo docker exec -it mn.appserver sh -c "cd /workdir && java -jar iotapp1.jar"
  9. To start the IoT device #1 open new terminal and write: sudo docker exec -it mn.gf1 sh -c "cd /workdir && java -jar iotdevice.jar"
    • to start devices 2 and 3 as well open new terminals and use the same command but replace mn.gf1 with mn.gf2 and mn.gf3
  10. sudo docker run -it --privileged --name datacenter -d docker:dind sh to launch the datacenter
    • Open new terminal and write: sudo docker exec -it datacenter sh -c "dockerd -H unix://var/run/docker.sock -H tcp://0.0.0.0:2375"
    • Back to the initial terminal: sudo docker exec -it datacenter sh -c "docker pull sdciproject/gi-template"

About

Software Defined Networking (SDN) + VNFs deployment using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published