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:
Brandon Heller
2010-03-14 03:53:16 -07:00
parent a165881049
commit b055728fd5
6 changed files with 100 additions and 6 deletions
+2
View File
@@ -151,6 +151,8 @@ class Mininet( object ):
self.dps = 0 # number of created kernel datapaths
self.terms = [] # list of spawned xterm processes
switch.setup()
if build:
self.build()