'name: name of node
inNamespace: in network namespace?
privateDirs: list of private directory strings or tuples
params: Node parameters (see config() for details)'

def __init__(self, name, inNamespace=True, **params):

    self.checkSetup()
    self.name = params.get('name', name)
    self.privateDirs = params.get('privateDirs', [])
    self.inNamespace = params.get('inNamespace', inNamespace)
    self.params = params
    self.intfs = {}
    self.ports = {}
    self.nameToIntf = {}
    (self.shell, self.execed, self.pid, self.stdin, self.stdout, self.lastPid, self.lastCmd, self.pollOut) = (None, None, None, None, None, None, None, None)
    self.waiting = False
    self.readbuf = ''
    self.startShell()
    self.mountPrivateDirs()
