'Get a compute node by ID or UUID in a specific cell.'

def compute_node_get(self, ctxt, compute_id):

    version = '1.38'
    if uuidutils.is_uuid_like(compute_id):
        if (not self.client.can_send_version(version)):
            LOG.warning('Unable    to    get    compute    node    by    UUID    %s;    service    is    too    old    or    the    version    is    capped.', compute_id)
            raise exception.ComputeHostNotFound(host=compute_id)
    else:
        version = '1.4'
    cctxt = self.client.prepare(version=version)
    return cctxt.call(ctxt, 'compute_node_get', compute_id=compute_id)
