def StartMultiplexer(node):
  if node in _MULTIPLEXERS:
    return

  # Note: yes, we only need mktemp, since we'll remove the file anyway
  sname = tempfile.mktemp(prefix="ganeti-qa-multiplexer.")
  utils.RemoveFile(sname)
  opts = ["-N", "-oControlPath=%s" % sname, "-oControlMaster=yes"]
  print "Created socket at %s" % sname
  child = StartLocalCommand(GetSSHCommand(node, None, opts=opts))
  _MULTIPLEXERS[node] = (sname, child)
Create the generator for message flattening.
dataset/ETHPy150Open ganeti/ganeti/qa/qa_utils.py/StartMultiplexer--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/email/generator.py/Generator.__init__