[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / scalingInstances / oneComputeTypeOnePortOutputParamGetAttrIn / in / hot-mog-0108-bs1271.yml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates MOG stack
4
5 parameters:
6   pd_server_names:
7     type: comma_delimited_list
8     label: PD server names
9     description: name of the PD instance
10   pd_image_name:
11     type: string
12     label: image name
13     description: PD image name
14   pd_flavor_name:
15     type: string
16     label: PD flavor name
17     description: flavor name of PD instance
18   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22
23
24 resources:
25   server_pd_01:
26     type: OS::Nova::Server
27     properties:
28       name: {get_param: [pd_server_names, 0]}
29       image: {get_param: pd_image_name}
30       flavor: {get_param: pd_flavor_name}
31       availability_zone: {get_param: availabilityzone_name}
32       networks:
33         - port: {get_resource: pd01_port_0}
34       user_data_format:  RAW_SERVER_PD_1
35   server_pd_02:
36     type: OS::Nova::Server
37     properties:
38       name: {get_param: [pd_server_names, 1]}
39       image: {get_param: pd_image_name}
40       flavor: {get_param: pd_flavor_name}
41       availability_zone: {get_param: availabilityzone_name}
42       networks:
43         - port: {get_resource: pd01_port_1}
44       user_data_format:  RAW_SERVER_PD_2
45   pd01_port_0:
46     type: OS::Neutron::Port
47     properties:
48       network: Network-0
49       replacement_policy: AUTO_PORT_0
50   pd01_port_1:
51     type: OS::Neutron::Port
52     properties:
53       network: Network-1
54       replacement_policy: AUTO_PORT_1
55 outputs:
56   output_attr_server_pd_1:
57       description: output attr pd1
58       value: {get_attr: [server_pd_01, accessIPv4]}
59   output_attr_server_pd_2:
60       description: output attr pd2
61       value: {get_attr: [server_pd_02, accessIPv6]}
62   output_attr_port_pd_0:
63       description: output attr port0
64       value:
65         get_attr: [pd01_port_0, device_id]