Coder Social home page Coder Social logo

mngui's Introduction

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

mngui's People

Contributors

peachmann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.