The heat_integrationtests.functional.test_create_update
Module¶
-
class
heat_integrationtests.functional.test_create_update.
CreateStackTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.functional.functional_base.FunctionalTestsBase
-
class
heat_integrationtests.functional.test_create_update.
UpdateStackTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.functional.functional_base.FunctionalTestsBase
-
fail_param_template
= '\nheat_template_version: 2014-10-16\nparameters:\n do_fail:\n type: boolean\n default: False\nresources:\n aresource:\n type: OS::Heat::TestResource\n properties:\n value: Test\n fail: {get_param: do_fail}\n wait_secs: 1\n'¶
-
provider_group_template
= '\nheat_template_version: 2013-05-23\nparameters:\n count:\n type: number\n default: 2\nresources:\n test_group:\n type: OS::Heat::ResourceGroup\n properties:\n count: {get_param: count}\n resource_def:\n type: My::TestResource\n'¶
-
provider_template
= {'resources': {'test1': {'type': 'My::TestResource'}}, 'description': 'foo', 'heat_template_version': '2013-05-23'}¶
-
test_stack_update_with_new_env
()[source]¶ Update handles new resource types in the environment.
If a resource type appears during an update and the update fails, retrying the update is able to find the type properly in the environment.
-
test_stack_update_with_replacing_userdata
()[source]¶ Test case for updating userdata of instance.
Confirm that we can update userdata of instance during updating stack by the user of member role.
Make sure that a resource that inherits from StackUser can be deleted during updating stack.
-
update_userdata_template
= '\nheat_template_version: 2014-10-16\nparameters:\n flavor:\n type: string\n user_data:\n type: string\n image:\n type: string\n network:\n type: string\n\nresources:\n server:\n type: OS::Nova::Server\n properties:\n image: {get_param: image}\n flavor: {get_param: flavor}\n networks: [{network: {get_param: network} }]\n user_data_format: SOFTWARE_CONFIG\n user_data: {get_param: user_data}\n'¶
-