Minor formatting changes.
This commit is contained in:
+7
-5
@@ -1,21 +1,23 @@
|
||||
|
||||
Mininet Examples
|
||||
|
||||
These examples are intended to help you get started using Mininet via its
|
||||
Python API.
|
||||
---
|
||||
|
||||
These examples are intended to help you get started using
|
||||
Mininet's Python API:
|
||||
|
||||
linearbandwidth.py
|
||||
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
|
||||
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
|
||||
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.
|
||||
|
||||
@@ -71,7 +71,7 @@ def linearBandwidthTest( lengths ):
|
||||
switches = { 'reference kernel': KernelSwitch,
|
||||
'reference user': UserSwitch,
|
||||
'Open vSwitch kernel': OVSKernelSwitch }
|
||||
|
||||
|
||||
for datapath in switches.keys():
|
||||
print "*** testing", datapath, "datapath"
|
||||
Switch = switches[ datapath ]
|
||||
|
||||
Reference in New Issue
Block a user