private LbServicesConfig.Tenants.Builder getTenantConfig(Set<ApplicationInfo> apps) {
        LbServicesConfig.Tenants.Builder tb = new LbServicesConfig.Tenants.Builder();
        apps.stream()
                .sorted(Comparator.comparing(ApplicationInfo::getApplicationId))
                .filter(applicationInfo -> generateRoutingConfig(applicationInfo.getApplicationId()))
                .forEach(applicationInfo -> tb.applications(createLbAppIdKey(applicationInfo.getApplicationId()), getAppConfig(applicationInfo)));
        return tb;
    }
Produces lb-services cfg

@author Vegard Havdal
configserver/src/main/java/com/yahoo/vespa/config/server/model/LbServicesProducer.java