Revision 35341142

View differences:

INSTALL
1

  
1 2
Preliminary Mininet Installation/Configuration Notes
2 3

  
3 4
Development version, March 2010
4 5

  
6
---
7

  
5 8
Disclaimer: this is not (yet) a 'release'; things may be broken.
6 9

  
7 10
These installation notes assume you understand how to do things 
examples/README
1

  
1 2
Mininet Examples
2 3

  
3
These examples are intended to help you get started using Mininet via its
4
Python API.
4
---
5 5

  
6
These examples are intended to help you get started using
7
Mininet's Python API:
6 8

  
7
linearbandwidth.py
9
linearbandwidth.py:
8 10

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

  
12
scratchnet.py, scratchnetuser.py
14
scratchnet.py, scratchnetuser.py:
13 15

  
14 16
These two examples demonstrate how to create a network by using the lowest-
15 17
level Mininet functions. Generally the higher-level API is easier to use,
16 18
but scratchnet shows what is going on behind the scenes.
17 19

  
18
udpbwtest.py
20
udpbwtest.py:
19 21

  
20 22
This example shows how to run a test across an entire network, and monitor
21 23
the output of a set of hosts in real time.
examples/linearbandwidth.py
71 71
    switches = { 'reference kernel': KernelSwitch,
72 72
            'reference user': UserSwitch,
73 73
            'Open vSwitch kernel': OVSKernelSwitch }
74
            
74

  
75 75
    for datapath in switches.keys():
76 76
        print "*** testing", datapath, "datapath"
77 77
        Switch = switches[ datapath ]
mininet/node.py
270 270
            if dstNode == node:
271 271
                connections.append( ( intf, dstIntf ) )
272 272
        return connections
273
        
273

  
274 274
    # This is a symmetric operation, but it makes sense to put
275 275
    # the code here since it is tightly coupled to routines in
276 276
    # this class. For a more symmetric API, you can use

Also available in: Unified diff