tricircle/image/sync/drivers/__init__.py
zhiyuan_cai f9874c05ae Submit new code base
Change-Id: I233a1e0c8ecd9d35a66e28be0a6328b5c7215829
2015-06-18 11:58:12 +08:00

12 lines
200 B
Python

import nova.image.sync.drivers.filesystem
_store_drivers_map = {
'file:file':filesystem.Store
}
def get_store_driver(scheme_key):
cls = _store_drivers_map.get(scheme_key)
return cls()