'Deletes a snapshot.
:param snapshot: snapshot reference'

def delete_snapshot(self, snapshot):

    volume = self._get_snapshot_volume(snapshot)
    nfs_share = volume['provider_location']
    nms = self.share2nms[nfs_share]
    (vol, dataset) = self._get_share_datasets(nfs_share)
    folder = ('%s/%s/%s' % (vol, dataset, volume['name']))
    try:
        nms.snapshot.destroy(('%s@%s' % (folder, snapshot['name'])), '')
    except exception.NexentaException as exc:
        if ('does    not    exist' in exc.args[0]):
            LOG.info('Snapshot    %(folder)s@%(snapshot)s    does    not    exist,    it    was    already    deleted.', {'folder': folder, 'snapshot': snapshot})
            return
        elif ('has    dependent    clones' in exc.args[0]):
            LOG.info('Snapshot    %(folder)s@%(snapshot)s    has    dependent    clones,    it    will    be    deleted    later.', {'folder': folder, 'snapshot': snapshot})
            return
