summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2017-07-27 00:46:28 +0500
committerTaseer Ahmed <taseer94@gmail.com>2017-07-27 09:38:11 +0500
commit57396276d5b503461af0ccaee750e85b9b1e4475 (patch)
treefe2102d5b1e13322f7fd355d5803a51edae1eeee /docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
parent967371648191c37e20123c08e761c7a8a2a98516 (diff)
Add availability zone option to launch agent.
JIRA: STORPERF-178 Change-Id: I1a5c1a0d1c3b700a0858f644b01553bf0b5675de Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'docker/storperf-master/storperf/resources/hot/storperf-agent.yaml')
-rw-r--r--docker/storperf-master/storperf/resources/hot/storperf-agent.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml b/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
index 7bf8b4d..9f0481e 100644
--- a/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
+++ b/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
@@ -39,6 +39,9 @@ parameters:
type: string
constraints:
- custom_constraint: neutron.network
+ agent_zone:
+ type: string
+ default: nova
resources:
storperf_agent:
@@ -52,6 +55,7 @@ resources:
- port: { get_resource: storperf_agent_port }
user_data: { get_resource: storperf_agent_config }
user_data_format: RAW
+ availability_zone: { get_param: agent_zone}
storperf_agent_config:
type: "OS::Heat::CloudConfig"