7f16b2ff14b581e441f0e376345ceda57f7aaa1d
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5 - CommonGlobalTypes:
6     file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8     file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10     file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14     file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16     file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26     file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28     file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32     file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34     file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36     file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 node_types:
38   org.openecomp.resource.abstract.nodes.heat.pcm_server:
39     derived_from: org.openecomp.resource.abstract.nodes.VFC
40     properties:
41       availabilityzone_name:
42         type: string
43         description: availabilityzone name
44         required: true
45         status: SUPPORTED
46       oam_net_gw:
47         type: string
48         description: CPS network gateway
49         required: true
50         status: SUPPORTED
51       pcm_image_name:
52         type: string
53         description: PCRF CM image name
54         required: true
55         status: SUPPORTED
56       cps_net_ips:
57         type: string
58         description: CPS network ip
59         required: true
60         status: SUPPORTED
61       security_group_name:
62         type: string
63         description: the name of security group
64         required: true
65         status: SUPPORTED
66       cps_net_ip:
67         type: string
68         description: CPS network ip
69         required: true
70         status: SUPPORTED
71       pcm_volumes:
72         type: string
73         description: CPS Cluman Cinder Volume
74         required: true
75         status: SUPPORTED
76       pcm_flavor_name:
77         type: string
78         description: flavor name of PCRF CM instance
79         required: true
80         status: SUPPORTED
81       pcm_vol:
82         type: string
83         description: CPS Cluman Cinder Volume
84         required: true
85         status: SUPPORTED
86       pcm_server_name:
87         type: string
88         description: PCRF CM server name
89         required: true
90         status: SUPPORTED
91       cps_net_name:
92         type: string
93         description: CPS network name
94         required: true
95         status: SUPPORTED
96       cps_net_mask:
97         type: string
98         description: CPS network mask
99         required: true
100         status: SUPPORTED
101       oam_net_ip:
102         type: string
103         description: OAM network ip
104         required: true
105         status: SUPPORTED
106       oam_net_mask:
107         type: string
108         description: CPS network mask
109         required: true
110         status: SUPPORTED
111       oam_net_name:
112         type: string
113         description: OAM network name
114         required: true
115         status: SUPPORTED
116     attributes:
117       server_pcm_id:
118         type: string
119         description: the pcm nova service id
120         status: SUPPORTED
121     requirements:
122     - link_pcm_port_1:
123         capability: tosca.capabilities.network.Linkable
124         node: tosca.nodes.Root
125         relationship: tosca.relationships.network.LinksTo
126         occurrences:
127         - 1
128         - 1
129     - local_storage_server_pcm:
130         capability: tosca.capabilities.Attachment
131         node: tosca.nodes.BlockStorage
132         relationship: tosca.relationships.AttachesTo
133         occurrences:
134         - 0
135         - UNBOUNDED
136     - link_pcm_port_1_server_pcm_005:
137         capability: tosca.capabilities.network.Linkable
138         node: tosca.nodes.Root
139         relationship: tosca.relationships.network.LinksTo
140         occurrences:
141         - 1
142         - 1
143     - local_storage_server_pcm_server_pcm_005:
144         capability: tosca.capabilities.Attachment
145         node: tosca.nodes.BlockStorage
146         relationship: tosca.relationships.AttachesTo
147         occurrences:
148         - 0
149         - UNBOUNDED
150     - link_pcm_port_0_server_pcm_005:
151         capability: tosca.capabilities.network.Linkable
152         node: tosca.nodes.Root
153         relationship: tosca.relationships.network.LinksTo
154         occurrences:
155         - 1
156         - 1
157     - link_pcm_port_0:
158         capability: tosca.capabilities.network.Linkable
159         node: tosca.nodes.Root
160         relationship: tosca.relationships.network.LinksTo
161         occurrences:
162         - 1
163         - 1
164     capabilities:
165       endpoint_server_pcm:
166         type: tosca.capabilities.Endpoint.Admin
167         occurrences:
168         - 1
169         - UNBOUNDED
170       feature_network_server_pcm_005:
171         type: tosca.capabilities.Node
172         occurrences:
173         - 1
174         - UNBOUNDED
175       host_server_pcm_server_pcm_005:
176         type: tosca.capabilities.Container
177         valid_source_types:
178         - tosca.nodes.SoftwareComponent
179         occurrences:
180         - 1
181         - UNBOUNDED
182       binding_server_pcm_server_pcm_005:
183         type: tosca.capabilities.network.Bindable
184         occurrences:
185         - 1
186         - UNBOUNDED
187       scalable_server_pcm_server_pcm_005:
188         type: tosca.capabilities.Scalable
189         occurrences:
190         - 1
191         - UNBOUNDED
192       endpoint_server_pcm_server_pcm_005:
193         type: tosca.capabilities.Endpoint.Admin
194         occurrences:
195         - 1
196         - UNBOUNDED
197       attachment_network:
198         type: tosca.capabilities.Attachment
199         occurrences:
200         - 1
201         - UNBOUNDED
202       binding_pcm_port_1_server_pcm_005:
203         type: tosca.capabilities.network.Bindable
204         valid_source_types:
205         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
206         occurrences:
207         - 0
208         - UNBOUNDED
209       attachment_pcm_port_0_server_pcm_005:
210         type: tosca.capabilities.Attachment
211         occurrences:
212         - 1
213         - UNBOUNDED
214       link_network_server_pcm_005:
215         type: tosca.capabilities.network.Linkable
216         occurrences:
217         - 1
218         - UNBOUNDED
219       scalable_server_pcm:
220         type: tosca.capabilities.Scalable
221         occurrences:
222         - 1
223         - UNBOUNDED
224       feature_server_pcm_server_pcm_005:
225         type: tosca.capabilities.Node
226         occurrences:
227         - 1
228         - UNBOUNDED
229       feature_network:
230         type: tosca.capabilities.Node
231         occurrences:
232         - 1
233         - UNBOUNDED
234       binding_pcm_port_0_server_pcm_005:
235         type: tosca.capabilities.network.Bindable
236         valid_source_types:
237         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
238         occurrences:
239         - 0
240         - UNBOUNDED
241       feature_server_pcm_005:
242         type: tosca.capabilities.Node
243         occurrences:
244         - 1
245         - UNBOUNDED
246       host_server_pcm:
247         type: tosca.capabilities.Container
248         valid_source_types:
249         - tosca.nodes.SoftwareComponent
250         occurrences:
251         - 1
252         - UNBOUNDED
253       os_server_pcm_server_pcm_005:
254         type: tosca.capabilities.OperatingSystem
255         occurrences:
256         - 1
257         - UNBOUNDED
258       feature_pcm_port_0_server_pcm_005:
259         type: tosca.capabilities.Node
260         occurrences:
261         - 1
262         - UNBOUNDED
263       attachment_network_server_pcm_005:
264         type: tosca.capabilities.Attachment
265         occurrences:
266         - 1
267         - UNBOUNDED
268       binding_server_pcm:
269         type: tosca.capabilities.network.Bindable
270         occurrences:
271         - 1
272         - UNBOUNDED
273       binding_pcm_port_0:
274         type: tosca.capabilities.network.Bindable
275         valid_source_types:
276         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
277         occurrences:
278         - 0
279         - UNBOUNDED
280       binding_pcm_port_1:
281         type: tosca.capabilities.network.Bindable
282         valid_source_types:
283         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
284         occurrences:
285         - 0
286         - UNBOUNDED
287       link_network:
288         type: tosca.capabilities.network.Linkable
289         occurrences:
290         - 1
291         - UNBOUNDED
292       os_server_pcm:
293         type: tosca.capabilities.OperatingSystem
294         occurrences:
295         - 1
296         - UNBOUNDED
297       feature_server_pcm:
298         type: tosca.capabilities.Node
299         occurrences:
300         - 1
301         - UNBOUNDED
302       feature_pcm_port_1:
303         type: tosca.capabilities.Node
304         occurrences:
305         - 1
306         - UNBOUNDED
307       feature_pcm_port_0:
308         type: tosca.capabilities.Node
309         occurrences:
310         - 1
311         - UNBOUNDED
312       feature_pcm_port_1_server_pcm_005:
313         type: tosca.capabilities.Node
314         occurrences:
315         - 1
316         - UNBOUNDED
317       attachment_pcm_port_0:
318         type: tosca.capabilities.Attachment
319         occurrences:
320         - 1
321         - UNBOUNDED
322       attachment_pcm_port_1:
323         type: tosca.capabilities.Attachment
324         occurrences:
325         - 1
326         - UNBOUNDED
327       attachment_pcm_port_1_server_pcm_005:
328         type: tosca.capabilities.Attachment
329         occurrences:
330         - 1
331         - UNBOUNDED
332   org.openecomp.resource.vfc.nodes.heat.pcm_server:
333     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
334     properties:
335       availabilityzone_name:
336         type: string
337         description: availabilityzone name
338         required: true
339         status: SUPPORTED
340       oam_net_gw:
341         type: string
342         description: CPS network gateway
343         required: true
344         status: SUPPORTED
345       pcm_image_name:
346         type: string
347         description: PCRF CM image name
348         required: true
349         status: SUPPORTED
350       cps_net_ips:
351         type: string
352         description: CPS network ip
353         required: true
354         status: SUPPORTED
355       security_group_name:
356         type: string
357         description: the name of security group
358         required: true
359         status: SUPPORTED
360       cps_net_ip:
361         type: string
362         description: CPS network ip
363         required: true
364         status: SUPPORTED
365       pcm_volumes:
366         type: string
367         description: CPS Cluman Cinder Volume
368         required: true
369         status: SUPPORTED
370       pcm_flavor_name:
371         type: string
372         description: flavor name of PCRF CM instance
373         required: true
374         status: SUPPORTED
375       pcm_vol:
376         type: string
377         description: CPS Cluman Cinder Volume
378         required: true
379         status: SUPPORTED
380       pcm_server_name:
381         type: string
382         description: PCRF CM server name
383         required: true
384         status: SUPPORTED
385       cps_net_name:
386         type: string
387         description: CPS network name
388         required: true
389         status: SUPPORTED
390       cps_net_mask:
391         type: string
392         description: CPS network mask
393         required: true
394         status: SUPPORTED
395       oam_net_ip:
396         type: string
397         description: OAM network ip
398         required: true
399         status: SUPPORTED
400       oam_net_mask:
401         type: string
402         description: CPS network mask
403         required: true
404         status: SUPPORTED
405       oam_net_name:
406         type: string
407         description: OAM network name
408         required: true
409         status: SUPPORTED
410     attributes:
411       server_pcm_id:
412         type: string
413         description: the pcm nova service id
414         status: SUPPORTED
415     requirements:
416     - link_pcm_port_1:
417         capability: tosca.capabilities.network.Linkable
418         node: tosca.nodes.Root
419         relationship: tosca.relationships.network.LinksTo
420         occurrences:
421         - 1
422         - 1
423     - local_storage_server_pcm:
424         capability: tosca.capabilities.Attachment
425         node: tosca.nodes.BlockStorage
426         relationship: tosca.relationships.AttachesTo
427         occurrences:
428         - 0
429         - UNBOUNDED
430     - link_pcm_port_1_server_pcm_005:
431         capability: tosca.capabilities.network.Linkable
432         node: tosca.nodes.Root
433         relationship: tosca.relationships.network.LinksTo
434         occurrences:
435         - 1
436         - 1
437     - local_storage_server_pcm_server_pcm_005:
438         capability: tosca.capabilities.Attachment
439         node: tosca.nodes.BlockStorage
440         relationship: tosca.relationships.AttachesTo
441         occurrences:
442         - 0
443         - UNBOUNDED
444     - link_pcm_port_0_server_pcm_005:
445         capability: tosca.capabilities.network.Linkable
446         node: tosca.nodes.Root
447         relationship: tosca.relationships.network.LinksTo
448         occurrences:
449         - 1
450         - 1
451     - link_pcm_port_0:
452         capability: tosca.capabilities.network.Linkable
453         node: tosca.nodes.Root
454         relationship: tosca.relationships.network.LinksTo
455         occurrences:
456         - 1
457         - 1
458     capabilities:
459       endpoint_server_pcm:
460         type: tosca.capabilities.Endpoint.Admin
461         occurrences:
462         - 1
463         - UNBOUNDED
464       feature_network_server_pcm_005:
465         type: tosca.capabilities.Node
466         occurrences:
467         - 1
468         - UNBOUNDED
469       host_server_pcm_server_pcm_005:
470         type: tosca.capabilities.Container
471         valid_source_types:
472         - tosca.nodes.SoftwareComponent
473         occurrences:
474         - 1
475         - UNBOUNDED
476       binding_server_pcm_server_pcm_005:
477         type: tosca.capabilities.network.Bindable
478         occurrences:
479         - 1
480         - UNBOUNDED
481       scalable_server_pcm_server_pcm_005:
482         type: tosca.capabilities.Scalable
483         occurrences:
484         - 1
485         - UNBOUNDED
486       endpoint_server_pcm_server_pcm_005:
487         type: tosca.capabilities.Endpoint.Admin
488         occurrences:
489         - 1
490         - UNBOUNDED
491       attachment_network:
492         type: tosca.capabilities.Attachment
493         occurrences:
494         - 1
495         - UNBOUNDED
496       binding_pcm_port_1_server_pcm_005:
497         type: tosca.capabilities.network.Bindable
498         valid_source_types:
499         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
500         occurrences:
501         - 0
502         - UNBOUNDED
503       attachment_pcm_port_0_server_pcm_005:
504         type: tosca.capabilities.Attachment
505         occurrences:
506         - 1
507         - UNBOUNDED
508       link_network_server_pcm_005:
509         type: tosca.capabilities.network.Linkable
510         occurrences:
511         - 1
512         - UNBOUNDED
513       scalable_server_pcm:
514         type: tosca.capabilities.Scalable
515         occurrences:
516         - 1
517         - UNBOUNDED
518       feature_server_pcm_server_pcm_005:
519         type: tosca.capabilities.Node
520         occurrences:
521         - 1
522         - UNBOUNDED
523       feature_network:
524         type: tosca.capabilities.Node
525         occurrences:
526         - 1
527         - UNBOUNDED
528       binding_pcm_port_0_server_pcm_005:
529         type: tosca.capabilities.network.Bindable
530         valid_source_types:
531         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
532         occurrences:
533         - 0
534         - UNBOUNDED
535       feature_server_pcm_005:
536         type: tosca.capabilities.Node
537         occurrences:
538         - 1
539         - UNBOUNDED
540       host_server_pcm:
541         type: tosca.capabilities.Container
542         valid_source_types:
543         - tosca.nodes.SoftwareComponent
544         occurrences:
545         - 1
546         - UNBOUNDED
547       os_server_pcm_server_pcm_005:
548         type: tosca.capabilities.OperatingSystem
549         occurrences:
550         - 1
551         - UNBOUNDED
552       feature_pcm_port_0_server_pcm_005:
553         type: tosca.capabilities.Node
554         occurrences:
555         - 1
556         - UNBOUNDED
557       attachment_network_server_pcm_005:
558         type: tosca.capabilities.Attachment
559         occurrences:
560         - 1
561         - UNBOUNDED
562       binding_server_pcm:
563         type: tosca.capabilities.network.Bindable
564         occurrences:
565         - 1
566         - UNBOUNDED
567       binding_pcm_port_0:
568         type: tosca.capabilities.network.Bindable
569         valid_source_types:
570         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
571         occurrences:
572         - 0
573         - UNBOUNDED
574       binding_pcm_port_1:
575         type: tosca.capabilities.network.Bindable
576         valid_source_types:
577         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
578         occurrences:
579         - 0
580         - UNBOUNDED
581       link_network:
582         type: tosca.capabilities.network.Linkable
583         occurrences:
584         - 1
585         - UNBOUNDED
586       os_server_pcm:
587         type: tosca.capabilities.OperatingSystem
588         occurrences:
589         - 1
590         - UNBOUNDED
591       feature_server_pcm:
592         type: tosca.capabilities.Node
593         occurrences:
594         - 1
595         - UNBOUNDED
596       feature_pcm_port_1:
597         type: tosca.capabilities.Node
598         occurrences:
599         - 1
600         - UNBOUNDED
601       feature_pcm_port_0:
602         type: tosca.capabilities.Node
603         occurrences:
604         - 1
605         - UNBOUNDED
606       feature_pcm_port_1_server_pcm_005:
607         type: tosca.capabilities.Node
608         occurrences:
609         - 1
610         - UNBOUNDED
611       attachment_pcm_port_0:
612         type: tosca.capabilities.Attachment
613         occurrences:
614         - 1
615         - UNBOUNDED
616       attachment_pcm_port_1:
617         type: tosca.capabilities.Attachment
618         occurrences:
619         - 1
620         - UNBOUNDED
621       attachment_pcm_port_1_server_pcm_005:
622         type: tosca.capabilities.Attachment
623         occurrences:
624         - 1
625         - UNBOUNDED