private static void addContainerClusterDocprocHops(Collection<ContainerCluster<?>> containerClusters, RoutingTableSpec table) {
        for (ContainerCluster<?> cluster: containerClusters) {
            ContainerDocproc docproc = cluster.getDocproc();

            if (docproc != null) {
                for (DocprocChain chain : docproc.getChains().allChains().allComponents()) {
                    addChainHop(table, cluster.getConfigId(), chain);
                }
            }
        }
    }
This function extrapolates any routes for the document protocol that it can from the vespa model.

@param plugins all initialized plugins of the vespa model
@return routing table for the document protocol
config-model/src/main/java/com/yahoo/vespa/model/routing/DocumentProtocol.java