Merge "VMware: deprecate wsdl_location conf option"

This commit is contained in:
Jenkins 2016-09-29 23:50:11 +00:00 committed by Gerrit Code Review
commit da7c5059a6
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.