Files
mininet/examples
Bob Lantz ec7b211c41 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
is), which may make it more reliable. Hopefully it's a bit clearer
as well, although it is slightly more complicated.
2010-03-16 14:59:45 -07:00
..
2010-03-16 14:59:45 -07:00
2010-03-04 16:52:29 -08:00

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.