First crack at allowing Controller to be customized.

Network may now be used with custom controllers.
An example of doing this is in nox.py, which instantiates at TreeNet
using a custom Controller, NoxController, that runs nox_core rather
than the reference controller.
This commit is contained in:
Bob Lantz
2009-12-14 20:14:44 -08:00
parent 845dedca32
commit 2f53491343
7 changed files with 54 additions and 70 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ from mininet import init, TreeNet, pingTestVerbose
def treePing64():
results = {}
datapaths = [ 'kernel', 'user' ]
datapaths = [ 'user', 'kernel' ]
print "*** Testing Mininet with kernel and user datapaths"
print "*** Testing Mininet with user and kernel datapaths"
for datapath in datapaths:
k = datapath == 'kernel'