This repository is a lab for NCTU course "Introduction to Computer Networks 2018".
In this lab, we are going to write a Python program which can generate a network topology using Mininet and use iPerf to measure the bandwidth of the topology.
- Learn how to create a network topology with Mininet
- Learn how to measure the bandwidth in your network topology with iPerf
- We will give you a Python code (
example.py) that includes an example network topology of Mininet - We will get you a figure illustrating a new topology you should generate
- Copy the necessary function code from
example.pyand write your Python code (topology.py) to generate this topology
NOTICE: Please follow this slides for detail.
- Environment Setup
- Example of Mininet
- Topology Generator
- Measurement
Network_Topology/ # This is ./ in this repository
|--- src/ # Folder of source code
|--- topo/ # The figure of topology
|--- topo0.png
|--- topo1.png
|--- topo2.png
|--- expect/ # Expected result using iPerf
|--- topo0
|--- topo1
|--- topo2
|--- out/ # Output files
|--- .gitkeep # For keeping this folder
|--- example.py # Example code of using Mininet
|--- topology.py # Your program should be here!
|--- LICENSE
|--- README.md
|--- .gitignore # For ignoring useless files- Mininet
- Python
- Others