Statistics
| Branch: | Tag: | Revision:

mininet / examples @ 28f46c8d

Name Size Revision Age Author Comment
README 1.71 KB 3758da2e over 10 years Bob Lantz Minor comment change.
baresshd.py 672 Bytes 300efb2b about 10 years Bob Lantz Added simple example of using API just to creat...
consoles.py 15 KB 73a098a4 about 10 years Bob Lantz Use __dict__.update to update an object's fields.
controllers.py 1.47 KB 74a56e2b about 10 years Bob Lantz Pass code check.
emptynet.py 948 Bytes 82b72072 over 10 years Bob Lantz Pass pylint.
hwintf.py 1.14 KB 1d67218d almost 10 years Bob Lantz Modified to add eth1.
linearbandwidth.py 3.33 KB 11782ae0 almost 10 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
miniedit.py 25 KB 28f46c8d over 8 years Bob Lantz Pass code check.
multitest.py 1.02 KB 11782ae0 almost 10 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
scratchnet.py 1.83 KB 11782ae0 almost 10 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
scratchnetuser.py 2.21 KB b1458654 over 10 years Bob Lantz Added comment advising use of high-level API.
sshd.py 2.49 KB 11782ae0 almost 10 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
tree1024.py 534 Bytes 11782ae0 almost 10 years Bob Lantz Commented out kernel ref, moved to Open vSwitch.
treeping64.py 930 Bytes 54d320ce almost 10 years Bob Lantz Pass code check.

Latest revisions

# Date Author Comment
28f46c8d 03/12/2012 11:12 PM Bob Lantz

Pass code check.

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.

76521ef1 10/26/2010 04:53 AM Bob Lantz

Added example of adding hw interface to mininet.

7e643d36 10/26/2010 04:53 AM Bob Lantz

Removed udpbwgraph - not ready for prime time.

11782ae0 10/26/2010 04:52 AM Bob Lantz

Commented out kernel ref, moved to Open vSwitch.

74a56e2b 09/02/2010 03:50 AM Bob Lantz

Pass code check.

300efb2b 09/02/2010 02:54 AM Bob Lantz

Added simple example of using API just to create a namespace.

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.

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