Merge "Enable DRIVER_REUSABLE for vmware store"

This commit is contained in:
Jenkins 2015-03-04 04:22:21 +00:00 committed by Gerrit Code Review
commit c17d64563c

View File

@ -221,7 +221,8 @@ class StoreLocation(location.StoreLocation):
class Store(glance_store.Store): class Store(glance_store.Store):
"""An implementation of the VMware datastore adapter.""" """An implementation of the VMware datastore adapter."""
_CAPABILITIES = capabilities.BitMasks.RW_ACCESS _CAPABILITIES = (capabilities.BitMasks.RW_ACCESS |
capabilities.BitMasks.DRIVER_REUSABLE)
OPTIONS = _VMWARE_OPTS OPTIONS = _VMWARE_OPTS
WRITE_CHUNKSIZE = units.Mi WRITE_CHUNKSIZE = units.Mi
# FIXME(arnaud): re-visit this code once the store API is cleaned up. # FIXME(arnaud): re-visit this code once the store API is cleaned up.