heat_integrationtests.functional.test_stack_outputs
Module¶heat_integrationtests.functional.test_stack_outputs.
StackOutputsTest
(*args, **kwargs)[source]¶Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase
after_template
= "\nheat_template_version: 2015-10-15\nresources:\n test_resource_a:\n type: OS::Heat::TestResource\n properties:\n value: 'foo'\n test_resource_b:\n type: OS::Heat::TestResource\n properties:\n value: {get_attr: [test_resource_a, output]}\noutputs:\n output_value:\n description: 'Output of resource b'\n value: {get_attr: [test_resource_b, output]}\n"¶before_template
= "\nheat_template_version: 2015-10-15\nresources:\n test_resource_a:\n type: OS::Heat::TestResource\n properties:\n value: 'foo'\noutputs:\n"¶error_template
= "\nheat_template_version: 2015-10-15\nresources:\n test_resource_a:\n type: OS::Heat::TestResource\n properties:\n value: 'a'\n test_resource_b:\n type: OS::Heat::TestResource\n properties:\n value: 'b'\noutputs:\n resource_output_a:\n description: 'Output of resource a'\n value: { get_attr: [test_resource_a, output] }\n resource_output_b:\n description: 'Output of resource b'\n value: { get_param: foo }\n"¶nested_template
= "\nheat_template_version: 2015-10-15\nresources:\n parent:\n type: 1.yaml\noutputs:\n resource_output_a:\n value: { get_attr: [parent, resource_output_a] }\n description: 'parent a'\n resource_output_b:\n value: { get_attr: [parent, resource_output_b] }\n description: 'parent b'\n "¶template
= "\nheat_template_version: 2015-10-15\nresources:\n test_resource_a:\n type: OS::Heat::TestResource\n properties:\n value: 'a'\n test_resource_b:\n type: OS::Heat::TestResource\n properties:\n value: 'b'\noutputs:\n resource_output_a:\n description: 'Output of resource a'\n value: { get_attr: [test_resource_a, output] }\n resource_output_b:\n description: 'Output of resource b'\n value: { get_attr: [test_resource_b, output] }\n"¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.