static NodeType nodeTypeFromString(String typeString) {
        return switch (typeString) {
            case "tenant" -> NodeType.tenant;
            case "host" -> NodeType.host;
            case "proxy" -> NodeType.proxy;
            case "proxyhost" -> NodeType.proxyhost;
            case "config" -> NodeType.config;
            case "confighost" -> NodeType.confighost;
            case "controller" -> NodeType.controller;
            case "controllerhost" -> NodeType.controllerhost;
            default -> throw new IllegalArgumentException("Unknown node type '" + typeString + "'");
        };
    }
Returns the event type, or null if this event type should be ignored
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/NodeSerializer.java