예제 #1
0
def get_storage():
    """ Return the engine class from the provided engine name """
    storage_driver = cfg.CONF['service:central'].storage_driver

    cls = Storage.get_driver(storage_driver)

    return cls()
예제 #2
0
def get_storage(storage_driver):
    """Return the engine class from the provided engine name"""
    cls = Storage.get_driver(storage_driver)

    return cls()
예제 #3
0
def get_storage(storage_driver):
    """Return the engine class from the provided engine name"""
    cls = Storage.get_driver(storage_driver)

    return cls()
예제 #4
0
def get_storage():
    """ Return the engine class from the provided engine name """
    storage_driver = cfg.CONF['service:central'].storage_driver
    return Storage.get_plugin(storage_driver, invoke_on_load=True)
예제 #5
0
def get_storage():
    """ Return the engine class from the provided engine name """
    storage_driver = cfg.CONF['service:central'].storage_driver
    return Storage.get_plugin(storage_driver, invoke_on_load=True)