def _get_infrastructure_engine():
    if CONF.infrastructure_engine != "heat":
        LOG.warning(_LW("Engine {engine} is not supported. Loading Heat "
                        "infrastructure engine instead.").format(
            engine=CONF.infrastructure_engine))
    LOG.debug("Infrastructure engine {engine} is loading".format(
        engine=INFRASTRUCTURE_ENGINE))
    return _load_driver('sahara.infrastructure.engine', INFRASTRUCTURE_ENGINE)
Import and return one of sahara.service.*_engine.py modules.
dataset/ETHPy150Open openstack/sahara/sahara/main.py/_get_infrastructure_engine