Missing parameter for storage pools in Pure Storage driver

Storage pools requires a manadatory parameter called
QoS_support. This is missing in the Pure Storage driver
so we will add it with the value of False
Also add parameter to unit test.

Fixes bug 1635342

Change-Id: I9f81f72fddf85ed7dee920ae48bea7f9707d4744
This commit is contained in:
Simon Dodsley
2016-10-21 16:35:26 -04:00
parent 73f271f585
commit 8d5a563aba
2 changed files with 2 additions and 0 deletions

View File

@@ -2694,6 +2694,7 @@ class PureVolumeUpdateStatsTestCase(PureBaseSharedDriverTestCase):
'consistencygroup_support': True,
'thin_provisioning_support': True,
'multiattach': True,
'QoS_support': False,
'total_capacity_gb': TOTAL_CAPACITY,
'free_capacity_gb': TOTAL_CAPACITY - USED_SPACE,
'reserved_percentage': reserved_percentage,

View File

@@ -556,6 +556,7 @@ class PureBaseVolumeDriver(san.SanDriver):
data['consistencygroup_support'] = True
data['thin_provisioning_support'] = True
data['multiattach'] = True
data['QoS_support'] = False
# Add capacity info for scheduler
data['total_capacity_gb'] = total_capacity