Merge branch 'customtopos' into bl-dev

This commit is contained in:
Bob Lantz
2010-03-01 15:34:40 -08:00
12 changed files with 159 additions and 32 deletions
+4 -2
View File
@@ -462,9 +462,11 @@ class NOX( Controller ):
noxArgs = [ noxArgs ]
if not noxArgs:
noxArgs = [ 'packetdump' ]
if 'NOX_CORE_DIR' not in os.environ:
exit( 'exiting; please set missing NOX_CORE_DIR env var' )
noxCoreDir = os.environ[ 'NOX_CORE_DIR' ]
if not noxCoreDir:
raise Exception( 'please set NOX_CORE_DIR env var\n' )
Controller.__init__( self, name,
controller=noxCoreDir + '/nox_core',
cargs='--libdir=/usr/local/lib -v -i ptcp: ' +