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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user