[SDC-29] rebase continue work to align source
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedSingleCompute / nestedWithTwoDiffComputeTypes / in / nested-pcm_v0.1.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Cluman stack
4
5 parameters:
6   pcm_server_name:
7     type: string
8     label: PCRF CM server name
9     description: PCRF CM server name
10   pcm_image_name:
11     type: string
12     label: image name
13     description: PCRF CM image name
14   pcm_flavor_name:
15     type: string
16     label: PCRF CM flavor name
17     description: flavor name of PCRF CM instance
18   pd_server_name:
19     type: string
20     label: PCRF CM server name
21     description: PCRF CM server name
22   pd_image_name:
23     type: string
24     label: image name
25     description: PCRF CM image name
26   pd_flavor_name:
27     type: string
28     label: PCRF CM flavor name
29     description: flavor name of PCRF CM instance
30   availabilityzone_name:
31     type: string
32     label: availabilityzone name
33     description: availabilityzone name
34   cps_net_name:
35     type: string
36     label: CPS network name
37     description: CPS network name
38   cps_net_ip:
39     type: string
40     label: CPS network ip
41     description: CPS network ip
42   cps_net_mask:
43     type: string
44     label: CPS network mask
45     description: CPS network mask
46   oam_net_name:
47     type: string
48     label: OAM network name
49     description: OAM network name
50   oam_net_ip:
51     type: string
52     label: OAM network ip
53     description: OAM network ip
54   oam_net_gw:
55     type: string
56     label: CPS network gateway
57     description: CPS network gateway
58   oam_net_mask:
59     type: string
60     label: CPS network mask
61     description: CPS network mask
62   pcm_vol:
63     type: string
64     label: CPS Cluman Cinder Volume
65     description: CPS Cluman Cinder Volume
66   security_group_name:
67     type: string
68     label: security group name
69     description: the name of security group
70
71 resources:
72   server_pcm_0:
73     type: OS::Nova::Server
74     properties:
75       config_drive: "True"
76       name: { get_param: pcm_server_name }
77       image: { get_param: pcm_image_name }
78       flavor: { get_param: pcm_flavor_name }
79       availability_zone: { get_param: availabilityzone_name }
80       networks:
81         - port: { get_resource: pcm_port_0}
82       block_device_mapping:
83         - device_name: vdb
84           volume_id: { get_param: pcm_vol}
85       user_data_format: RAW
86
87   server_pd_0:
88     type: OS::Nova::Server
89     properties:
90       config_drive: "True"
91       name: { get_param: pd_server_name }
92       image: { get_param: pd_image_name }
93       flavor: { get_param: pd_flavor_name }
94       availability_zone: { get_param: availabilityzone_name }
95       networks:
96         - port: { get_resource: pcm_port_1}
97       block_device_mapping:
98         - device_name: vdb
99           volume_id: { get_param: pcm_vol}
100       user_data_format: RAW
101
102   pcm_port_0:
103     type: OS::Neutron::Port
104     properties:
105       network: { get_param: cps_net_name }
106       fixed_ips:
107         - ip_address: { get_param: cps_net_ip }
108       security_groups: [{ get_param: security_group_name }]
109
110   pcm_port_1:
111     type: OS::Neutron::Port
112     properties:
113       network: { get_param: oam_net_name }
114       fixed_ips:
115         - ip_address: { get_param: oam_net_ip }
116       security_groups: [{ get_param: security_group_name }]
117 outputs:
118   server_pcm_id_1:
119     description: the pcm nova service id
120     value: { get_resource: server_pcm_0 }
121
122   server_pcm_id_2:
123     description: the pcm nova service id
124     value: { get_resource: server_pd_0 }