Skip to content
Snippets Groups Projects
Commit 6ab417cc authored by Bob Lantz's avatar Bob Lantz
Browse files

Added setup for kernel switch.

parent 3e624fb2
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
"""
from mininet.net import init
from mininet.node import Node
from mininet.node import Node, KernelSwitch
from mininet.util import createLink
from mininet.log import lg, info
......@@ -51,5 +51,6 @@ def scratchNet( cname='controller', cargs='ptcp:' ):
if __name__ == '__main__':
lg.setLogLevel( 'info' )
info( '*** Scratch network demo (kernel datapath)\n' )
KernelSwitch.setup()
init()
scratchNet()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment