'Delete a disco snapshot.'

def delete_snapshot(self, snapshot):

    LOG.debug('Enter    in    delete    a    disco    snapshot.')
    snap_id = snapshot['provider_location']
    LOG.debug('[start]    Delete    snapshot    :    %s.', snap_id)
    reply = self.client.snapshotDelete(snap_id)
    status = reply['status']
    result = reply['result']
    LOG.debug('[End]    Delete    snapshot    :    [status]    %(stat)s    -    [result]    %(res)s.', {'stat': six.text_type(status), 'res': result})
    if status:
        msg = (_('Error    while    deleting    snapshot    [status]    %(stat)s    -    [result]    %(res)s') % {'stat': six.text_type(status), 'res': result})
        LOG.error(msg)
        raise exception.VolumeBackendAPIException(data=msg)
