public HostSpec withPorts(Optional<NetworkPorts> ports) {
        return new HostSpec(hostname, realResources, advertisedResources, requestedResources, membership, version, ports, dockerImageRepo);
    }
Returns the requested resources leading to this host being provisioned, or empty if unspecified
config-provisioning/src/main/java/com/yahoo/config/provision/HostSpec.java