'Given a volume identifier, find the corresponding device_id.
:param array: the array serial number
:param volume_name: the volume name (OS-<UUID>)
:returns: device_id'

def find_volume_device_id(self, array, volume_name):

    device_id = None
    params = {'volume_identifier': volume_name}
    volume_list = self.get_volume_list(array, params)
    if (not volume_list):
        LOG.debug('Cannot    find    record    for    volume    %(volumeId)s.', {'volumeId': volume_name})
    else:
        device_id = volume_list[0]
    return device_id
