The heat_integrationtests.functional.test_software_config Module

class heat_integrationtests.functional.test_software_config.ParallelDeploymentsTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

config_template = '\nheat_template_version: "2013-05-23"\nparameters:\n server:\n type: string\nresources:\n config:\n type: OS::Heat::SoftwareConfig\n properties:\n'
deploy_config(server, deploy_count)[source]
deploy_many_configs(stack, server, config_stacks, stack_count, deploys_per_stack, deploy_count_start)[source]
deployment_snippet = "\ntype: OS::Heat::SoftwareDeployments\nproperties:\n config: {get_resource: config}\n servers: {'0': {get_param: server}}\n"
enable_cleanup = True
server_template = '\nheat_template_version: "2013-05-23"\nparameters:\n flavor:\n type: string\n image:\n type: string\n network:\n type: string\nresources:\n server:\n type: OS::Nova::Server\n properties:\n image: {get_param: image}\n flavor: {get_param: flavor}\n user_data_format: SOFTWARE_CONFIG\n networks: [{network: {get_param: network}}]\noutputs:\n server:\n value: {get_resource: server}\n'
signal_deployments(stack_identifier)[source]
test_deployments_metadata()[source]
wait_for_deploy_metadata_set(stack, deploy_count)[source]
class heat_integrationtests.functional.test_software_config.ZaqarSignalTransportTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

conf_template = '\n[zaqar]\nuser_id = %(user_id)s\npassword = %(password)s\nproject_id = %(project_id)s\nauth_url = %(auth_url)s\nqueue_id = %(queue_id)s\n '
server_template = '\nheat_template_version: "2013-05-23"\n\nparameters:\n flavor:\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 user_data_format: SOFTWARE_CONFIG\n software_config_transport: ZAQAR_MESSAGE\n networks: [{network: {get_param: network}}]\n config:\n type: OS::Heat::SoftwareConfig\n properties:\n config: echo \'foo\'\n deployment:\n type: OS::Heat::SoftwareDeployment\n properties:\n config: {get_resource: config}\n server: {get_resource: server}\n signal_transport: ZAQAR_SIGNAL\n\noutputs:\n data:\n value: {get_attr: [deployment, deploy_stdout]}\n'
test_signal_queues()[source]
wait_for_deploy_metadata_set(stack)[source]

Previous topic

The heat_integrationtests.functional.test_snapshot_restore Module

Next topic

The heat_integrationtests.functional.test_software_deployment_group Module

Project Source

This Page