From: TaoBai Date: Thu, 25 Jun 2015 08:49:36 +0000 (-0700) Subject: Storwize driver report capability for multiattach X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=18dcf9527bf4dedb08498e2f34f9258ddfbc4863;p=openstack-build%2Fcinder-build.git Storwize driver report capability for multiattach The driver report the capability "multiattach=True" Implements blueprint: multi-attach-volume Change-Id: I2b145cac3390a84e65ef9229f9e18d236dbc96aa --- 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