Adapt Parser test case to the new template
[functest.git] / functest / opnfv_tests / OpenStack / rally / scenario / templates / updated_autoscaling_policy_inplace.yaml.template
1 heat_template_version: 2013-05-23
2
3 description: >
4   Test template for create-update-delete-stack scenario in rally.
5   The template updates resource parameters without resource re-creation(replacement)
6   in the stack defined by autoscaling_policy.yaml.template. It allows to measure
7   performance of "pure" resource update operation only.
8
9 resources:
10   test_group:
11     type: OS::Heat::AutoScalingGroup
12     properties:
13       desired_capacity: 0
14       max_size: 0
15       min_size: 0
16       resource:
17         type: OS::Heat::RandomString
18   test_policy:
19     type: OS::Heat::ScalingPolicy
20     properties:
21       adjustment_type: change_in_capacity
22       auto_scaling_group_id: { get_resource: test_group }
23       scaling_adjustment: -1