Statistics
| Branch: | Tag: | Revision:

mininet / examples @ e0e69bbe

Name Size Revision Age Author Comment
README 1.71 KB 3758da2e over 11 years Bob Lantz Minor comment change.
consoles.py 15 KB 73a098a4 about 11 years Bob Lantz Use __dict__.update to update an object's fields.
controllers.py 1.43 KB e0e69bbe about 11 years Bob Lantz Added new example of multiple controllers.
emptynet.py 948 Bytes 82b72072 over 11 years Bob Lantz Pass pylint.
linearbandwidth.py 3.29 KB 35341142 over 11 years Bob Lantz Minor formatting changes.
miniedit.py 25 KB c26875cb over 11 years Bob Lantz Fixed minor breakage due to code cleanup.
multitest.py 1.01 KB 259d7133 over 11 years Bob Lantz Pass pyflakes.
scratchnet.py 1.78 KB b1458654 over 11 years Bob Lantz Added comment advising use of high-level API.
scratchnetuser.py 2.21 KB b1458654 over 11 years Bob Lantz Added comment advising use of high-level API.
sshd.py 2.48 KB 259d7133 over 11 years Bob Lantz Pass pyflakes.
tree1024.py 528 Bytes e3f6ecca over 11 years Bob Lantz Pass codecheck.
treeping64.py 923 Bytes 259d7133 over 11 years Bob Lantz Pass pyflakes.
udpbwgraph.py 9.23 KB e3f6ecca over 11 years Bob Lantz Pass codecheck.
udpbwtest.c 5.15 KB 48a8d297 over 11 years Bob Lantz Removed blank line.
udpbwtest.py 3.44 KB 259d7133 over 11 years Bob Lantz Pass pyflakes.

Latest revisions

# Date Author Comment
e0e69bbe 09/02/2010 02:53 AM Bob Lantz

Added new example of multiple controllers.

73a098a4 09/02/2010 02:51 AM Bob Lantz

Use dict.update to update an object's fields.

c26875cb 05/07/2010 08:15 AM Bob Lantz

Fixed minor breakage due to code cleanup.

e3f6ecca 05/07/2010 12:48 AM Bob Lantz

Pass codecheck.

82b72072 05/06/2010 11:24 PM Bob Lantz

Pass pylint.

259d7133 05/05/2010 02:11 AM Bob Lantz

Pass pyflakes.

c79882b7 05/05/2010 12:32 AM Bob Lantz

Fixed typo.

fa20913b 04/29/2010 11:18 PM Bob Lantz

Added space to one line.

6ef2973f 04/23/2010 12:16 AM Bob Lantz

Use switches rather than switches.keys().

Minor cosmetic change, really.

3758da2e 04/23/2010 12:08 AM Bob Lantz

Minor comment change.

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, including graphical monitoring. 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