public List<Node> deallocate(List<Node> nodes, Agent agent, String reason, ApplicationTransaction transaction) {
        return nodes.stream().map(node -> deallocate(node, agent, reason, transaction.nested())).toList();
    }
Set a node dirty or parked, allowed if it is in the provisioned, inactive, failed or parked state.
Use this to clean newly provisioned nodes or to recycle failed nodes which have been repaired or put on hold.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java