public NodeList cluster(ClusterSpec.Id cluster) {
        return matching(node -> node.allocation().isPresent() && node.allocation().get().membership().cluster().id().equals(cluster));
    }
Returns the subset of nodes assigned to the given cluster
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/NodeList.java