public void setNodeState(Node node, NodeState newState) {
        newState.verifyValidInSystemState(node.getType());
        getNodes(node.getType()).setNodeState(node, newState);
    }
Set the node state of the given node.

Automatically adjusts number of nodes of that given type if out of range of current nodes seen.
vdslib/src/main/java/com/yahoo/vdslib/state/ClusterState.java