summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSabari Kumar Murugesan <smurugesan@vmware.com>2015-03-06 13:09:26 -0800
committerSabari <smurugesan@vmware.com>2015-03-09 21:57:36 +0000
commite9cc0c1d57303e28bb76933ca75e7a8e3fa6182d (patch)
tree4df37e35c76997fd8f44562a446c55eafa89b5ba
parentaa10f66ee09015555ac3ff5f702f9603ca31af9f (diff)
downloadglance_store-e9cc0c1d57303e28bb76933ca75e7a8e3fa6182d.tar.gz
Deprecate VMware store single datastore options
The options vmware_datastore_name and vmware_datacenter_path are redundant with vmware_datastores provided by the multi-datastore support in blueprint vmware-store-multiple-datastores. Depends-On: I61d1a6b07fe384c49958dbf3f912a65e52cc4f6c Change-Id: I573f415f2a44c35838a0a1a2c30da71e36b13549
-rw-r--r--glance_store/_drivers/vmware_datastore.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/glance_store/_drivers/vmware_datastore.py b/glance_store/_drivers/vmware_datastore.py
index 22e7093..f58edb7 100644
--- a/glance_store/_drivers/vmware_datastore.py
+++ b/glance_store/_drivers/vmware_datastore.py
@@ -66,12 +66,19 @@ _VMWARE_OPTS = [
secret=True),
cfg.StrOpt('vmware_datacenter_path',
default=constants.ESX_DATACENTER_PATH,
- help=_('Inventory path to a datacenter. '
+ help=_('DEPRECATED. Inventory path to a datacenter. '
'If the vmware_server_host specified is an ESX/ESXi, '
'the vmware_datacenter_path is optional. If specified, '
- 'it should be "ha-datacenter".')),
+ 'it should be "ha-datacenter". This option is '
+ 'deprecated in favor of vmware_datastores and will be '
+ 'removed in the Liberty release.'),
+ deprecated_for_removal=True),
cfg.StrOpt('vmware_datastore_name',
- help=_('Datastore associated with the datacenter.')),
+ help=_('DEPRECATED. Datastore associated with the datacenter. '
+ 'This option is deprecated in favor of '
+ 'vmware_datastores and will be removed in the Liberty '
+ 'release.'),
+ deprecated_for_removal=True),
cfg.IntOpt('vmware_api_retry_count',
default=10,
help=_('Number of times VMware ESX/VC server API must be '