'Init.
name: name to give controller
noxArgs: arguments (strings) to pass to NOX'

def __init__(self, name, *noxArgs, **kwargs):

    if (not noxArgs):
        warn('warning:    no    NOX    modules    specified;    running    packetdump    only\n')
        noxArgs = ['packetdump']
    elif (type(noxArgs) not in (list, tuple)):
        noxArgs = [noxArgs]
    if ('NOX_CORE_DIR' not in os.environ):
        exit('exiting;    please    set    missing    NOX_CORE_DIR    env    var')
    noxCoreDir = os.environ['NOX_CORE_DIR']
    Controller.__init__(self, name, command=(noxCoreDir + '/nox_core'), cargs=('--libdir=/usr/local/lib    -v    -i    ptcp:%s    ' + '    '.join(noxArgs)), cdir=noxCoreDir, **kwargs)
