'Get a list of SolidFire volumes.
Creates a list of SolidFire volumes based
on matching a list of cinder volume ID\'s,
also adds an \'cinder_id\' key to match cinder.'

def _map_sf_volumes(self, cinder_volumes, endpoint=None):

    vols = self._issue_api_request('ListActiveVolumes', {}, endpoint=endpoint)['result']['volumes']
    vlist = [sfvol for sfvol in vols for cv in cinder_volumes if (cv['id'] in sfvol['name'])]
    for v in vlist:
        v['cinder_id'] = v['name'].split(self.configuration.sf_volume_prefix)[1]
    return vlist
