VMware: deprecate wsdl_location conf option

The wsdl_location is no longer needed. It was only required to be
set when connecting to a vCenter of version less than 5.1. The
current minimum version of the VMware vCenter driver is 5.1, so
its time to deprecate and later remove this option.

Change-Id: Ifffb90d5cc8143aac9b472d25d5fcb69b3252b92
This commit is contained in:
Eric Brown 2016-07-14 16:41:27 -07:00 committed by Matt Riedemann
parent 7a204383d5
commit fe98f68f5b
3 changed files with 12 additions and 1 deletions

View File

@ -190,6 +190,11 @@ is avoided as it creates copy of the virtual machine that shares
virtual disks with its parent VM.
"""),
cfg.StrOpt('wsdl_location',
deprecated_for_removal=True,
deprecated_reason='Only vCenter versions earlier than 5.1 '
'require this option and the current '
'minimum version is 5.1.',
deprecated_since='15.0.0',
help="""
This option specifies VIM Service WSDL Location

View File

@ -515,7 +515,6 @@ class VMwareAPISession(api.VMwareAPISession):
task_poll_interval=CONF.vmware.task_poll_interval,
scheme=scheme,
create_session=True,
wsdl_loc=CONF.vmware.wsdl_location,
cacert=cacert,
insecure=insecure)

View File

@ -0,0 +1,7 @@
---
deprecations:
- Deprecate the VMware driver's ``wsdl_location`` config option. This
option pointed to the location of the WSDL files required when using
vCenter versions earlier than 5.1. Since the minimum supported version
of vCenter is 5.1, there is no longer a need for this option and its
value is ignored.