summaryrefslogtreecommitdiff
path: root/glance_store/backend.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-19 17:40:04 +0000
committerGerrit Code Review <review@openstack.org>2018-07-19 17:40:04 +0000
commit87c35999cd1890ee5ed4cd696139ee2684b40c68 (patch)
treed70b6faabc546b8cd82fed8206648f23cb935d75 /glance_store/backend.py
parentf84d3044df527ba9dfde1d7eb465851b3726f1b9 (diff)
parent1bbe9b3f8ae1f56c283d87e50c11f059be6a43e6 (diff)
downloadglance_store-87c35999cd1890ee5ed4cd696139ee2684b40c68.tar.gz
Merge "Remove config option help translation"
Diffstat (limited to 'glance_store/backend.py')
-rw-r--r--glance_store/backend.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/glance_store/backend.py b/glance_store/backend.py
index 3bdbb6f..cffcf19 100644
--- a/glance_store/backend.py
+++ b/glance_store/backend.py
@@ -36,15 +36,15 @@ _STORE_OPTS = [
default=['file', 'http'],
deprecated_for_removal=True,
deprecated_since='Rocky',
- deprecated_reason=_("""
+ deprecated_reason="""
This option is deprecated against new config option
``enabled_backends`` which helps to configure multiple backend stores
of different schemes.
This option is scheduled for removal in the Stein development
cycle.
-"""),
- help=_("""
+""",
+ help="""
List of enabled Glance stores.
Register the storage backends to use for storing disk images
@@ -64,24 +64,23 @@ Possible values:
Related Options:
* default_store
-""")),
+"""),
cfg.StrOpt('default_store',
default='file',
choices=('file', 'filesystem', 'http', 'https', 'swift',
'swift+http', 'swift+https', 'swift+config', 'rbd',
'sheepdog', 'cinder', 'vsphere'),
-
deprecated_for_removal=True,
deprecated_since='Rocky',
- deprecated_reason=_("""
+ deprecated_reason="""
This option is deprecated against new config option
``default_backend`` which acts similar to ``default_store`` config
option.
This option is scheduled for removal in the Stein development
cycle.
-"""),
- help=_("""
+""",
+ help="""
The default scheme to use for storing images.
Provide a string value representing the default scheme to use for
@@ -109,21 +108,21 @@ Possible values:
Related Options:
* stores
-""")),
+"""),
cfg.IntOpt('store_capabilities_update_min_interval',
default=0,
min=0,
deprecated_for_removal=True,
deprecated_since='Rocky',
- deprecated_reason=_("""
+ deprecated_reason="""
This option configures a stub method that has not been implemented
for any existing store drivers. Hence it is non-operational, and
giving it a value does absolutely nothing.
This option is scheduled for removal early in the Stein development
cycle.
-"""),
- help=_("""
+""",
+ help="""
Minimum interval in seconds to execute updating dynamic storage
capabilities based on current backend status.
@@ -159,7 +158,7 @@ Possible values:
Related Options:
* None
-""")),
+"""),
]
_STORE_CFG_GROUP = 'glance_store'