Merge "Add display_name to solidfire volume attributes"

This commit is contained in:
Zuul 2017-10-18 18:58:34 +00:00 committed by Gerrit Code Review
commit 6f5c4c2b68
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ class SolidFireDriver(san.SanISCSIDriver):
attributes = {'uuid': volume['id'],
'is_clone': 'False',
'created_at': create_time}
attributes['cinder-name'] = volume.get('display_name', "")
vname = '%s%s' % (self.configuration.sf_volume_prefix, volume['id'])
params = {'name': vname,
'accountID': sf_account['accountID'],