summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2018-05-04 14:04:51 -0400
committerMark Beierl <mark.beierl@dell.com>2018-05-11 13:44:41 +0000
commit8962423227e13f45ef9f7dfbf48ed4847d3f3865 (patch)
tree045c15e23ef5def85f765df863f9b342cebc713a /docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
parent2f8c1546ee5d79f9b4c46e960a74930cfe0fe50e (diff)
Adds Volume Count and Dynamic Reloadopnfv-6.1.0
Adds a volume_count parameter that allows the user to change the number of volumes. Test execution still uses each volume specified and appends it to the host ip address in the graphite metrics. Changes the cache policy of the stack from SNAPS-OO so that changes made to the stack are refelcted in StorPerf. Fixes the documentation path and updates the docs for the above changes. Change-Id: I5b9160b469e80d4f7d6906ac270bb3b75411fb5a JIRA: STORPERF-242 Signed-off-by: mbeierl <mark.beierl@dell.com> (cherry picked from commit 1942e374fba718d1d4b6bc5388803c75e71aa197)
Diffstat (limited to 'docker/storperf-master/storperf/resources/hot/storperf-agent.yaml')
-rw-r--r--docker/storperf-master/storperf/resources/hot/storperf-agent.yaml24
1 files changed, 16 insertions, 8 deletions
diff --git a/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml b/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
index 7841e8c..8895c9f 100644
--- a/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
+++ b/docker/storperf-master/storperf/resources/hot/storperf-agent.yaml
@@ -24,6 +24,13 @@ parameters:
default: storperf
storperf_open_security_group:
type: string
+ volume_count:
+ type: number
+ description: Number of volumes to be created
+ default: 1
+ constraints:
+ - range: { min: 0, max: 1024 }
+ description: must be between 1 and 1024.
volume_size:
type: number
description: Size of the volume to be created.
@@ -87,15 +94,16 @@ resources:
port_id: { get_resource: storperf_agent_port }
agent_volume:
- type: OS::Cinder::Volume
- properties:
- size: { get_param: volume_size }
-
- agent_volume_att:
- type: OS::Cinder::VolumeAttachment
+ type: OS::Heat::ResourceGroup
properties:
- instance_uuid: { get_resource: storperf_agent }
- volume_id: { get_resource: agent_volume}
+ count: { get_param: volume_count }
+ resource_def: {
+ type: "storperf-volume.yaml",
+ properties: {
+ volume_size: { get_param: volume_size },
+ agent_instance_uuid: { get_resource: storperf_agent }
+ }
+ }
outputs:
storperf_agent_ip: