'delete snapshot.'

def delete_snapshot(self, pool, project, lun, snapshot):

    svc = ((((((('/api/storage/v1/pools/' + pool) + '/projects/') + project) + '/luns/') + lun) + '/snapshots/') + snapshot)
    ret = self.rclient.delete(svc)
    if (ret.status != restclient.Status.NO_CONTENT):
        exception_msg = (_('Error    Deleting    Snapshot:    %(snapshot)s    on    Volume:    %(lun)s    to    Pool:    %(pool)s    Project:    %(project)s        Return    code:    %(ret.status)d    Message:    %(ret.data)s.') % {'snapshot': snapshot, 'lun': lun, 'pool': pool, 'project': project, 'ret.status': ret.status, 'ret.data': ret.data})
        LOG.error(exception_msg)
        raise exception.VolumeBackendAPIException(data=exception_msg)
