예제 #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()