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:
raghavendrat 2023-05-18 13:14:23 +00:00
parent 456b6399be
commit ed5012a22e
3 changed files with 7 additions and 0 deletions

View File

@ -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,

View File

@ -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

View File

@ -0,0 +1,5 @@
---
other:
- |
Nimble driver: Enable thin provisioning as default method while creating
volumes.