[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 / getAttr / getAttrUC / inputfiles / ep-jsa_net.yaml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: Paul Phillips, pp2854 PROD)
5
6 parameters:
7       security_group_name:
8         type: comma_delimited_list
9         description: CMAUI1, CMAUI2 server names
10       pcrf_security_group_name:
11         type: comma_delimited_list
12         description: CMAUI1, CMAUI2 server names
13       volume_type:
14         type: string
15         label:  volume type
16         description: volume type Gold
17
18       volume_size:
19         type: number
20         label:  volume size
21         description: my volume size 320GB
22
23       FSB_1_image:
24         type: string
25         label: MME_FSB1
26         description: MME_FSB1_15B-CP04-r5a01
27
28       FSB1_volume_name:
29         type: string
30         label: FSB1_volume
31         description: FSB1_volume_1
32
33       fsb1-name:
34         type: string
35         label: FSB1_name
36         description: FSB1_name
37
38       fsb1-flavor:
39         type: string
40         label: FSB1_flavor
41         description: FSB1_flavor
42
43       fsb1-zone:
44         type: string
45         label: FSB1_zone
46         description: FSB1_zone
47
48       fsb_zone:
49         type: string
50         label: FSB1_zone
51         description: FSB1_zone
52
53       fsb1-Internal1-mac:
54         type: string
55         label: FSB1_internal_mac
56         description: FSB1_internal_mac
57
58       fsb1-Internal2-mac:
59         type: string
60         label: FSB1_internal_mac
61         description: FSB1_internal_mac
62
63       fsb2-Internal1-mac:
64         type: string
65         label: FSB1_internal_mac
66         description: FSB1_internal_mac
67
68       oam_net_id:
69         type: string
70         label: oam_net_id
71         description: oam_net_id
72
73       jsa_net_name:
74         type: string
75         label: jsa_net_name
76         description: jsa_net_name
77
78       jsa_cidr:
79         type: string
80         label: jsa_cidr
81         description: jsa_cidr
82
83       pcrf_cps_net_name:
84         type: string
85         label: pcrf_cps_net_name
86         description: pcrf_cps_net_name
87
88       pcrf_psm_server_name:
89         type: string
90         label: pcrf_psm_server_name
91         description: pcrf_psm_server_name
92
93       pcrf_psm_image_name:
94         type: string
95         label: pcrf_psm_image_name
96         description: pcrf_psm_image_name
97
98       pcrf_psm_flavor_name:
99         type: string
100         label: pcrf_psm_flavor_name
101         description: pcrf_psm_flavor_name
102
103       availabilityzone_name:
104         type: string
105         label: availabilityzone_name
106         description: availabilityzone_name
107
108       pcm_server_name:
109         type: string
110         label: pcm_server_name
111         description: pcm_server_name
112
113       pcm_image_name:
114         type: string
115         label: pcm_image_name
116         description: pcm_image_name
117
118       pcm_flavor_name:
119         type: string
120         label: pcm_flavor_name
121         description: pcm_flavor_name
122
123       Internal1_net_name:
124         type: string
125         label: Internal1_net_name
126         description: Internal1_net_name
127
128       Internal1_forwarding_mode:
129         type: string
130         label: Internal1_forwarding_mode
131         description: Internal1_forwarding_mode
132
133       Internal1_shared:
134         type: string
135         label: Internal1_shared
136         description: Internal1_shared
137
138       Internal1_external:
139         type: string
140         label: Internal1_external
141         description: Internal1_external
142
143       Internal2_name:
144         type: string
145         label: Internal2_name
146         description: Internal2_name
147
148       Internal2_shared:
149         type: string
150         label: Internal2_shared
151         description: Internal2_shared
152
153       Internal2_external:
154         type: string
155         label: Internal2_external
156         description: Internal2_external
157
158       Internal2_forwarding_mode:
159         type: string
160         label: Internal2_forwarding_mode
161         description: Internal2_forwarding_mode
162
163       cps_net_name:
164         type: string
165         label: cps_net_name
166         description: cps_net_name
167
168       oam_net_name:
169         type: string
170         label: oam_net_name
171         description: oam_net_name
172       oam_net_gw:
173         type: string
174         description: prop
175       cps_net_ip:
176         type: string
177         description: prop
178       cps_net_mask:
179         type: string
180         description: prop
181       oam_net_ip:
182         type: string
183         description: prop
184       oam_net_mask:
185         type: string
186         description: prop
187       fsb1-oam-ip:
188         type: string
189         description: prop
190       pcrf_cps_net_ip:
191         type: string
192         description: prop
193       pcrf_vnf_id:
194         type: string
195         description: prop
196       pcm_vol:
197         type: string
198         description: prop
199       pcm_vol_01:
200         type: string
201         description: prop
202       snapshot01:
203         type: string
204         description: prop
205       snapshot02:
206         type: string
207         description: prop
208       VMME_FSB1_boot_volume:
209         type: string
210       network_name:
211         type: string
212         description: prop
213       port_name:
214         type: string
215         description: prop
216       vipr_atm_name_0:
217         type: string
218         description: prop
219
220
221 resources:
222   VMI1:
223       type: OS::ContrailV2::VirtualMachineInterface
224       properties:
225         name:
226           str_replace:
227             template: VM_NAME_PORT_3
228             params:
229               VM_NAME: { get_param: vipr_atm_name_0 }
230         virtual_machine_interface_properties:
231           {
232           virtual_machine_interface_properties_service_interface_type: 'left'
233           }
234         port_tuple_refs: [{ get_param: port_name }]
235         virtual_network_refs: [{ get_param: network_name }]
236
237   FSB1:
238       type: OS::Nova::Server
239       properties:
240         name: { get_attr: [VMI1, name] }
241         block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_FSB1_boot_volume }, delete_on_termination: "false" }]
242         flavor: { get_param: fsb1-flavor }
243         availability_zone: { get_param: fsb_zone }
244         networks:
245           - network: {get_param: network_name}
246
247   FSB2:
248       type: OS::Nova::Server
249       properties:
250         name: { get_attr: [VMI1, virtual_machine_interface_allowed_address_pairs,
251         virtual_machine_interface_allowed_address_pairs_allowed_address_pair,
252         virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip, virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix] }
253         flavor: { get_param: fsb1-flavor }
254         availability_zone: { get_param: fsb_zone }
255         networks:
256           - network: {get_param: network_name}