A simple project with mininet and onos
Suppose you already have installed docker, docker-compose and other common requirements, follow these steps.
- Run docker-compose file to run mininet and onos
docker-compose docker-compose.yaml up
- Go to mininet terminal
docker exec -it mininet /bin/bash
- Run simple topology in mininet terminal with remote controller which here is onos
- note that onos-ip here is the ip that onos is running on it in your computer
mn --controller remote,ip=onos-ip --topo=tree,depth=2
- Open a browser and go to
http://localhost:8181
to see your topology
If everything is correct you can see these results
Use pingall
command to check the connectivity
You can find some custom topology in topology folder