Statistics
| Branch: | Tag: | Revision:

mininet / examples @ 45e82d09

Name Size Revision Age Author Comment
README 1.34 KB 45e82d09 over 11 years Bob Lantz Restored treeping64 and tre1024 examples and up...
linearbandwidth.py 3.29 KB 35341142 over 11 years Bob Lantz Minor formatting changes.
multitest.py 1.03 KB 22f807fc over 11 years Bob Lantz Reinstated multitest example and updated exampl...
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.5 KB cf6f6704 over 11 years Bob Lantz Added two spaces before in-line # comments.
tree1024.py 781 Bytes 45e82d09 over 11 years Bob Lantz Restored treeping64 and tre1024 examples and up...
treeping64.py 1.12 KB 45e82d09 over 11 years Bob Lantz Restored treeping64 and tre1024 examples and up...
udpbwtest.c 5.15 KB 48a8d297 over 11 years Bob Lantz Removed blank line.
udpbwtest.py 3.46 KB ec7b211c over 11 years Bob Lantz Buffered output. Added net.monitor() and node.r...

Latest revisions

# Date Author Comment
45e82d09 03/25/2010 12:04 AM Bob Lantz

Restored treeping64 and tre1024 examples and updated README.

d93c6ef6 03/25/2010 12:03 AM Bob Lantz

Change to use setLogLevel()

fe414722 03/25/2010 12:03 AM Bob Lantz

Change to use setLogLevel()

22f807fc 03/24/2010 10:20 PM Bob Lantz

Reinstated multitest example and updated examples/README.

cf6f6704 03/24/2010 09:41 PM Bob Lantz

Added two spaces before in-line # comments.

35341142 03/24/2010 08:42 PM Bob Lantz

Minor formatting changes.

6ab417cc 03/22/2010 11:24 PM Bob Lantz

Added setup for kernel switch.

3e624fb2 03/18/2010 06:43 AM Bob Lantz

Added openvswitch kernel switch.

ec7b211c 03/16/2010 09:59 PM Bob Lantz

Buffered output. Added net.monitor() and node.readline()

Moved monitor() and readline() into net.py and node.py respectively,
which will hopefully be useful for monitoring large sets of hosts,
as is done in udpbwtest.py.

Changed iperf to use interactive command infrastructure (such as it...

6ab1f1ff 03/16/2010 09:59 PM Bob Lantz

Run in non-verbose mode, and print network sizes.

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