def instance_delete_everywhere(self, message, instance, delete_type,
                                   **kwargs):
        LOG.debug("Got broadcast to %(delete_type)s delete instance",
                  {'delete_type': delete_type}, instance=instance)
        if delete_type == 'soft':
            self.compute_api.soft_delete(message.ctxt, instance)
        else:
            self.compute_api.delete(message.ctxt, instance)
Call compute API delete() or soft_delete() in every cell.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/messaging.py/_BroadcastMessageMethods.instance_delete_everywhere