Removing VMware support in 10 Fuel release

VMware is no longer supportes, thus we have no attributes use_vcenter
in the cluster attributes.

Change-Id: I90de98d736227c913fddfb27cefd186f29b3fb1b
Closes-Bug: #1666835
Implements: blueprint remove-vmware
This commit is contained in:
Alexander Kislitsky 2017-02-22 12:36:53 +03:00
parent 928aa712bf
commit 0efc1357e5
1 changed files with 3 additions and 1 deletions

View File

@ -650,7 +650,9 @@ class NailgunConfig(object):
access_data['password']['value']
)
self.compute.libvirt_type = common_data['libvirt_type']['value']
self.compute.use_vcenter = common_data['use_vcenter']['value']
# After removing vmware support we have no attribute use_vcenter
self.compute.use_vcenter = common_data.get('use_vcenter', {}).get(
'value', False)
self.compute.auto_assign_floating_ip = common_data[
'auto_assign_floating_ip']['value']