Revision 7d4b7b7f mininet/node.py

View differences:

mininet/node.py
1 1
#!/usr/bin/env python
2
"Node objects for Mininet."
2

  
3
"""
4
Node objects for Mininet.
5

  
6
Nodes provide a simple abstraction for interacting with
7
hosts, switches and controllers. Local nodes are simply
8
one or more processes on the local machine.
9

  
10
Node: superclass for all (currently only local) network nodes.
11

  
12
Host: a virtual host.
13

  
14
Switch: superclass for switch nodes.
15

  
16
UserSwitch: a switch using the user-space switch from the OpenFlow
17
    reference implementation.
18

  
19
KernelSwitch: a switch using the kernel switch from the OpenFlow reference
20
    implementation.
21

  
22
OVSSwitch: a switch using the OpenVSwitch OpenFlow-compatible switch
23
    implementation (openvswitch.org).
24

  
25
Controller: superclass for OpenFlow controllers. The default controller
26
    is controller(8) from the reference implementation.
27

  
28
NOXController: a controller node using NOX (noxrepo.org).
29

  
30
RemoteController: a remote controller node, which may use any
31
    arbitrary OpenFlow-compatible controller.
32
"""
3 33

  
4 34
from subprocess import Popen, PIPE, STDOUT
5 35
import os

Also available in: Unified diff