Skip to content

Peachmann/mnGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

MnGui - a Mininet topology GUI

Features

  • Visualize the Mininet topology with information about its nodes
  • Define a custom startup topology
  • Dynamically modify the toplogy (add/remove hosts/switches)
  • View and modify flowtable of any active switch

Limitations

  • Needs RYU controller with access to topology information

Setup

Dependencies

  • Python 3.8.10
  • Mininet (or Mininet Fork such as Containernet)
  • Ryu (Topology API)
  • PyQT6

How to run

  1. Install all dependencies in your python venv with pip.
  2. Clone the repo.

git clone https://github.com/Peachmann/mnGui.git

  1. Switch to master branch.
  2. Navigate to src subfolder.
  3. Run the controller.

sudo ryu-manager controller.py --observe-links

  1. Run the main application

sudo python mngui.py

  1. Play around with the topology :)

Create custom startup topology

  • You can add your own custom topology based on the ones shown in topos.py
  • Choose your topology as startup in mininet_thread.py
  • Make sure to correctly set up all required information dicts for a correct startup
  • Respect the current limitations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages