/Network_Topology

Lab in NCTU course "Introduction to Computer Networks 2018"

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Network Topology with Mininet

This repository is a lab for NCTU course "Introduction to Computer Networks 2018".


Abstract

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.


Objectives

  1. Learn how to create a network topology with Mininet
  2. Learn how to measure the bandwidth in your network topology with iPerf

Overview

  1. We will give you a Python code (example.py) that includes an example network topology of Mininet
  2. We will get you a figure illustrating a new topology you should generate
  3. Copy the necessary function code from example.py and write your Python code (topology.py) to generate this topology

Tasks

NOTICE: Please follow this slides for detail.

  1. Environment Setup
  2. Example of Mininet
  3. Topology Generator
  4. Measurement

File Structure

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

References


Contributor


License

GNU GENERAL PUBLIC LICENSE Version 3