'Deletes a snapshot.'

def delete_snapshot(self, snapshot):

    if self._volume_not_present(self._escape_snapshot(snapshot['name'])):
        LOG.warning('snapshot:    %s    not    found,    skipping    delete    operations', snapshot['name'])
        LOG.info('Successfully    deleted    snapshot:    %s', snapshot['id'])
        return True
    self._delete_volume(snapshot, is_snapshot=True)
