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