Statistics
| Branch: | Tag: | Revision:

mininet / examples @ ec7b211c

Name Size Revision Age Author Comment
README 630 Bytes 736038f8 over 11 years Bob Lantz Added README for examples.
linearbandwidth.py 3.18 KB 6ab1f1ff over 11 years Bob Lantz Run in non-verbose mode, and print network sizes.
scratchnet.py 1.68 KB 73a323f2 over 11 years Bob Lantz Made compatible with rearranged args for create...
scratchnetuser.py 2.15 KB 73a323f2 over 11 years Bob Lantz Made compatible with rearranged args for create...
sshd.py 2.49 KB 1a9d2eac over 11 years Bob Lantz Fixed createLink args and cleaned up slightly.
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
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.

736038f8 03/16/2010 09:59 PM Bob Lantz

Added README for examples.

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.

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

Fixed errors due to renaming buffer to buf.

80be5642 03/08/2010 11:32 PM Bob Lantz

Removed underscores for public Node methods. Minor cleanup & comments.

a16fae67 03/06/2010 01:19 AM Bob Lantz

Tweaks to separate command and options.

91b9e374 03/06/2010 01:13 AM Bob Lantz

Revived sshd.py example.

be963554 03/06/2010 01:01 AM Bob Lantz

Added some additional explanatory comments.

View revisions

README


Mininet Examples These examples are intended to help you get started using Mininet via its 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. 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. 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