Statistics
| Branch: | Tag: | Revision:

mininet / examples @ c3a583c8

Name Size Revision Age Author Comment
README 1.34 KB 45e82d09 over 11 years Bob Lantz Restored treeping64 and tre1024 examples and up...
consoles.py 6.78 KB c3a583c8 over 11 years Bob Lantz Changed comment on iperf.
emptynet.py 973 Bytes 3e6b3dd2 over 11 years Bob Lantz Added an example of how to make an empty Minine...
linearbandwidth.py 3.29 KB 35341142 over 11 years Bob Lantz Minor formatting changes.
miniedit.py 24.6 KB e10abba0 over 11 years Bob Lantz Added a simple graphical network editor demo.
multitest.py 1.02 KB a4db2c2f over 11 years Bob Lantz Removed unnecessary init() calls.
scratchnet.py 1.72 KB d93c6ef6 over 11 years Bob Lantz Change to use setLogLevel()
scratchnetuser.py 2.16 KB fe414722 over 11 years Bob Lantz Change to use setLogLevel()
sshd.py 2.49 KB a4db2c2f over 11 years Bob Lantz Removed unnecessary init() calls.
tree1024.py 529 Bytes 56278434 over 11 years Bob Lantz Changed to use library TreeNet() and remove unn...
treeping64.py 975 Bytes 4720f559 over 11 years Bob Lantz Fixed to import TreeNet and to skip unnecessary...
udpbwgraph.py 7.77 KB c58bb42f over 11 years Bob Lantz Added updbwgraph, a demo of how to graphically ...
udpbwtest.c 5.15 KB 48a8d297 over 11 years Bob Lantz Removed blank line.
udpbwtest.py 3.45 KB a4db2c2f over 11 years Bob Lantz Removed unnecessary init() calls.

Latest revisions

# Date Author Comment
c3a583c8 04/11/2010 05:40 AM Bob Lantz

Changed comment on iperf.

e123afea 04/11/2010 05:38 AM Bob Lantz

Changed to let iperf run indefinitely. Simplifies things.

7ad48292 04/11/2010 05:27 AM Bob Lantz

Added iperf command.

a4db2c2f 04/11/2010 04:35 AM Bob Lantz

Removed unnecessary init() calls.

4720f559 04/11/2010 04:35 AM Bob Lantz

Fixed to import TreeNet and to skip unnecessary init().

56278434 04/11/2010 04:35 AM Bob Lantz

Changed to use library TreeNet() and remove unnecessary init().

8e4d818a 04/11/2010 04:01 AM Bob Lantz

Made the scroll bars narrower to fit ping output on my 15" screen.

d0e53ca8 04/11/2010 03:52 AM Bob Lantz

Added semi-interactive command line support.

Now you can type commands into each mini-console!

3e6b3dd2 04/11/2010 02:29 AM Bob Lantz

Added an example of how to make an empty Mininet and add things to it.

c58bb42f 04/11/2010 02:28 AM Bob Lantz

Added updbwgraph, a demo of how to graphically monitor node output.

View revisions

README


Mininet Examples These examples are intended to help you get started using Mininet's Python API. --- linearbandwidth.py: This example shows how to create a custom topology programatically by subclassing Topo, and how to run a series of tests on it. multitest.py: This example creates a network and runs multiple tests on it. scratchnet.py, scratchnetuser.py: These two examples demonstrate how to create a network by using the lowest- level Mininet functions. Generally the higher-level API is easier to use, but scratchnet shows what is going on behind the scenes. sshd.py: This example shows how to run an sshd process in each host, allowing you to log in via ssh. This requires connecting the Mininet data network to an interface in the root namespace (generaly the control network already lives in the root namespace, so it does not need to be explicitly connected.) treeping64: This example creates a 64-host tree network, and attempts to check full connectivity using ping, for three different switch/datapath types. tree1024.py: This example attempts to create a 1024-host network, and then runs the CLI on it. It may run into scalability limits, depending on available memory and sysctl configuration (see INSTALL.) udpbwtest.py: This example shows how to run a test across an entire network, and monitor the output of a set of hosts in real time.

Also available in: Atom