| 1 |
heat_template_version: 2015-10-15 |
| 2 |
description: | |
| 3 |
The root stack (containing a remote stack) for the deeply-nested remote |
| 4 |
stack test. |
| 5 |
|
| 6 |
parameters: |
| 7 |
name: |
| 8 |
type: string |
| 9 |
description: Name of the router |
| 10 |
constraints: |
| 11 |
- allowed_pattern: "[a-z][a-z0-9-]{1,}" |
| 12 |
network_name: |
| 13 |
type: string |
| 14 |
description: The public network to connect to |
| 15 |
constraints: |
| 16 |
- custom_constraint: neutron.network |
| 17 |
region: |
| 18 |
type: string |
| 19 |
description: The region in which to create the remote stack |
| 20 |
default: RegionOne |
| 21 |
|
| 22 |
resources: |
| 23 |
network_stack: |
| 24 |
type: OS::Heat::Stack |
| 25 |
properties: |
| 26 |
template: {get_file: remote_nested_intermediate.yaml} |
| 27 |
context: |
| 28 |
region_name: {get_param: region} |
| 29 |
parameters: |
| 30 |
name: {get_param: name} |
| 31 |
network_name: {get_param: network_name} |
| 32 |
|
| 33 |
outputs: |
| 34 |
router: |
| 35 |
value: {get_attr: [network_stack, outputs, router]} |