Fixed _update_cluster_status so reserved_percentage uses value
from cinder.conf.
Change-Id: I74af8dd86645b4c0800391bd126bf2bce94cf205
self.configuration.san_is_local = True
self.configuration.sf_emulate_512 = True
self.configuration.sf_account_prefix = 'cinder'
+ self.configuration.reserved_percentage = 25
super(SolidFireVolumeTestCase, self).setUp()
self.stubs.Set(SolidFireDriver, '_issue_api_request',
data['total_capacity_gb'] = results['maxProvisionedSpace']
data['free_capacity_gb'] = float(free_capacity / units.GiB)
- data['reserved_percentage'] = 0
+ data['reserved_percentage'] = self.configuration.reserved_percentage
data['QoS_support'] = True
data['compression_percent'] =\
results['compressionPercent']