push addional code
[sdc.git] / openecomp-be / backend / openecomp-sdc-vendor-software-product-manager / src / test / resources / extractServiceComposition / substitution / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5   NeutronPortGlobalTypes:
6     file: NeutronPortGlobalTypesServiceTemplate.yaml
7   NeutronNetGlobalTypes:
8     file: NeutronNetGlobalTypesServiceTemplate.yaml
9   CommonGlobalTypes:
10     file: CommonGlobalTypesServiceTemplate.yaml
11   CinderVolumeGlobalTypes:
12     file: CinderVolumeGlobalTypesServiceTemplate.yaml
13   ContrailNetworkRuleGlobalType:
14     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
15   NeutronSecurityRulesGlobalTypes:
16     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
17   NovaServerGlobalTypes:
18     file: NovaServerGlobalTypesServiceTemplate.yaml
19   ContrailVirtualNetworkGlobalType:
20     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
21   AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 node_types:
24   org.openecomp.resource.abstract.nodes.heat.nested1:
25     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
26     properties:
27       cmaui_names:
28         type: list
29         description: CMAUI1, CMAUI2 server names
30         entry_schema:
31           type: String
32       p1:
33         type: string
34         description: UID of OAM network
35       p2:
36         type: string
37         description: UID of OAM network
38       abc_flavor:
39         type: string
40         description: Flavor for CMAUI server
41       cmaui_image:
42         type: string
43         description: Image for CMAUI server
44       cmaui_flavor:
45         type: string
46         description: Flavor for CMAUI server
47       abc_names:
48         type: list
49         description: CMAUI1, CMAUI2 server names
50         entry_schema:
51           type: String
52       security_group_name:
53         description: not impotrtant
54       availability_zone_0:
55         type: string
56         description: availabilityzone name
57       abc_image:
58         type: string
59         description: Image for CMAUI server
60     requirements:
61     - link_cmaui_port_2:
62         capability: tosca.capabilities.network.Linkable
63         node: tosca.nodes.Root
64         relationship: tosca.relationships.network.LinksTo
65         occurrences:
66         - 1
67         - 1
68     - local_storage_server_cmaui:
69         capability: tosca.capabilities.Attachment
70         node: tosca.nodes.BlockStorage
71         relationship: tosca.relationships.AttachesTo
72         occurrences:
73         - 0
74         - UNBOUNDED
75     - local_storage_server_abc:
76         capability: tosca.capabilities.Attachment
77         node: tosca.nodes.BlockStorage
78         relationship: tosca.relationships.AttachesTo
79         occurrences:
80         - 0
81         - UNBOUNDED
82     - link_abc_port_1:
83         capability: tosca.capabilities.network.Linkable
84         node: tosca.nodes.Root
85         relationship: tosca.relationships.network.LinksTo
86         occurrences:
87         - 1
88         - 1
89     - link_cmaui_port_1:
90         capability: tosca.capabilities.network.Linkable
91         node: tosca.nodes.Root
92         relationship: tosca.relationships.network.LinksTo
93         occurrences:
94         - 1
95         - 1
96     capabilities:
97       scalable_server_abc:
98         type: tosca.capabilities.Scalable
99         occurrences:
100         - 1
101         - UNBOUNDED
102       os_server_cmaui:
103         type: tosca.capabilities.OperatingSystem
104         occurrences:
105         - 1
106         - UNBOUNDED
107       attachment_abc_port_1:
108         type: tosca.capabilities.Attachment
109         occurrences:
110         - 1
111         - UNBOUNDED
112       host_server_abc:
113         type: tosca.capabilities.Container
114         valid_source_types:
115         - tosca.nodes.SoftwareComponent
116         occurrences:
117         - 1
118         - UNBOUNDED
119       scalable_server_cmaui:
120         type: tosca.capabilities.Scalable
121         occurrences:
122         - 1
123         - UNBOUNDED
124       os_server_abc:
125         type: tosca.capabilities.OperatingSystem
126         occurrences:
127         - 1
128         - UNBOUNDED
129       host_server_cmaui:
130         type: tosca.capabilities.Container
131         valid_source_types:
132         - tosca.nodes.SoftwareComponent
133         occurrences:
134         - 1
135         - UNBOUNDED
136       binding_server_abc:
137         type: tosca.capabilities.network.Bindable
138         occurrences:
139         - 1
140         - UNBOUNDED
141       endpoint_server_cmaui:
142         type: tosca.capabilities.Endpoint.Admin
143         occurrences:
144         - 1
145         - UNBOUNDED
146       binding_server_cmaui:
147         type: tosca.capabilities.network.Bindable
148         occurrences:
149         - 1
150         - UNBOUNDED
151       endpoint_server_abc:
152         type: tosca.capabilities.Endpoint.Admin
153         occurrences:
154         - 1
155         - UNBOUNDED
156       attachment_cmaui_port_2:
157         type: tosca.capabilities.Attachment
158         occurrences:
159         - 1
160         - UNBOUNDED
161       attachment_cmaui_port_1:
162         type: tosca.capabilities.Attachment
163         occurrences:
164         - 1
165         - UNBOUNDED
166   org.openecomp.resource.abstract.nodes.heat.nested2:
167     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
168     properties:
169       cmaui_names:
170         type: list
171         description: CMAUI1, CMAUI2 server names
172         entry_schema:
173           type: String
174       p1:
175         type: string
176         description: UID of OAM network
177       cmaui_image:
178         type: string
179         description: Image for CMAUI server
180       cmaui_flavor:
181         type: string
182         description: Flavor for CMAUI server
183       security_group_name:
184         description: not impotrtant
185       availability_zone_0:
186         type: string
187         description: availabilityzone name
188     requirements:
189     - local_storage_server_cmaui:
190         capability: tosca.capabilities.Attachment
191         node: tosca.nodes.BlockStorage
192         relationship: tosca.relationships.AttachesTo
193         occurrences:
194         - 0
195         - UNBOUNDED
196     - link_cmaui_port_1:
197         capability: tosca.capabilities.network.Linkable
198         node: tosca.nodes.Root
199         relationship: tosca.relationships.network.LinksTo
200         occurrences:
201         - 1
202         - 1
203     capabilities:
204       host_server_cmaui:
205         type: tosca.capabilities.Container
206         valid_source_types:
207         - tosca.nodes.SoftwareComponent
208         occurrences:
209         - 1
210         - UNBOUNDED
211       os_server_cmaui:
212         type: tosca.capabilities.OperatingSystem
213         occurrences:
214         - 1
215         - UNBOUNDED
216       endpoint_server_cmaui:
217         type: tosca.capabilities.Endpoint.Admin
218         occurrences:
219         - 1
220         - UNBOUNDED
221       binding_server_cmaui:
222         type: tosca.capabilities.network.Bindable
223         occurrences:
224         - 1
225         - UNBOUNDED
226       scalable_server_cmaui:
227         type: tosca.capabilities.Scalable
228         occurrences:
229         - 1
230         - UNBOUNDED
231       attachment_cmaui_port_1:
232         type: tosca.capabilities.Attachment
233         occurrences:
234         - 1
235         - UNBOUNDED