Statistics
| Branch: | Tag: | Revision:

mininet / examples @ 0b7c277e

Name Size Revision Age Author Comment
README 1.79 KB a49c85a6 over 9 years Bob Lantz Fix examples to work with new API (and vice-ver...
baresshd.py 651 Bytes a49c85a6 over 9 years Bob Lantz Fix examples to work with new API (and vice-ver...
consoles.py 14.8 KB 14ff3ad3 over 9 years Bob Lantz Fix codecheck and MininetWithControlNet.
controllers.py 1.47 KB 74a56e2b about 11 years Bob Lantz Pass code check.
emptynet.py 948 Bytes 82b72072 over 11 years Bob Lantz Pass pylint.
hwintf.py 1.14 KB 1d67218d almost 11 years Bob Lantz Modified to add eth1.
limit.py 1.63 KB 0b7c277e over 9 years Bob Lantz Save parameters for future reference (e.g. OVS/...
linearbandwidth.py 3.22 KB e52d0ee1 over 9 years Bob Lantz Fix to work with new Topo class.
miniedit.py 24.6 KB 14ff3ad3 over 9 years Bob Lantz Fix codecheck and MininetWithControlNet.
multitest.py 1.02 KB 11782ae0 almost 11 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
scratchnet.py 1.98 KB a49c85a6 over 9 years Bob Lantz Fix examples to work with new API (and vice-ver...
scratchnetuser.py 2.38 KB 14ff3ad3 over 9 years Bob Lantz Fix codecheck and MininetWithControlNet.
sshd.py 2.48 KB a49c85a6 over 9 years Bob Lantz Fix examples to work with new API (and vice-ver...
tree1024.py 534 Bytes 11782ae0 almost 11 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
treeping64.py 930 Bytes 54d320ce almost 11 years Bob Lantz Pass code check.

Latest revisions

# Date Author Comment
0b7c277e 03/22/2012 06:07 AM Bob Lantz

Save parameters for future reference (e.g. OVS/tc workaround.)

e52d0ee1 03/20/2012 10:44 PM Bob Lantz

Fix to work with new Topo class.

14ff3ad3 03/11/2012 04:44 AM Bob Lantz

Fix codecheck and MininetWithControlNet.

a49c85a6 03/10/2012 12:06 AM Bob Lantz

Fix examples to work with new API (and vice-versa.)

8e3699ec 03/09/2012 10:10 PM Bob Lantz

Move init() into Mininet() and remove calls (since called automatically.)
Note: we should probably rename it "setup()" to avoid confusion.

216a4b7c 03/08/2012 08:05 AM Bob Lantz

Support for CFS bandwidth limiting.
Also trying to fix NOX cmdline opt, but broken at the moment.

4ac1148e 03/07/2012 07:52 AM Bob Lantz

Example/test of link and CPU bandwidth limits.

6f446f6e 03/02/2012 11:45 PM Bob Lantz

Make pylint happy.

54d320ce 10/28/2010 04:21 AM Bob Lantz

Pass code check.

1d67218d 10/26/2010 04:54 AM Bob Lantz

Modified to add eth1.

View revisions

README


Mininet Examples These examples are intended to help you get started using Mininet's Python API. --- baresshd.py: This example uses Mininet's medium-level API to create an sshd process running in a namespace. Doesn't use OpenFlow. 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. controllers.py: This example creates a network and adds multiple controllers to it. 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.py: This example creates a 64-host tree network, and attempts to check full connectivity using ping, for 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.)

Also available in: Atom