// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.noderepository;

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

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

    /** Nodes running the shared proxy layer */
    proxy,

    /** A node to be assigned to a tenant to run application workloads */
    tenant,

    /** A config server */
    config
}

@@ -295,16 +295,103 @@
 Type %7B%0A%0A
+    /** A node to be assigned to a tenant to run application workloads */%0A    tenant,%0A%0A
     /** 
@@ -519,76 +519,88 @@
 * A 
-node to be assigned to a tenant to run application workloads
+host of a (docker) proxy node */%0A    proxyhost,%0A%0A    /** A config server
  */%0A    
 tena
@@ -587,38 +587,38 @@
 g server */%0A    
-tenant
+config
 ,%0A%0A    /** A con
@@ -605,32 +605,51 @@
 nfig,%0A%0A    /** A
+ host of a (docker)
  config server *
@@ -639,32 +639,37 @@
 ) config server 
+node 
 */%0A    config%0A%7D%0A
@@ -665,11 +665,15 @@
   config
+host
 %0A%7D%0A

Add new node types