[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 / singleSubstitution / computewithtwodiffporttypesandnested / 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   oam_server_names:
19     type: comma_delimited_list
20     label: OAM server names
21     description: name of the OAM instance
22   oam_image_name:
23     type: string
24     label: image name
25     description: OAM image name
26   oam_flavor_name:
27     type: string
28     label: OAM flavor name
29     description: flavor name of OAM instance
30   sm_server_names:
31     type: comma_delimited_list
32     label: SM server names
33     description: name of the SM instance
34   sm_image_name:
35     type: string
36     label: image name
37     description: SM image name
38   sm_flavor_name:
39     type: string
40     label: SM flavor name
41     description: flavor name of SM instance
42   ps_server_names:
43     type: comma_delimited_list
44     label: PS server names
45     description: name of the PS instance
46   ps_image_name:
47     type: string
48     label: PS image name
49     description: PS image name
50   ps_flavor_name:
51     type: string
52     label: PS flavor name
53     description: flavor name of PS instance
54   cm_server_names:
55     type: comma_delimited_list
56     label: CM server names
57     description: name of the CM instance
58   cm_image_name:
59     type: string
60     label: image name
61     description: CM image name
62   cm_flavor_name:
63     type: string
64     label: CM flavor name
65     description: flavor name of CM instance
66   availabilityzone_name:
67     type: string
68     label: availabilityzone name
69     description: availabilityzone name
70   oam_net_name:
71     type: string
72     label: oam network name
73     description: name of the oam network
74   oam_net_ips:
75     type: comma_delimited_list
76     label: internet network ips
77     description: ip of the OAM network
78   sl_net_name:
79     type: string
80     label: silver lining network name
81     description: id of the sl network
82   sl_net_ips:
83     type: comma_delimited_list
84     label: silver lining network ips
85     description: ips of the sl network
86   sl_net_floating_ip:
87     type: string
88     label: mog sl net virtual ip
89     description: mog sl net virtual ip
90   repl_net_name:
91     type: string
92     label: Replication network name
93     description: name of the replication network
94   repl_net_ips:
95     type: comma_delimited_list
96     label: repl network ips
97     description: ips of repl network
98   rx_net_name:
99     type: string
100     label: Rx network name
101     description: Rx network name
102   rx_net_ips:
103     type: comma_delimited_list
104     label: Rx network ips
105     description: Rx network ips
106   rx_net_floating_ip:
107     type: string
108     label: mog rx net virtual ip
109     description: mog rx net virtual ip
110   ran_net_name:
111     type: string
112     label: RAN network name
113     description: RAN network name
114   ran_net_ips:
115     type: comma_delimited_list
116     label: RAN network ips
117     description: RAN network ip
118   ran_net_floating_ip:
119     type: string
120     label: mog ran net virtual ip
121     description: mog ran net virtual ip
122   csb_net_name:
123     type: string
124     label: csb internal network name
125     description: csb internal network name
126   csb_net_start:
127     type: string
128     label: csb internal start
129     description: csb internal start
130   csb_net_end:
131     type: string
132     label: csb internal end
133     description: csb internal end
134   csb_net_cidr:
135     type: string
136     label: csb ineternal cidr
137     description: csb internal cidr
138   csb_net_netmask:
139     type: string
140     description: CSB internal network subnet mask
141   csb_net_ips:
142     type: comma_delimited_list
143     description: mog_csb_net IP addresses
144   dummy_net_name_0:
145     type: string
146     label: csb internal network name
147     description: csb internal network name
148   dummy_net_start_0:
149     type: string
150     label: csb internal start
151     description: csb internal start
152   dummy_net_end_0:
153     type: string
154     label: csb internal end
155     description: csb internal end
156   dummy_net_cidr_0:
157     type: string
158     label: csb ineternal cidr
159     description: csb internal cidr
160   dummy_net_netmask_0:
161     type: string
162     description: CSB internal network subnet mask
163   dummy_net_name_1:
164     type: string
165     label: csb internal network name
166     description: csb internal network name
167   dummy_net_start_1:
168     type: string
169     label: csb internal start
170     description: csb internal start
171   dummy_net_end_1:
172     type: string
173     label: csb internal end
174     description: csb internal end
175   dummy_net_cidr_1:
176     type: string
177     label: csb ineternal cidr
178     description: csb internal cidr
179   dummy_net_netmask_1:
180     type: string
181     description: CSB internal network subnet mask
182
183   security_group_name:
184     type: string
185     label: security group name
186     description: the name of security group
187   cluster-manager-vol-1:
188     type: string
189     label: mog-cm-vol-1
190     description: Cluster Manager volume 1
191   session-manager-vol-1:
192     type: string
193     label: mog-sm-vol-1
194     description: Session Manager volume 1
195   session-manager-vol-2:
196     type: string
197     label: mog-sm-vol-2
198     description: Session Manager volume 2
199   oam-vol-1:
200     type: string
201     label: mog-oam-vol-1
202     description: OAM volume 1
203   oam-vol-2:
204     type: string
205     label: mog-oam-vol-2
206     description: OAM volume 2
207
208 resources:
209
210   server_pcm_003:
211     type: nested-pcm_v0.1.yaml
212     properties:
213       availabilityzone_name: { get_param: availabilityzone_name }
214       security_group_name: { get_param: security_group_name }
215
216   server_pd_01:
217     type: OS::Nova::Server
218     properties:
219 #      config_drive: "True"
220       name: {get_param: [pd_server_names, 0]}
221       image: {get_param: pd_image_name}
222       flavor: {get_param: pd_flavor_name}
223       availability_zone: {get_param: availabilityzone_name}
224       networks:
225         - port: {get_resource: pd01_port_0}
226         - port: {get_resource: pd02_port_0}
227       user_data_format:  RAW
228
229   pd01_port_0:
230     type: OS::Neutron::Port
231     properties:
232       network: {get_param: oam_net_name}
233   pd02_port_0:
234     type: OS::Neutron::Port
235     properties:
236       network: {get_param: oam_net_name}
237