NetApp NVMe namespace support for in-use expansion

This patch enables in-use expansion of NetApp NVMe namespaces, allowing
volumes to be resized while attached to running instances without
requiring detachment as this feature is supported by NetApp backend.

Closes-bug: #2120279
Change-Id: If7de1dd46798b82211be10708f8eb1d175eafb75
Signed-off-by: jayaanan <jayaanand.borra@netapp.com>
This commit is contained in:
jayaanan
2025-03-19 01:26:19 -04:00
parent 4afd6cc377
commit 1549d536d1
3 changed files with 16 additions and 2 deletions

View File

@@ -668,7 +668,7 @@ class NetAppNVMeStorageLibraryTestCase(test.TestCase):
'netapp_aggregate': 'aggr1',
'netapp_raid_type': 'raid_dp',
'netapp_disk_type': 'SSD',
'online_extend_support': False,
'online_extend_support': True,
'netapp_is_flexgroup': 'false',
}]
if report_provisioned_capacity:

View File

@@ -544,7 +544,7 @@ class NetAppNVMeStorageLibrary(
# Add driver capabilities and config info
pool['QoS_support'] = False
pool['multiattach'] = True
pool['online_extend_support'] = False
pool['online_extend_support'] = True
pool['consistencygroup_support'] = True
pool['consistent_group_snapshot_enabled'] = True
pool['reserved_percentage'] = self.reserved_percentage

View File

@@ -0,0 +1,14 @@
---
features:
- |
**NetApp NVMe namespace support for in-use expansion**
Added support for in-use expansion of NetApp NVMe namespaces, allowing
volumes to be resized while attached to running instances without
requiring detachment. This feature enables seamless volume expansion
for NVMe-backed volumes in NetApp ONTAP environments.
Key capabilities:
* **In-use expansion**: Volumes can be expanded while attached to running instances
* **NVMe namespace compatibility**: Full support for NetApp NVMe namespace expansion