public void setHostInfo(HostInfo hostInfo) {
        // Note: This will blank out any hostInfo we already had, if the parsing fails.
        // This is intentional, to make sure we're never left with stale data.
        this.hostInfo = hostInfo;
    }
Sets the wanted state. The wanted state is taken as UP if a null argument is given
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/NodeInfo.java