Skip to content

CMSC 191 (Software Defined Networks) Machine Problem - a project for Mininet health

License

Notifications You must be signed in to change notification settings

moffeemoffee/cs-191-sdn-mininet-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mininet Health

Mininet Health is a project done in Python for CMSC 191 (Software Defined Networks). Developed by Femo Bayani and Sean Pineda.

Pre-requisites

  1. Bottle
pip install bottle
  1. gevent
sudo apt-get python-gevent

Usage

There is an example usage included in demo.py

topo = MinimalTopo()

net = Mininet( topo=topo, switch=OVSSwitch, controller=[RemoteController], autoSetMacs=True )
net.start()

net.waitConnected()

mininetBottle = MininetVerifyHealth( net )
mininetBottle.run( host='0.0.0.0', port='8080', server='gevent' )

net.stop()

Then, just execute the script:

sudo python demo.py

Don't forget to start the controller as well. You could run POX's sample learning switch:

cd ~/pox
./pox.py forwarding.l2_learning

About

CMSC 191 (Software Defined Networks) Machine Problem - a project for Mininet health

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published