[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 / hot-nimbus-pcm_v0.4.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Cluman stack
4
5 parameters:
6   pcm_server_names:
7     type: comma_delimited_list
8     label: PCRF CM server names
9     description: name of the PCRF CM instance
10   pcm_image_name:
11     type: string
12     label: PCRF CM 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_names:
19     type: comma_delimited_list
20     label: PCRF CM server names
21     description: name of the PCRF CM instance
22   pd_image_name:
23     type: string
24     label: PCRF CM 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_ips:
39     type: comma_delimited_list
40     label: CPS network ips
41     description: CPS network ips
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_ips:
51     type: comma_delimited_list
52     label: OAM network ips
53     description: OAM network ips
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_volumes:
63     type: comma_delimited_list
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   compute_image_name:
71     type: string
72   net_name:
73     type: string
74
75 resources:
76   server_pcm_1:
77     type: nested-pcm_v0.1.yaml
78     properties:
79       pcm_server_name: { get_param: [pcm_server_names, 0] }
80       pcm_image_name: { get_param: pcm_image_name }
81       pcm_flavor_name: { get_param: pcm_flavor_name }
82       availabilityzone_name: { get_param: availabilityzone_name }
83       security_group_name: { get_param: security_group_name }
84       pcm_vol: { get_param: [pcm_volumes, 0] }
85       cps_net_name: { get_param: cps_net_name }
86       cps_net_ip: { get_param: [cps_net_ips, 0] }
87       cps_net_mask: { get_param: cps_net_mask }
88       oam_net_name: { get_param: oam_net_name }
89       oam_net_ip: { get_param: [oam_net_ips, 0] }
90       oam_net_mask: { get_param: oam_net_mask }
91       oam_net_gw: { get_param: oam_net_gw }
92
93   server_pd_1:
94     type: nested-pcm_v0.1.yaml
95     properties:
96       pcm_server_name: { get_param: [pd_server_names, 1] }
97       pcm_image_name: { get_param: pd_image_name }
98       pcm_flavor_name: { get_param: pd_flavor_name }
99       availabilityzone_name: { get_param: availabilityzone_name }
100       security_group_name: { get_param: security_group_name }
101       pcm_vol: { get_param: [pcm_volumes, 0] }
102       cps_net_name: { get_param: cps_net_name }
103       cps_net_ip: { get_param: [cps_net_ips, 0] }
104       cps_net_mask: { get_param: cps_net_mask }
105       oam_net_name: { get_param: oam_net_name }
106       oam_net_ip: { get_param: [oam_net_ips, 0] }
107       oam_net_mask: { get_param: oam_net_mask }
108       oam_net_gw: { get_param: oam_net_gw }
109
110   compute_port_0:
111     type: OS::Neutron::Port
112     properties:
113       network: { get_param: net_name }