'Delete the specified snapshot from the SolidFire cluster.'

def delete_snapshot(self, snapshot):

    sf_snap_name = ('%s%s' % (self.configuration.sf_volume_prefix, snapshot['id']))
    accounts = self._get_sfaccounts_for_tenant(snapshot['project_id'])
    snap = None
    for acct in accounts:
        params = {'accountID': acct['accountID']}
        sf_vol = self._get_sf_volume(snapshot['volume_id'], params)
        if sf_vol:
            sf_snaps = self._get_sf_snapshots(sf_vol['volumeID'])
            snap = next((s for s in sf_snaps if (s['name'] == sf_snap_name)), None)
            if snap:
                params = {'snapshotID': snap['snapshotID']}
                self._issue_api_request('DeleteSnapshot', params, version='6.0')
                return
    LOG.debug('Snapshot    not    found,    checking    old    style    clones.')
    self.delete_volume(snapshot)
