summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart McLaren <stuart.mclaren@hp.com>2015-11-30 15:56:16 +0000
committerStuart McLaren <stuart.mclaren@hp.com>2015-11-30 16:26:24 +0000
commitfc61c21c058dd5cabe7758fcfa44136aadbc79f8 (patch)
treed3fd597f2f0fc890a66f65ebb29605b889cc96da
parent156ac6392918511d1a1091f8d9431301490d6635 (diff)
downloadglance_store-fc61c21c058dd5cabe7758fcfa44136aadbc79f8.tar.gz
Add list of supported stores to help
The glance-api.conf help is autogenerated from the glance_store help. To display the full list of stores available for the 'stores' parameter in the glance_store section of glance-api.conf add them to the relevant glance_store help comment. Change-Id: Ie69e1db0959e22e07a47943874b6710a063fbc1d Partial-bug: 1521236 (cherry picked from commit 815e463a42bce80a79e8471052c03bbf488de2c4)
-rw-r--r--glance_store/backend.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/glance_store/backend.py b/glance_store/backend.py
index df22729..205df5e 100644
--- a/glance_store/backend.py
+++ b/glance_store/backend.py
@@ -34,7 +34,9 @@ _ = i18n._
_STORE_OPTS = [
cfg.ListOpt('stores', default=['file', 'http'],
- help=_('List of stores enabled')),
+ help=_("List of stores enabled. Valid stores are: "
+ "cinder, file, http, rbd, sheepdog, swift, "
+ "s3, vsphere")),
cfg.StrOpt('default_store', default='file',
help=_("Default scheme to use to store image data. The "
"scheme must be registered by one of the stores "