def METHOD_NAME(cls):
    print("Launching ixfrdist..")
    conffile = 'ixfrdist.yml'
    params = tuple([getattr(cls, param) for param in cls._config_params])
    print(params)
    with open(conffile, 'w') as conf:
        conf.write("# Autogenerated by ixfrdisttests.py\n")
        conf.write(cls._config_template % params)
        if cls._config_domains is not None:
            conf.write("domains:\n")
            for domain, master in cls._config_domains.items():
                conf.write("  - domain: %s\n" % (domain))
                conf.write("    master: %s\n" % (master))
    ixfrdistcmd = [os.environ['IXFRDISTBIN'], '--config', conffile, '--debug']
    logFile = 'ixfrdist.log'
    with open(logFile, 'w') as fdLog:
        cls._ixfrdist = subprocess.Popen(ixfrdistcmd, close_fds=True,
                                         stdout=fdLog, stderr=fdLog)
    if 'IXFRDIST_FAST_TESTS' in os.environ:
        delay = 0.5
    else:
        delay = cls._ixfrDistStartupDelay
    time.sleep(delay)
    if cls._ixfrdist.poll() is not None:
        cls._ixfrdist.kill()
        sys.exit(cls._ixfrdist.returncode)