| Branch: | Tag: | Revision:

mininet @ e953444f

Name Size Revision Age Author Comment
  bin cdeaca86 over 11 years Brandon Heller Rename cliinfo debug level to output
  custom c246e2d5 over 11 years Bob Lantz Renamed -> ...
  examples 1a9d2eac over 11 years Bob Lantz Fixed createLink args and cleaned up slightly.
  mininet e953444f over 11 years Bob Lantz Corrected list checkin sendCmd.
  util c30e5007 over 11 years Brandon Heller Update install instructions
.gitignore 23 Bytes 77529ce5 over 11 years Brandon Heller Ignore binary and egg data
.pylint 8.81 KB 7ecd095c over 11 years Bob Lantz Allow *args and **kwargs.
INSTALL 2.38 KB 5947e017 over 11 years Bob Lantz Minor changes and corrections.
Makefile 428 Bytes f259e2fa over 11 years Brandon Heller Don't try to codecheck non-existent mnclean
README 2.44 KB 406f5da1 over 11 years Bob Lantz Change to mention 2.6.33 kernel.
netns.c 377 Bytes 6a30c394 almost 12 years Bob Lantz Changed to include linux/sched.c for compiling ... 924 Bytes 7cbde774 over 11 years Bob Lantz Added blank line.

Latest revisions

# Date Author Comment
e953444f 03/13/2010 09:59 PM Bob Lantz

Corrected list checkin sendCmd.

74993b65 03/13/2010 12:40 AM Bob Lantz

Changes to note neither ^C nor interactive commands work atm.

7b323bd4 03/13/2010 12:38 AM Bob Lantz

Removed executability since mn -c is easier!

7cbde774 03/13/2010 12:24 AM Bob Lantz

Added blank line.

08ed5bb6 03/13/2010 12:22 AM Bob Lantz

Made executable.

9e7aee20 03/13/2010 12:21 AM Bob Lantz

Merge branch 'master' of


740d7ce3 03/13/2010 12:17 AM Bob Lantz

Added newline at EOF.

4065511a 03/13/2010 12:16 AM Bob Lantz

Detach shells from tty; monitoring changes.

Call netns using setsid to detach from the tty; this is
intended to fix the problem of control-C killing your network.

sendInt() doesn't actually work - hopefully we can fix this in the
future, but it's tricky since we want to detach the many shells from...

2ad03eea 03/13/2010 12:16 AM Bob Lantz

Minor cleanup; got rid of backslash.

406f5da1 03/13/2010 12:13 AM Bob Lantz

Change to mention 2.6.33 kernel.

View all revisions | View revisions


Mininet: A Simple Virtual Testbed for OpenFlow aka How to Squeeze a 1024-node OpenFlow Network onto your Laptop (Extremely Experimental Development Version 0.1, December 2009) --- Mininet creates simple OpenFlow test networks by using process-based virtualization and network namespaces. Simulated hosts (as well as switches and controllers with the user datapath) are created as processes in separate network namespaces. This allows a complete OpenFlow network to be simulated on top of a single Linux kernel. Mininet provides a set of Python classes and functions which enable creation of OpenFlow networks of varying sizes and topologies. In order to run Mininet, you must have: * A Linux 2.6.26 or greater kernel compiled with network namespace support enabled. (debian-testing seems to have such a kernel, but it doesn't work for compiling nox, unfortunately.) 2.6.33 or greater is recommended for faster switch shutdown. * The OpenFlow reference implementation (either the user or kernel datapath may be used, and the tun or ofdatapath kernel modules must be loaded, respectively) * Python, bash, ping, iperf, etc. * Root privileges (required for network device access) * The netns program (included as netns.c), or an equivalent program of the same name, installed in an appropriate path location * installed in an appropriate Python path location Currently mininet includes: - A simple node infrastructure (Host, Switch, Controller classes) for creating virtual OpenFlow networks - A simple network infrastructure (class Network and its descendants TreeNet, GridNet and LinearNet) for creating scalable topologies and running experiments (e.g. TreeNet(2,3).run(pingTest) ) - Some simple tests which can be run using test ) - A simple command-line interface which may be invoked on a network using .run( Cli ). It provides useful diagnostic commands, as well as the ability to send a command to a node. For example, mininet> h11 ifconfig -a tells host h11 to run the command 'ifconfig -a' - A 'cleanup' script to get rid of junk (interfaces, processes, files in /tmp, etc.) which might be left around by mininet. Try this if things stop working! - Examples (in examples/ directory) to help you get started. Batteries are not included (yet!) However, some preliminary installation notes are included in the INSTALL file. Good luck! --- Bob Lantz

Also available in: Atom