// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision;

/**
 * The possible types of nodes in the node repository
 * 
 * @author bratseth
 */
public enum NodeType {

    /** A node to be assigned to a tenant to run application workloads */
    tenant(false, "Tenant node"),

    /** A host of a set of (docker) tenant nodes */
    host(true, "Tenant docker host"),

    /** Nodes running the shared proxy layer */
    proxy(false, "Proxy node"),

    /** A host of a (docker) proxy node */
    proxyhost(true, "Proxy docker host"),

    /** A config server */
    config(false, "Config server"),

    /** A host of a (docker) config server node */
    confighost(true, "Config docker host");

    private final boolean isDockerHost;
    private final String description;

    NodeType(boolean isDockerHost, String description) {
        this.isDockerHost = isDockerHost;
        this.description = description;
    }

    public boolean isDockerHost() {
        return isDockerHost;
    }

    public String description() {
        return description;
    }

}

@@ -783,16 +783,77 @@
 r host%22)
+,%0A%0A    /** A controller */%0A    controller(true, %22Controller%22)
 ;%0A%0A    p

Add controller node type