diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-12-06 14:48:32 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-12-06 14:48:32 +0000 |
commit | 2800b22d762e938727ec4b466178eca4de05006d (patch) | |
tree | 11dd8ae414138edb8fc17e89b6499f7679b71492 /functest/opnfv_tests/openstack/rally/scenario | |
parent | 2bc2a045a42796610e2d1d38eada7972e8c96454 (diff) |
Assign heat_stack_owner role to the new user
For heat scenario in rally, assign heat_stack_owner role to
the new created users.
Change-Id: I86a74ca88993ed3782d21b22eb5933d639d86c94
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/rally/scenario')
-rw-r--r-- | functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml | 26 | ||||
-rw-r--r-- | functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml | 8 |
2 files changed, 34 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml index 6f3a5c16..3adf8f7f 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml @@ -4,6 +4,8 @@ template_path: "{{ tmpl_dir }}/default.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -17,6 +19,8 @@ flavor: {{ flavor_name }} context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -30,6 +34,8 @@ network_id: {{ netid }} context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -41,6 +47,8 @@ template_path: "{{ tmpl_dir }}/default.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -53,6 +61,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_add.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -63,6 +73,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_delete.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -73,6 +85,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_resource_group_increase.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -83,6 +97,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -93,6 +109,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_resource_group_reduce.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -103,6 +121,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_replace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -114,6 +134,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -125,6 +147,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -134,6 +158,8 @@ - context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml index dc34cc3f..5df49aaa 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml @@ -5,6 +5,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -16,6 +18,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -27,6 +31,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -36,6 +42,8 @@ - context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: |