https://github.com/shafaghrastegari/sdn-simulation
A simple project with mininet and onos
https://github.com/shafaghrastegari/sdn-simulation
docker docker-compose mininet mininet-topology onos
Last synced: 26 days ago
JSON representation
A simple project with mininet and onos
- Host: GitHub
- URL: https://github.com/shafaghrastegari/sdn-simulation
- Owner: ShafaghRastegari
- Created: 2022-04-24T21:16:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-07T06:33:42.000Z (about 4 years ago)
- Last Synced: 2023-10-17T07:53:53.532Z (over 2 years ago)
- Topics: docker, docker-compose, mininet, mininet-topology, onos
- Language: Python
- Homepage:
- Size: 1.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sdn-simulation
A simple project with mininet and onos
## Usage
Suppose you already have installed docker, docker-compose and other common requirements, follow these steps.
1. Run docker-compose file to run mininet and onos
```sh
docker-compose docker-compose.yaml up
```
2. Go to mininet terminal
```sh
docker exec -it mininet /bin/bash
```
3. 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
```sh
mn --controller remote,ip=onos-ip --topo=tree,depth=2
```
4. Open a browser and go to `http://localhost:8181` to see your topology
## Result
If everything is correct you can see these results

Use `pingall` command to check the connectivity

### Custom topology
You can find some custom topology in topology folder