Nimble: Enable thin provisioning as default
Since the value of flag ``thin_provisioning_support`` is not set; during create volume, by default thick volumes are created. This patch changes default behaviour to create thin volumes; which is in line with Nimble CLI behaviour. Change-Id: I8845ed4ba029f6e3b7a3f0f99d438ce7228e4c42
This commit is contained in:
parent
456b6399be
commit
ed5012a22e
@ -1138,6 +1138,7 @@ class NimbleDriverVolumeTestCase(NimbleDriverBaseTestCase):
|
||||
'reserved_percentage': 0,
|
||||
'QoS_support': False,
|
||||
'multiattach': True,
|
||||
'thin_provisioning_support': True,
|
||||
'consistent_group_snapshot_enabled': True}]}
|
||||
self.assertEqual(
|
||||
expected_res,
|
||||
|
@ -403,6 +403,7 @@ class NimbleBaseVolumeDriver(san.SanDriver):
|
||||
reserved_percentage=0,
|
||||
QoS_support=False,
|
||||
multiattach=True,
|
||||
thin_provisioning_support=True,
|
||||
consistent_group_snapshot_enabled=True)
|
||||
self.group_stats['pools'] = [single_pool]
|
||||
return self.group_stats
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
Nimble driver: Enable thin provisioning as default method while creating
|
||||
volumes.
|
Loading…
Reference in New Issue
Block a user