summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-03-04 04:22:21 +0000
committerGerrit Code Review <review@openstack.org>2015-03-04 04:22:21 +0000
commitc17d64563ccb4a6b840cd3f1c41fa990eb04c7c6 (patch)
tree8c4be1b885fb0a28e41e9b51ef37fdd1f2f7fa4d
parent43c084a336d7bc224443903089be8dc2aa14dd13 (diff)
parentf5154ee32315deba03174fcb2f3aa888ef474f6f (diff)
downloadglance_store-c17d64563ccb4a6b840cd3f1c41fa990eb04c7c6.tar.gz
Merge "Enable DRIVER_REUSABLE for vmware store"
-rw-r--r--glance_store/_drivers/vmware_datastore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glance_store/_drivers/vmware_datastore.py b/glance_store/_drivers/vmware_datastore.py
index e9ea4a1..fb37adc 100644
--- a/glance_store/_drivers/vmware_datastore.py
+++ b/glance_store/_drivers/vmware_datastore.py
@@ -221,7 +221,8 @@ class StoreLocation(location.StoreLocation):
class Store(glance_store.Store):
"""An implementation of the VMware datastore adapter."""
- _CAPABILITIES = capabilities.BitMasks.RW_ACCESS
+ _CAPABILITIES = (capabilities.BitMasks.RW_ACCESS |
+ capabilities.BitMasks.DRIVER_REUSABLE)
OPTIONS = _VMWARE_OPTS
WRITE_CHUNKSIZE = units.Mi
# FIXME(arnaud): re-visit this code once the store API is cleaned up.