Skip to content
Snippets Groups Projects
README 632 B
Newer Older
Bob Lantz's avatar
Bob Lantz committed

Bob Lantz's avatar
Bob Lantz committed
Mininet Examples

Bob Lantz's avatar
Bob Lantz committed
---
Bob Lantz's avatar
Bob Lantz committed
These examples are intended to help you get started using
Mininet's Python API:
Bob Lantz's avatar
Bob Lantz committed
linearbandwidth.py:
Bob Lantz's avatar
Bob Lantz committed

This example shows how to create a custom topology programatically
by subclassing Topo, and how to run a series of tests on it.

Bob Lantz's avatar
Bob Lantz committed
scratchnet.py, scratchnetuser.py:
Bob Lantz's avatar
Bob Lantz committed

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.

Bob Lantz's avatar
Bob Lantz committed
udpbwtest.py:
Bob Lantz's avatar
Bob Lantz committed

This example shows how to run a test across an entire network, and monitor
the output of a set of hosts in real time.