deb-heat/rally-scenarios/extra/rg_template_with_outputs.yaml
Sergey Kraynev 4d8b9c966f Rally tests plugins for Heat
This patch demonstrate way how to use rally plugins in Heat repository.
Current patch contains 4 new scenario:
 - output-show for old algorithm
 - output-show for new algorithm
 - output-list for old algorithm
 - output-list for new algorithm

All new plugins use simple template with ResourceGroup resource,
which contains simple OS::Heat::TestResource with custom value of
timeout_attr property.

Change-Id: Ia960ab5bd59ca0f6fc0fa3aff069c34c67a89354
2016-03-02 12:20:37 -05:00

38 lines
874 B
YAML

heat_template_version: 2013-05-23
parameters:
attr_wait_secs:
type: number
default: 0.5
resources:
rg:
type: OS::Heat::ResourceGroup
properties:
count: 10
resource_def:
type: OS::Heat::TestResource
properties:
attr_wait_secs: {get_param: attr_wait_secs}
outputs:
val1:
value: {get_attr: [rg, resource.0.output]}
val2:
value: {get_attr: [rg, resource.1.output]}
val3:
value: {get_attr: [rg, resource.2.output]}
val4:
value: {get_attr: [rg, resource.3.output]}
val5:
value: {get_attr: [rg, resource.4.output]}
val6:
value: {get_attr: [rg, resource.5.output]}
val7:
value: {get_attr: [rg, resource.6.output]}
val8:
value: {get_attr: [rg, resource.7.output]}
val9:
value: {get_attr: [rg, resource.8.output]}
val10:
value: {get_attr: [rg, resource.9.output]}