public Allocation withNetworkPorts(NetworkPorts ports) {
        return new Allocation(owner, clusterMembership, requestedResources, restartGeneration, removable, reusable, Optional.of(ports));
    }
Returns a copy of this allocation where removable and reusable are set to the given values. A node which is
reusable may be moved directly to {@link com.yahoo.vespa.hosted.provision.Node.State#dirty} after removal.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Allocation.java