[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 / twoSetsOfSingle / 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
168 resources:
169   server_pd_01:
170     type: OS::Nova::Server
171     properties:
172 #      config_drive: "True"
173       name: {get_param: [pd_server_names, 0]}
174       image: {get_param: pd_image_name}
175       flavor: {get_param: pd_flavor_name}
176       availability_zone: {get_param: availabilityzone_name}
177       networks:
178         - port: {get_resource: pd01_port_0}
179       user_data_format:  RAW
180
181   pd01_port_0:
182     type: OS::Neutron::Port
183     properties:
184       network: {get_param: oam_net_name}
185
186
187   server_ps_01:
188     type: OS::Nova::Server
189     properties:
190 #      config_drive: "True"
191       name: {get_param: [ps_server_names, 0]}
192       image: {get_param: pd_image_name}
193       flavor: {get_param: pd_flavor_name}
194       availability_zone: {get_param: availabilityzone_name}
195       networks:
196         - port: {get_resource: ps01_port_0}
197       user_data_format:  RAW
198
199   ps01_port_0:
200     type: OS::Neutron::Port
201     properties:
202       network: {get_param: oam_net_name}
203