push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / multiHeat / referencedHeatResources / expectedOutput / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.abstract.nodes.heat.eca_oam:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       metadata:
36         type: string
37         description: cmaui metadata
38       oam_flavor:
39         type: string
40         description: OAM flavor name
41         default: lc.xlarge4
42       eca_eca_mgmt_ips:
43         type: list
44         description: internal eca_mgmt network ips for eca VM
45         default:
46         - 172.25.137.242
47         - 172.25.137.243
48         entry_schema:
49           type: string
50       eca_mgmt_net_name:
51         type: string
52         description: the name of the internal network
53         default: int_mms_eca_mgmt_net_1
54       ECA_OAM_volume_type:
55         type: string
56         description: the name of the target volume backend
57         default: Platinum
58       arb_eca_mgmt_ips:
59         type: list
60         description: internal eca_mgmt network ips for arb VM
61         default:
62         - 172.25.137.244
63         entry_schema:
64           type: string
65       networks:
66         type: string
67         description: cmaui network name
68       cmaui_name:
69         type: string
70         description: cmaui name
71       arb_volume_size:
72         type: float
73         description: the size of the ARB volume
74         default: 40
75       vnf_id:
76         type: string
77         description: Unique ID for this VNF instance
78         default: This_is_ths_MMSC-ECA_id
79       availability_zone_0:
80         type: string
81         description: availabilityzone name
82         default: nova
83       oam_image_name:
84         type: string
85         description: the OAM image name
86         default: ECABASE
87       oam_volume_size:
88         type: float
89         description: the size of the OAM volume
90         default: 1800
91       swift_eca_url:
92         type: string
93         description: Base URL for eca swift object store
94         default: http://object-store.rdm2.cci.com:8080/v1/AUTH_1bbab536a19b4756926e7d0ec1eb543c/eca
95       oam_net_name:
96         type: string
97         description: the name of the oam network
98         default: oam_protected_net_0
99       ARB_volume_type:
100         type: string
101         description: the name of the target volume backend
102         default: Platinum
103       eca_names:
104         type: list
105         description: the names of the OAM1,OAM2 VM instances
106         default:
107         - ZRDM1MMSC02OAM001
108         - ZRDM1MMSC02OAM002
109         entry_schema:
110           type: string
111       arbiter_flavor:
112         type: string
113         description: arbiter flavor name
114         default: m1.large2
115       eca_oam_ips:
116         type: list
117         description: the ips of oam networks for eca VM
118         default:
119         - 107.250.172.44
120         - 107.250.172.45
121         entry_schema:
122           type: string
123       security_group_name:
124         type: string
125         description: the name of security group
126         default: mmsc_security_group_1
127       user_data:
128         type: string
129         description: cmaui user data
130       cmaui_image:
131         type: string
132         description: cmaui image
133       arb_names:
134         type: list
135         description: the names of the arbiter VM instances
136         default:
137         - ZRDM1MMSC02ARB001
138         entry_schema:
139           type: string
140       cmaui_flavor:
141         type: string
142         description: cmaui flavor name
143       user_data_format:
144         type: string
145         description: cmaui user data
146       eca_oam_gateway:
147         type: string
148         description: the ip of oam gateway
149         default: 107.250.172.1
150       arb_oam_ips:
151         type: list
152         description: oam network ips for eca VM
153         default:
154         - 107.250.172.46
155         entry_schema:
156           type: string
157     requirements:
158     - link_arb_mgmt_port:
159         capability: tosca.capabilities.network.Linkable
160         node: tosca.nodes.Root
161         relationship: tosca.relationships.network.LinksTo
162         occurrences:
163         - 1
164         - 1
165     - link_oam2_mgmt_port:
166         capability: tosca.capabilities.network.Linkable
167         node: tosca.nodes.Root
168         relationship: tosca.relationships.network.LinksTo
169         occurrences:
170         - 1
171         - 1
172     - local_storage_arb_instance:
173         capability: tosca.capabilities.Attachment
174         node: tosca.nodes.BlockStorage
175         relationship: tosca.relationships.AttachesTo
176         occurrences:
177         - 0
178         - UNBOUNDED
179     - local_storage_oam1_instance:
180         capability: tosca.capabilities.Attachment
181         node: tosca.nodes.BlockStorage
182         relationship: tosca.relationships.AttachesTo
183         occurrences:
184         - 0
185         - UNBOUNDED
186     - link_oam1_int_port:
187         capability: tosca.capabilities.network.Linkable
188         node: tosca.nodes.Root
189         relationship: tosca.relationships.network.LinksTo
190         occurrences:
191         - 1
192         - 1
193     - link_oam1_mgmt_port:
194         capability: tosca.capabilities.network.Linkable
195         node: tosca.nodes.Root
196         relationship: tosca.relationships.network.LinksTo
197         occurrences:
198         - 1
199         - 1
200     - link_arb_int_port:
201         capability: tosca.capabilities.network.Linkable
202         node: tosca.nodes.Root
203         relationship: tosca.relationships.network.LinksTo
204         occurrences:
205         - 1
206         - 1
207     - link_oam2_int_port:
208         capability: tosca.capabilities.network.Linkable
209         node: tosca.nodes.Root
210         relationship: tosca.relationships.network.LinksTo
211         occurrences:
212         - 1
213         - 1
214     - local_storage_oam2_instance:
215         capability: tosca.capabilities.Attachment
216         node: tosca.nodes.BlockStorage
217         relationship: tosca.relationships.AttachesTo
218         occurrences:
219         - 0
220         - UNBOUNDED
221     capabilities:
222       attachment_oam2_volume:
223         type: tosca.capabilities.Attachment
224         occurrences:
225         - 1
226         - UNBOUNDED
227       binding_oam2_instance:
228         type: tosca.capabilities.network.Bindable
229         occurrences:
230         - 1
231         - UNBOUNDED
232       attachment_oam2_int_port:
233         type: tosca.capabilities.Attachment
234         occurrences:
235         - 1
236         - UNBOUNDED
237       attachment_oam1_volume:
238         type: tosca.capabilities.Attachment
239         occurrences:
240         - 1
241         - UNBOUNDED
242       os_oam1_instance:
243         type: tosca.capabilities.OperatingSystem
244         occurrences:
245         - 1
246         - UNBOUNDED
247       scalable_oam2_instance:
248         type: tosca.capabilities.Scalable
249         occurrences:
250         - 1
251         - UNBOUNDED
252       scalable_arb_instance:
253         type: tosca.capabilities.Scalable
254         occurrences:
255         - 1
256         - UNBOUNDED
257       endpoint_oam1_instance:
258         type: tosca.capabilities.Endpoint.Admin
259         occurrences:
260         - 1
261         - UNBOUNDED
262       binding_arb_instance:
263         type: tosca.capabilities.network.Bindable
264         occurrences:
265         - 1
266         - UNBOUNDED
267       host_arb_instance:
268         type: tosca.capabilities.Container
269         valid_source_types:
270         - tosca.nodes.SoftwareComponent
271         occurrences:
272         - 1
273         - UNBOUNDED
274       endpoint_arb_instance:
275         type: tosca.capabilities.Endpoint.Admin
276         occurrences:
277         - 1
278         - UNBOUNDED
279       attachment_oam1_int_port:
280         type: tosca.capabilities.Attachment
281         occurrences:
282         - 1
283         - UNBOUNDED
284       attachment_arb_volume:
285         type: tosca.capabilities.Attachment
286         occurrences:
287         - 1
288         - UNBOUNDED
289       host_oam1_instance:
290         type: tosca.capabilities.Container
291         valid_source_types:
292         - tosca.nodes.SoftwareComponent
293         occurrences:
294         - 1
295         - UNBOUNDED
296       os_oam2_instance:
297         type: tosca.capabilities.OperatingSystem
298         occurrences:
299         - 1
300         - UNBOUNDED
301       endpoint_oam2_instance:
302         type: tosca.capabilities.Endpoint.Admin
303         occurrences:
304         - 1
305         - UNBOUNDED
306       scalable_oam1_instance:
307         type: tosca.capabilities.Scalable
308         occurrences:
309         - 1
310         - UNBOUNDED
311       host_oam2_instance:
312         type: tosca.capabilities.Container
313         valid_source_types:
314         - tosca.nodes.SoftwareComponent
315         occurrences:
316         - 1
317         - UNBOUNDED
318       os_arb_instance:
319         type: tosca.capabilities.OperatingSystem
320         occurrences:
321         - 1
322         - UNBOUNDED
323       attachment_oam1_mgmt_port:
324         type: tosca.capabilities.Attachment
325         occurrences:
326         - 1
327         - UNBOUNDED
328       attachment_arb_int_port:
329         type: tosca.capabilities.Attachment
330         occurrences:
331         - 1
332         - UNBOUNDED
333       attachment_arb_mgmt_port:
334         type: tosca.capabilities.Attachment
335         occurrences:
336         - 1
337         - UNBOUNDED
338       attachment_oam2_mgmt_port:
339         type: tosca.capabilities.Attachment
340         occurrences:
341         - 1
342         - UNBOUNDED
343       binding_oam1_instance:
344         type: tosca.capabilities.network.Bindable
345         occurrences:
346         - 1
347         - UNBOUNDED