See the slides or the report for details (french).
-
sudo mn -c
to clean previous topology. - Go to your
SDNController
directory and runjava -jar myTarget/sdncontroller.jar
to start the controller. -
./build_topo
to create the topology. (do not forget to runpingallfull
in mininet shell) - Docker images will be downloaded automatically during the topology creation (and are available on Docker Hub: https://hub.docker.com/u/sdciproject)
- In a new terminal
sudo docker exec mn.appserver sh -c "cd /workdir/in-cse && ./start.sh"
to start client server. - In a new terminal
sudo docker exec mn.gi sh -c "cd /workdir/mn-cse && ./start.sh"
to start GI. - 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). - To start the client app open new terminal and write:
sudo docker exec -it mn.appserver sh -c "cd /workdir && java -jar iotapp1.jar"
- 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
withmn.gf2
andmn.gf3
- to start devices 2 and 3 as well open new terminals and use the same command but replace
-
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"
- Open new terminal and write: