'Delete a snapshot.'

def delete_snapshot(self, snapshot):

    LOG.debug('snapshot:    %s', snapshot.__dict__)
    snap_metadata = snapshot['metadata']
    if ('snapshot_id' not in snap_metadata):
        return
    LOG.debug('snapshot_id:    %s', snap_metadata['snapshot_id'])
    snapshot_id = snap_metadata['snapshot_id']
    self.api_executor.api_delete_snapshot(snapshot_id)
