Automatically load kernel module dependencies
Before this commit, you'd have to manually insert the kernel module for OVS or OF kernel modules, and you couldn't run one regression test with all 3. Now, these are kmod insert/remove is handled automatically.
This commit is contained in:
1 parent
a165881049
commit
b055728fd5
6 files changed
+100
-6
No files matched your search
@@ -7,10 +7,13 @@ import unittest
|
||||
|
||||
from mininet.net import init, Mininet
|
||||
from mininet.node import KernelSwitch, Host, Controller, ControllerParams
|
||||
from mininet.node import UserSwitch, OVSKernelSwitch
|
||||
from mininet.topo import SingleSwitchTopo, LinearTopo
|
||||
|
||||
# temporary, until user-space side is tested
|
||||
SWITCHES = { 'kernel': KernelSwitch }
|
||||
SWITCHES = { 'kernel': KernelSwitch,
|
||||
'user': UserSwitch,
|
||||
'ovsk': OVSKernelSwitch }
|
||||
|
||||
|
||||
class testSingleSwitch( unittest.TestCase ):
|
||||
|
||||
Reference in new issue
Block a user