Statistics
| Branch: | Tag: | Revision:

mininet / examples @ 34954fe6

Name Size Revision Age Author Comment
README 1.68 KB 6c82d1ba almost 11 years Bob Lantz Added blurbs for new demos.
consoles.py 15 KB ab1fb093 almost 11 years Bob Lantz Added output hook and graph.
emptynet.py 986 Bytes 34954fe6 almost 11 years Bob Lantz Minor comment change.
linearbandwidth.py 3.29 KB 35341142 almost 11 years Bob Lantz Minor formatting changes.
miniedit.py 24.6 KB e10abba0 almost 11 years Bob Lantz Added a simple graphical network editor demo.
multitest.py 1.02 KB a4db2c2f almost 11 years Bob Lantz Removed unnecessary init() calls.
scratchnet.py 1.72 KB d93c6ef6 almost 11 years Bob Lantz Change to use setLogLevel()
scratchnetuser.py 2.16 KB fe414722 almost 11 years Bob Lantz Change to use setLogLevel()
sshd.py 2.49 KB a4db2c2f almost 11 years Bob Lantz Removed unnecessary init() calls.
tree1024.py 529 Bytes 56278434 almost 11 years Bob Lantz Changed to use library TreeNet() and remove unn...
treeping64.py 975 Bytes 4720f559 almost 11 years Bob Lantz Fixed to import TreeNet and to skip unnecessary...
udpbwgraph.py 7.77 KB c58bb42f almost 11 years Bob Lantz Added updbwgraph, a demo of how to graphically ...
udpbwtest.c 5.15 KB 48a8d297 almost 11 years Bob Lantz Removed blank line.
udpbwtest.py 3.45 KB a4db2c2f almost 11 years Bob Lantz Removed unnecessary init() calls.

Latest revisions

# Date Author Comment
34954fe6 04/23/2010 12:02 AM Bob Lantz

Minor comment change.

ab1fb093 04/23/2010 12:01 AM Bob Lantz

Added output hook and graph.

3482b446 04/13/2010 01:32 AM Bob Lantz

Changed to not print control chars we don't handle.

e7ba6b9e 04/11/2010 08:43 AM Bob Lantz

Add title to consoles.

fce4d59d 04/11/2010 08:12 AM Bob Lantz

Added ability to show switches and controllers.

6c82d1ba 04/11/2010 06:51 AM Bob Lantz

Added blurbs for new demos.

03e59652 04/11/2010 06:51 AM Bob Lantz

Changed to use info() and not call build() unnecessarily.

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.

View revisions

README


Mininet Examples These examples are intended to help you get started using Mininet's Python API. --- consoles.py: This example creates a grid of console windows, one for each node, and allows interaction with and monitoring of each console. emptynet.py: This example demonstrates creating an empty network (i.e. with no topology object) and adding nodes to it. 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. miniedit.py: This example demonstrates creating a network via a graphical editor. 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