summaryrefslogtreecommitdiffstats
path: root/docker/docker-node-type.yaml
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-06 17:46:45 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-06 17:50:51 -0400
commitda9cdd6a23d2fa2748795a6c83b14cc4d3fa3d13 (patch)
treea9e7a8580b992ebec517edb67b8e2e612dd4ecec /docker/docker-node-type.yaml
parentfcb0bb5252f8e90ce065e7e6f9034f9d1a4ef8ce (diff)
Enhance to query Consul for target docker host
* `SelectedDockerHost` actually queries by a name stem and location * Shorten name * Tag components with deployment id Change-Id: I715f1de25fa047ce70eb26a5cc7615cfd3b408e7 Issue-ID: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'docker/docker-node-type.yaml')
-rw-r--r--docker/docker-node-type.yaml19
1 files changed, 16 insertions, 3 deletions
diff --git a/docker/docker-node-type.yaml b/docker/docker-node-type.yaml
index 5fb0e27..b1bf64c 100644
--- a/docker/docker-node-type.yaml
+++ b/docker/docker-node-type.yaml
@@ -7,7 +7,7 @@ plugins:
docker:
executor: 'central_deployment_agent'
package_name: dockerplugin
- package_version: 2.3.0
+ package_version: 2.3.0+t.0.3
node_types:
# The DockerContainerForComponents node type is to be used for DCAE service components that
@@ -29,11 +29,18 @@ node_types:
service_id:
type: string
- description: Unique id for this DCAE service instance this component belongs to
+ description: >
+ Unique id for this DCAE service instance this component belongs to. This value
+ will be applied as a tag in the registration of this component with Consul.
+ default: Null
location_id:
type: string
- description: Location id of where to run the container
+ description: >
+ Location id of where to run the container.
+ DEPRECATED - No longer used. Infer the location from the docker host service
+ and/or node.
+ default: Null
service_component_name_override:
type: string
@@ -228,12 +235,18 @@ node_types:
type: string
description: Location id of the Docker host to use
+ name_search:
+ type: string
+ description: String to use when matching for names
+ default: component-dockerhost
+
# REVIEW: This field should really be optional but because there's no functionality
# that provides the dynamic solution sought after yet, it has been promoted to be
# required.
docker_host_override:
type: string
description: Docker hostname here is used as a manual override
+ default: Null
interfaces:
cloudify.interfaces.lifecycle: