def main(manager='apmec.conductor.conductor_server.Conductor'):
    init(sys.argv[1:])
    logging.setup(cfg.CONF, 'apmec')
    oslo_messaging.set_transport_defaults(control_exchange='apmec')
    logging.setup(cfg.CONF, 'apmec')
    cfg.CONF.log_opt_values(LOG, logging.DEBUG)
    server = apmec_service.Service.create(binary='apmec-conductor', topic=topics.TOPIC_CONDUCTOR, manager=manager)
    service.launch(cfg.CONF, server).wait()
def main(manager='apmec.conductor.conductor_server.Conductor'):
    init(sys.argv[1:])
    logging.setup(cfg.CONF, 'apmec')
    oslo_messaging.set_transport_defaults(control_exchange='apmec')
    logging.setup(cfg.CONF, 'apmec')
    cfg.CONF.log_opt_values(LOG, logging.DEBUG)
    server = apmec_service.Service.create(binary='apmec-conductor', topic=topics.TOPIC_CONDUCTOR, manager=manager)
    service.launch(cfg.CONF, server).wait()