private IP.Config ipConfig(int nodeIndex, int primarySize, int poolSize) {
        var primary = new ArrayList<String>();
        var ipPool = new ArrayList<String>();
        for (int i = 1; i <= primarySize + poolSize; i++) {
            var set = primary;
            if (i > primarySize) {
                set = ipPool;
            }
            var rootName = "test-node-primary";
            if (i > primarySize) {
                rootName = "test-node-pool";
            }
            var name = rootName + "-" + nodeIndex + "-" + i;
            var ipv6Address = "::" + nodeIndex + ":" + i;
            addRecord(name, ipv6Address);
            set.add(ipv6Address);
            if (i <= primarySize) {
                var ipv4Address = "127.0." + nodeIndex + "." + i;
                addRecord(name, ipv4Address);
                set.add(ipv4Address);
            }
        }
        return IP.Config.of(primary, ipPool, List.of());
    }
Constructor

@param flavors flavors to have in node repo
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockNodeRepository.java