The heat_integrationtests.functional.test_replace_deprecated
Module¶
-
class
heat_integrationtests.functional.test_replace_deprecated.
ReplaceDeprecatedResourceTest
(*args, **kwargs)[source]¶ Bases:
heat_integrationtests.functional.functional_base.FunctionalTestsBase
-
deployment_group_snippet
= “\ntype: OS::Heat::SoftwareDeploymentGroup\nproperties:\n config: {get_resource: config}\n servers: {‘0’: {get_resource: server}}\n signal_transport: NO_SIGNAL\n”¶
-
enable_cleanup
= True¶
-
template
= ‘\nheat_template_version: “2013-05-23”\nparameters:\n flavor:\n type: string\n image:\n type: string\n network:\n type: string\n\nresources:\n config:\n type: OS::Heat::SoftwareConfig\n properties:\n config: xxxx\n\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 dep:\n type: OS::Heat::SoftwareDeployments\n properties:\n config: {get_resource: config}\n servers: {'0': {get_resource: server}}\n signal_transport: NO_SIGNAL\noutputs:\n server:\n value: {get_resource: server}\n’¶
-