The heat_integrationtests.functional.test_software_deployment_group Module

class heat_integrationtests.functional.test_software_deployment_group.SoftwareDeploymentGroupTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

deployment_crud(template)[source]
enable_cleanup = True
sd_template = “\nheat_template_version: 2016-10-14\n\nparameters:\n input:\n type: string\n default: foo_input\n\nresources:\n config:\n type: OS::Heat::SoftwareConfig\n properties:\n group: script\n inputs:\n - name: foo\n\n deployment:\n type: OS::Heat::SoftwareDeploymentGroup\n properties:\n config: {get_resource: config}\n input_values:\n foo: {get_param: input}\n servers:\n ‘0’: dummy0\n ‘1’: dummy1\n ‘2’: dummy2\n ‘3’: dummy3\n”
sd_template_with_upd_policy = “\nheat_template_version: 2016-10-14\n\nparameters:\n input:\n type: string\n default: foo_input\n\nresources:\n config:\n type: OS::Heat::SoftwareConfig\n properties:\n group: script\n inputs:\n - name: foo\n\n deployment:\n type: OS::Heat::SoftwareDeploymentGroup\n update_policy:\n rolling_update:\n max_batch_size: 2\n pause_time: 1\n properties:\n config: {get_resource: config}\n input_values:\n foo: {get_param: input}\n servers:\n ‘0’: dummy0\n ‘1’: dummy1\n ‘2’: dummy2\n ‘3’: dummy3\n”
test_deployment_crud()[source]
test_deployment_crud_with_rolling_update()[source]
test_deployments_create_delete_in_progress()[source]