Statistics
| Branch: | Tag: | Revision:

mininet @ bb941950

Name Size Revision Age Author Comment
  bin bb941950 over 11 years Brandon Heller Add flexible topology input parsing Now you ca...
  custom c246e2d5 over 11 years Bob Lantz Renamed topo_2sw_2host.py -> topo-2sw-2host.py ...
  examples 1a9d2eac over 11 years Bob Lantz Fixed createLink args and cleaned up slightly.
  mininet bb941950 over 11 years Brandon Heller Add flexible topology input parsing Now you ca...
  util 28ab4a33 over 11 years Brandon Heller Add env var to install script
.pylint 8.81 KB 7ecd095c over 11 years Bob Lantz Allow *args and **kwargs.
INSTALL 2.48 KB f52edfc5 over 11 years Brandon Heller Move sysctl params to separate file Simplifies...
Makefile 440 Bytes 26266932 over 11 years Bob Lantz Changed to report repeated pep8 issues.
README 2.38 KB 0a9ea29f over 11 years Bob Lantz Fixed problem for empty lists in cleanup. Added...
netns.c 377 Bytes 6a30c394 over 11 years Bob Lantz Changed to include linux/sched.c for compiling ...
setup.py 945 Bytes 3774f234 over 11 years Brandon Heller Update license and add networkx dependency

Latest revisions

# Date Author Comment
e3a2ef01 03/10/2010 05:52 AM Bob Lantz

Fixed docstrings for switch arg: name.

d44a5843 03/10/2010 05:48 AM Bob Lantz

Reinstantiated inNamespace and routed control network.

We need to figure out how to specify the IP addresses for the
routed control network. For now I'm going back to 192.168.12x.y

Also changed controller params to use IP strings rather than
numbers. However, we still need to clarify what ControllerParams...

47dbca29 03/10/2010 05:47 AM Bob Lantz

Made iperf verbose and fixed node command output.

1a9d2eac 03/10/2010 05:47 AM Bob Lantz

Fixed createLink args and cleaned up slightly.

73a323f2 03/10/2010 05:46 AM Bob Lantz

Made compatible with rearranged args for createLink.

315cbf9e 03/10/2010 05:45 AM Bob Lantz

Use IP address strings rather than hex number.

7ecd095c 03/10/2010 05:44 AM Bob Lantz

Allow *args and **kwargs.

7ba9e055 03/08/2010 11:36 PM Bob Lantz

Fixed errors due to renaming buffer to buf.

bb941950 03/05/2010 05:29 AM Brandon Heller

Add flexible topology input parsing

Now you can pass a topology name followed by params. For example, to
create a switch with 3 hosts:

sudo mn --topo single,3
1a40cd04 03/05/2010 02:58 AM Brandon Heller

Add new loglevel to display CLI output only

Also print warning if user chooses a loglevel that will hide CLI output.

View all revisions | View revisions

README


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.) * 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 * mininet.py 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 someNetwork.run( 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 rlantz@cs.stanford.edu

Also available in: Atom