From 18dcf9527bf4dedb08498e2f34f9258ddfbc4863 Mon Sep 17 00:00:00 2001 From: TaoBai Date: Thu, 25 Jun 2015 01:49:36 -0700 Subject: [PATCH] Storwize driver report capability for multiattach The driver report the capability "multiattach=True" Implements blueprint: multi-attach-volume Change-Id: I2b145cac3390a84e65ef9229f9e18d236dbc96aa --- cinder/volume/drivers/ibm/storwize_svc/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cinder/volume/drivers/ibm/storwize_svc/__init__.py b/cinder/volume/drivers/ibm/storwize_svc/__init__.py index 5bd324f3a..50fe5d9d7 100644 --- a/cinder/volume/drivers/ibm/storwize_svc/__init__.py +++ b/cinder/volume/drivers/ibm/storwize_svc/__init__.py @@ -1088,6 +1088,8 @@ class StorwizeSVCDriver(san.SanDriver): data['total_capacity_gb'] = 0 # To be overwritten data['free_capacity_gb'] = 0 # To be overwritten data['reserved_percentage'] = self.configuration.reserved_percentage + data['multiattach'] = (self.configuration. + storwize_svc_multihostmap_enabled) data['QoS_support'] = True data['consistencygroup_support'] = True -- 2.45.2