public NodeState getWantedState() {
        NodeState retiredState = new NodeState(node.getType(), State.RETIRED);
        // Don't let configure retired state override explicitly set Down and Maintenance.
        if (configuredRetired && wantedState.above(retiredState)) {
            return retiredState;
        }
        return wantedState;
    }
Returns the wanted state of this node - which can either be set by a user or configured
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/NodeInfo.java