Revision 51270ce4 examples/ripcordtest.py

View differences:

examples/ripcordtest.py
5 5
import ripcord
6 6
from ripcord.topo import FatTreeTopo
7 7

  
8
from mininet import init, Controller, Network, Host, nameGen, Cli
9
from mininet import createLink, flush
8
from mininet.mininet import init, Controller, Network, Host, nameGen, Cli
9
from mininet.mininet import createLink, flush
10 10

  
11 11
class NoxController( Controller ):
12
   def __init__( self, name, kernel=False **kwargs ):
12
   def __init__( self, name, kernel=False, **kwargs ):
13 13
      Controller.__init__( self, name, kernel=kernel,
14 14
         controller='nox_core', 
15
         cargs='-v --libdir=/usr/local/lib -i ptcp: routing', 
15
         cargs='-v --libdir=/usr/local/lib -i ptcp:', 
16 16
         cdir='/usr/local/bin', **kwargs)
17 17
   
18 18
class FatTree( Network ):

Also available in: Unified diff