private NodeInfo getInfo(Node node) {
        return switch (node.getType()) {
            case DISTRIBUTOR -> getDistributorNodeInfo(node.getIndex());
            case STORAGE -> getStorageNodeInfo(node.getIndex());
        };
    }
Returns the node info object for a given node identifier
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ClusterInfo.java