217eb69b16e307fcea2ccfa196206c7908d1d01e
[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.compute:
39     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
40     properties:
41       compute_compute_user_data_format:
42         type: list
43         required: true
44         status: SUPPORTED
45         entry_schema:
46           type: string
47       vm_image_name:
48         type: string
49         required: true
50         status: SUPPORTED
51       index_value:
52         type: integer
53         description: Index value of this substitution service template runtime instance
54         required: false
55         default: 0
56         status: SUPPORTED
57         constraints:
58         - greater_or_equal: 0
59       compute_compute_name:
60         type: list
61         required: true
62         status: SUPPORTED
63         entry_schema:
64           type: string
65       vm_flavor_name:
66         type: string
67         required: true
68         status: SUPPORTED
69       compute_compute_config_drive:
70         type: list
71         required: true
72         status: SUPPORTED
73         entry_schema:
74           type: string
75     requirements:
76     - local_storage_compute:
77         capability: tosca.capabilities.Attachment
78         node: tosca.nodes.BlockStorage
79         relationship: tosca.relationships.AttachesTo
80         occurrences:
81         - 0
82         - UNBOUNDED
83     capabilities:
84       os_compute:
85         type: tosca.capabilities.OperatingSystem
86         occurrences:
87         - 1
88         - UNBOUNDED
89       scalable_compute:
90         type: tosca.capabilities.Scalable
91         occurrences:
92         - 1
93         - UNBOUNDED
94       endpoint_compute:
95         type: tosca.capabilities.Endpoint.Admin
96         occurrences:
97         - 1
98         - UNBOUNDED
99       host_compute:
100         type: tosca.capabilities.Container
101         valid_source_types:
102         - tosca.nodes.SoftwareComponent
103         occurrences:
104         - 1
105         - UNBOUNDED
106       feature_compute:
107         type: tosca.capabilities.Node
108         occurrences:
109         - 1
110         - UNBOUNDED
111       binding_compute:
112         type: tosca.capabilities.network.Bindable
113         occurrences:
114         - 1
115         - UNBOUNDED
116   org.openecomp.resource.abstract.nodes.heat.pcm_server:
117     derived_from: org.openecomp.resource.abstract.nodes.VFC
118     properties:
119       availabilityzone_name:
120         type: string
121         description: availabilityzone name
122         required: true
123         status: SUPPORTED
124       oam_net_gw:
125         type: string
126         description: CPS network gateway
127         required: true
128         status: SUPPORTED
129       pcm_image_name:
130         type: string
131         description: PCRF CM image name
132         required: true
133         status: SUPPORTED
134       security_group_name:
135         type: string
136         description: the name of security group
137         required: true
138         status: SUPPORTED
139       cps_net_ip:
140         type: string
141         description: CPS network ip
142         required: true
143         status: SUPPORTED
144       pcm_flavor_name:
145         type: string
146         description: flavor name of PCRF CM instance
147         required: true
148         status: SUPPORTED
149       pcm_vol:
150         type: string
151         description: CPS Cluman Cinder Volume
152         required: true
153         status: SUPPORTED
154       pcm_server_name:
155         type: string
156         description: PCRF CM server name
157         required: true
158         status: SUPPORTED
159       cps_net_name:
160         type: string
161         description: CPS network name
162         required: true
163         status: SUPPORTED
164       cps_net_mask:
165         type: string
166         description: CPS network mask
167         required: true
168         status: SUPPORTED
169       oam_net_ip:
170         type: string
171         description: OAM network ip
172         required: true
173         status: SUPPORTED
174       oam_net_mask:
175         type: string
176         description: CPS network mask
177         required: true
178         status: SUPPORTED
179       oam_net_name:
180         type: string
181         description: OAM network name
182         required: true
183         status: SUPPORTED
184     attributes:
185       server_pcm_id:
186         type: string
187         description: the pcm nova service id
188         status: SUPPORTED
189     requirements:
190     - link_pcm_port_1:
191         capability: tosca.capabilities.network.Linkable
192         node: tosca.nodes.Root
193         relationship: tosca.relationships.network.LinksTo
194         occurrences:
195         - 1
196         - 1
197     - local_storage_server_pcm:
198         capability: tosca.capabilities.Attachment
199         node: tosca.nodes.BlockStorage
200         relationship: tosca.relationships.AttachesTo
201         occurrences:
202         - 0
203         - UNBOUNDED
204     - link_pcm_port_0:
205         capability: tosca.capabilities.network.Linkable
206         node: tosca.nodes.Root
207         relationship: tosca.relationships.network.LinksTo
208         occurrences:
209         - 1
210         - 1
211     capabilities:
212       endpoint_server_pcm:
213         type: tosca.capabilities.Endpoint.Admin
214         occurrences:
215         - 1
216         - UNBOUNDED
217       os_server_pcm:
218         type: tosca.capabilities.OperatingSystem
219         occurrences:
220         - 1
221         - UNBOUNDED
222       host_server_pcm:
223         type: tosca.capabilities.Container
224         valid_source_types:
225         - tosca.nodes.SoftwareComponent
226         occurrences:
227         - 1
228         - UNBOUNDED
229       feature_server_pcm:
230         type: tosca.capabilities.Node
231         occurrences:
232         - 1
233         - UNBOUNDED
234       feature_pcm_port_1:
235         type: tosca.capabilities.Node
236         occurrences:
237         - 1
238         - UNBOUNDED
239       scalable_server_pcm:
240         type: tosca.capabilities.Scalable
241         occurrences:
242         - 1
243         - UNBOUNDED
244       feature_pcm_port_0:
245         type: tosca.capabilities.Node
246         occurrences:
247         - 1
248         - UNBOUNDED
249       binding_server_pcm:
250         type: tosca.capabilities.network.Bindable
251         occurrences:
252         - 1
253         - UNBOUNDED
254       attachment_pcm_port_0:
255         type: tosca.capabilities.Attachment
256         occurrences:
257         - 1
258         - UNBOUNDED
259       attachment_pcm_port_1:
260         type: tosca.capabilities.Attachment
261         occurrences:
262         - 1
263         - UNBOUNDED
264       binding_pcm_port_0:
265         type: tosca.capabilities.network.Bindable
266         valid_source_types:
267         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
268         occurrences:
269         - 0
270         - UNBOUNDED
271       binding_pcm_port_1:
272         type: tosca.capabilities.network.Bindable
273         valid_source_types:
274         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
275         occurrences:
276         - 0
277         - UNBOUNDED
278   org.openecomp.resource.vfc.nodes.heat.pcm_server:
279     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
280     properties:
281       availabilityzone_name:
282         type: string
283         description: availabilityzone name
284         required: true
285         status: SUPPORTED
286       oam_net_gw:
287         type: string
288         description: CPS network gateway
289         required: true
290         status: SUPPORTED
291       pcm_image_name:
292         type: string
293         description: PCRF CM image name
294         required: true
295         status: SUPPORTED
296       security_group_name:
297         type: string
298         description: the name of security group
299         required: true
300         status: SUPPORTED
301       cps_net_ip:
302         type: string
303         description: CPS network ip
304         required: true
305         status: SUPPORTED
306       pcm_flavor_name:
307         type: string
308         description: flavor name of PCRF CM instance
309         required: true
310         status: SUPPORTED
311       pcm_vol:
312         type: string
313         description: CPS Cluman Cinder Volume
314         required: true
315         status: SUPPORTED
316       pcm_server_name:
317         type: string
318         description: PCRF CM server name
319         required: true
320         status: SUPPORTED
321       cps_net_name:
322         type: string
323         description: CPS network name
324         required: true
325         status: SUPPORTED
326       cps_net_mask:
327         type: string
328         description: CPS network mask
329         required: true
330         status: SUPPORTED
331       oam_net_ip:
332         type: string
333         description: OAM network ip
334         required: true
335         status: SUPPORTED
336       oam_net_mask:
337         type: string
338         description: CPS network mask
339         required: true
340         status: SUPPORTED
341       oam_net_name:
342         type: string
343         description: OAM network name
344         required: true
345         status: SUPPORTED
346     attributes:
347       server_pcm_id:
348         type: string
349         description: the pcm nova service id
350         status: SUPPORTED
351     requirements:
352     - link_pcm_port_1:
353         capability: tosca.capabilities.network.Linkable
354         node: tosca.nodes.Root
355         relationship: tosca.relationships.network.LinksTo
356         occurrences:
357         - 1
358         - 1
359     - local_storage_server_pcm:
360         capability: tosca.capabilities.Attachment
361         node: tosca.nodes.BlockStorage
362         relationship: tosca.relationships.AttachesTo
363         occurrences:
364         - 0
365         - UNBOUNDED
366     - link_pcm_port_0:
367         capability: tosca.capabilities.network.Linkable
368         node: tosca.nodes.Root
369         relationship: tosca.relationships.network.LinksTo
370         occurrences:
371         - 1
372         - 1
373     capabilities:
374       endpoint_server_pcm:
375         type: tosca.capabilities.Endpoint.Admin
376         occurrences:
377         - 1
378         - UNBOUNDED
379       os_server_pcm:
380         type: tosca.capabilities.OperatingSystem
381         occurrences:
382         - 1
383         - UNBOUNDED
384       host_server_pcm:
385         type: tosca.capabilities.Container
386         valid_source_types:
387         - tosca.nodes.SoftwareComponent
388         occurrences:
389         - 1
390         - UNBOUNDED
391       feature_server_pcm:
392         type: tosca.capabilities.Node
393         occurrences:
394         - 1
395         - UNBOUNDED
396       feature_pcm_port_1:
397         type: tosca.capabilities.Node
398         occurrences:
399         - 1
400         - UNBOUNDED
401       scalable_server_pcm:
402         type: tosca.capabilities.Scalable
403         occurrences:
404         - 1
405         - UNBOUNDED
406       feature_pcm_port_0:
407         type: tosca.capabilities.Node
408         occurrences:
409         - 1
410         - UNBOUNDED
411       binding_server_pcm:
412         type: tosca.capabilities.network.Bindable
413         occurrences:
414         - 1
415         - UNBOUNDED
416       attachment_pcm_port_0:
417         type: tosca.capabilities.Attachment
418         occurrences:
419         - 1
420         - UNBOUNDED
421       attachment_pcm_port_1:
422         type: tosca.capabilities.Attachment
423         occurrences:
424         - 1
425         - UNBOUNDED
426       binding_pcm_port_0:
427         type: tosca.capabilities.network.Bindable
428         valid_source_types:
429         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
430         occurrences:
431         - 0
432         - UNBOUNDED
433       binding_pcm_port_1:
434         type: tosca.capabilities.network.Bindable
435         valid_source_types:
436         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
437         occurrences:
438         - 0
439         - UNBOUNDED
440   org.openecomp.resource.abstract.nodes.heat.oam_server:
441     derived_from: org.openecomp.resource.abstract.nodes.VFC
442     properties:
443       availabilityzone_name:
444         type: string
445         description: availabilityzone name
446         required: true
447         status: SUPPORTED
448       oam_net_gw:
449         type: string
450         description: CPS network gateway
451         required: true
452         status: SUPPORTED
453       oam_flavor_name:
454         type: string
455         description: flavor name of PCRF CM instance
456         required: true
457         status: SUPPORTED
458       security_group_name:
459         type: string
460         description: the name of security group
461         required: true
462         status: SUPPORTED
463       cps_net_ip:
464         type: string
465         description: CPS network ip
466         required: true
467         status: SUPPORTED
468       oam_server_name:
469         type: string
470         description: oam server name
471         required: true
472         status: SUPPORTED
473       pcm_vol:
474         type: string
475         description: CPS Cluman Cinder Volume
476         required: true
477         status: SUPPORTED
478       oam_image_name:
479         type: string
480         description: oam image name
481         required: true
482         status: SUPPORTED
483       cps_net_name:
484         type: string
485         description: CPS network name
486         required: true
487         status: SUPPORTED
488       cps_net_mask:
489         type: string
490         description: CPS network mask
491         required: true
492         status: SUPPORTED
493       oam_net_ip:
494         type: string
495         description: OAM network ip
496         required: true
497         status: SUPPORTED
498       oam_net_mask:
499         type: string
500         description: CPS network mask
501         required: true
502         status: SUPPORTED
503       oam_net_name:
504         type: string
505         description: OAM network name
506         required: true
507         status: SUPPORTED
508     attributes:
509       server_oam_id:
510         type: string
511         description: the oam nova service id
512         status: SUPPORTED
513     requirements:
514     - local_storage_server_oam:
515         capability: tosca.capabilities.Attachment
516         node: tosca.nodes.BlockStorage
517         relationship: tosca.relationships.AttachesTo
518         occurrences:
519         - 0
520         - UNBOUNDED
521     - link_pcm_port_1:
522         capability: tosca.capabilities.network.Linkable
523         node: tosca.nodes.Root
524         relationship: tosca.relationships.network.LinksTo
525         occurrences:
526         - 1
527         - 1
528     - link_pcm_port_0:
529         capability: tosca.capabilities.network.Linkable
530         node: tosca.nodes.Root
531         relationship: tosca.relationships.network.LinksTo
532         occurrences:
533         - 1
534         - 1
535     capabilities:
536       host_server_oam:
537         type: tosca.capabilities.Container
538         valid_source_types:
539         - tosca.nodes.SoftwareComponent
540         occurrences:
541         - 1
542         - UNBOUNDED
543       endpoint_server_oam:
544         type: tosca.capabilities.Endpoint.Admin
545         occurrences:
546         - 1
547         - UNBOUNDED
548       os_server_oam:
549         type: tosca.capabilities.OperatingSystem
550         occurrences:
551         - 1
552         - UNBOUNDED
553       feature_server_oam:
554         type: tosca.capabilities.Node
555         occurrences:
556         - 1
557         - UNBOUNDED
558       feature_pcm_port_1:
559         type: tosca.capabilities.Node
560         occurrences:
561         - 1
562         - UNBOUNDED
563       scalable_server_oam:
564         type: tosca.capabilities.Scalable
565         occurrences:
566         - 1
567         - UNBOUNDED
568       feature_pcm_port_0:
569         type: tosca.capabilities.Node
570         occurrences:
571         - 1
572         - UNBOUNDED
573       binding_server_oam:
574         type: tosca.capabilities.network.Bindable
575         occurrences:
576         - 1
577         - UNBOUNDED
578       attachment_pcm_port_0:
579         type: tosca.capabilities.Attachment
580         occurrences:
581         - 1
582         - UNBOUNDED
583       attachment_pcm_port_1:
584         type: tosca.capabilities.Attachment
585         occurrences:
586         - 1
587         - UNBOUNDED
588       binding_pcm_port_0:
589         type: tosca.capabilities.network.Bindable
590         valid_source_types:
591         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
592         occurrences:
593         - 0
594         - UNBOUNDED
595       binding_pcm_port_1:
596         type: tosca.capabilities.network.Bindable
597         valid_source_types:
598         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
599         occurrences:
600         - 0
601         - UNBOUNDED
602   org.openecomp.resource.vfc.nodes.heat.oam_server:
603     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
604     properties:
605       availabilityzone_name:
606         type: string
607         description: availabilityzone name
608         required: true
609         status: SUPPORTED
610       oam_net_gw:
611         type: string
612         description: CPS network gateway
613         required: true
614         status: SUPPORTED
615       oam_flavor_name:
616         type: string
617         description: flavor name of PCRF CM instance
618         required: true
619         status: SUPPORTED
620       security_group_name:
621         type: string
622         description: the name of security group
623         required: true
624         status: SUPPORTED
625       cps_net_ip:
626         type: string
627         description: CPS network ip
628         required: true
629         status: SUPPORTED
630       oam_server_name:
631         type: string
632         description: oam server name
633         required: true
634         status: SUPPORTED
635       pcm_vol:
636         type: string
637         description: CPS Cluman Cinder Volume
638         required: true
639         status: SUPPORTED
640       oam_image_name:
641         type: string
642         description: oam image name
643         required: true
644         status: SUPPORTED
645       cps_net_name:
646         type: string
647         description: CPS network name
648         required: true
649         status: SUPPORTED
650       cps_net_mask:
651         type: string
652         description: CPS network mask
653         required: true
654         status: SUPPORTED
655       oam_net_ip:
656         type: string
657         description: OAM network ip
658         required: true
659         status: SUPPORTED
660       oam_net_mask:
661         type: string
662         description: CPS network mask
663         required: true
664         status: SUPPORTED
665       oam_net_name:
666         type: string
667         description: OAM network name
668         required: true
669         status: SUPPORTED
670     attributes:
671       server_oam_id:
672         type: string
673         description: the oam nova service id
674         status: SUPPORTED
675     requirements:
676     - local_storage_server_oam:
677         capability: tosca.capabilities.Attachment
678         node: tosca.nodes.BlockStorage
679         relationship: tosca.relationships.AttachesTo
680         occurrences:
681         - 0
682         - UNBOUNDED
683     - link_pcm_port_1:
684         capability: tosca.capabilities.network.Linkable
685         node: tosca.nodes.Root
686         relationship: tosca.relationships.network.LinksTo
687         occurrences:
688         - 1
689         - 1
690     - link_pcm_port_0:
691         capability: tosca.capabilities.network.Linkable
692         node: tosca.nodes.Root
693         relationship: tosca.relationships.network.LinksTo
694         occurrences:
695         - 1
696         - 1
697     capabilities:
698       host_server_oam:
699         type: tosca.capabilities.Container
700         valid_source_types:
701         - tosca.nodes.SoftwareComponent
702         occurrences:
703         - 1
704         - UNBOUNDED
705       endpoint_server_oam:
706         type: tosca.capabilities.Endpoint.Admin
707         occurrences:
708         - 1
709         - UNBOUNDED
710       os_server_oam:
711         type: tosca.capabilities.OperatingSystem
712         occurrences:
713         - 1
714         - UNBOUNDED
715       feature_server_oam:
716         type: tosca.capabilities.Node
717         occurrences:
718         - 1
719         - UNBOUNDED
720       feature_pcm_port_1:
721         type: tosca.capabilities.Node
722         occurrences:
723         - 1
724         - UNBOUNDED
725       scalable_server_oam:
726         type: tosca.capabilities.Scalable
727         occurrences:
728         - 1
729         - UNBOUNDED
730       feature_pcm_port_0:
731         type: tosca.capabilities.Node
732         occurrences:
733         - 1
734         - UNBOUNDED
735       binding_server_oam:
736         type: tosca.capabilities.network.Bindable
737         occurrences:
738         - 1
739         - UNBOUNDED
740       attachment_pcm_port_0:
741         type: tosca.capabilities.Attachment
742         occurrences:
743         - 1
744         - UNBOUNDED
745       attachment_pcm_port_1:
746         type: tosca.capabilities.Attachment
747         occurrences:
748         - 1
749         - UNBOUNDED
750       binding_pcm_port_0:
751         type: tosca.capabilities.network.Bindable
752         valid_source_types:
753         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
754         occurrences:
755         - 0
756         - UNBOUNDED
757       binding_pcm_port_1:
758         type: tosca.capabilities.network.Bindable
759         valid_source_types:
760         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
761         occurrences:
762         - 0
763         - UNBOUNDED