[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-impl / src / test / resources / mock / toscaGlobalServiceTemplates / openecomp / nodes.yml
1 tosca_definitions_version: tosca_simple_openecomp_1_0
2 metadata:
3   filename: openecomp/nodes.yml
4   version: '1.0'
5 imports:
6 - openecomp_index:
7     file: _index.yml
8 node_types:
9   org.openecomp.resource.vl.nodes.network.VL:
10     derived_from: tosca.nodes.network.Network
11     properties:
12       vendor:
13         type: string
14         required: false
15         status: SUPPORTED
16       vl_name:
17         type: string
18         required: false
19         status: SUPPORTED
20     capabilities:
21       end_point:
22         type: tosca.capabilities.Endpoint
23         occurrences:
24         - 1
25         - UNBOUNDED
26   org.openecomp.resource.abstract.nodes.AbstractSubstitute:
27     derived_from: tosca.nodes.Root
28     properties:
29       service_template_filter:
30         type: org.openecomp.datatypes.substitution.SubstitutionFiltering
31         description: Substitution Filter
32         required: true
33         status: SUPPORTED
34   org.openecomp.resource.vl.extVL:
35     derived_from: org.openecomp.resource.vl.nodes.network.VL
36     description: VF Tenant oam protected network
37     properties:
38       network_type:
39         type: string
40         description: OPENECOMP supported network types.
41         required: true
42         status: SUPPORTED
43       network_role:
44         type: string
45         description: |
46           Unique label that defines the role that this network performs.   example: vce oam network, vnat sr-iov1 network
47         required: true
48         status: SUPPORTED
49       network_scope:
50         type: string
51         description: |
52           Uniquely identifies the network scope. Valid values for the network scope   includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects  the VFs within the service GLOBAL - Global network which can be shared by multiple services
53         required: true
54         status: SUPPORTED
55         constraints:
56         - valid_values:
57           - VF
58           - SERVICE
59           - GLOBAL
60       network_technology:
61         type: string
62         description: OPENECOMP supported network technology
63         required: true
64         status: SUPPORTED
65       network_ecomp_naming:
66         type: org.openecomp.datatypes.EcompNaming
67         required: true
68         status: SUPPORTED
69       network_homing:
70         type: org.openecomp.datatypes.EcompHoming
71         required: true
72         status: SUPPORTED
73       network_assignments:
74         type: org.openecomp.datatypes.network.NetworkAssignments
75         required: true
76         status: SUPPORTED
77       provider_network:
78         type: org.openecomp.datatypes.network.ProviderNetwork
79         required: true
80         status: SUPPORTED
81       network_flows:
82         type: org.openecomp.datatypes.network.NetworkFlows
83         required: false
84         status: SUPPORTED
85   org.openecomp.resource.vfc.nodes.Compute:
86     derived_from: tosca.nodes.Compute
87     capabilities:
88       disk.ephemeral.size:
89         type: org.openecomp.capabilities.metric.Ceilometer
90         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
91         occurrences:
92         - 1
93         - UNBOUNDED
94       instance:
95         type: org.openecomp.capabilities.metric.Ceilometer
96         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
97         occurrences:
98         - 1
99         - UNBOUNDED
100       memory:
101         type: org.openecomp.capabilities.metric.Ceilometer
102         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
103         occurrences:
104         - 1
105         - UNBOUNDED
106       disk.iops:
107         type: org.openecomp.capabilities.metric.Ceilometer
108         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
109         occurrences:
110         - 1
111         - UNBOUNDED
112       disk.device.read.requests:
113         type: org.openecomp.capabilities.metric.Ceilometer
114         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
115         occurrences:
116         - 1
117         - UNBOUNDED
118       cpu.delta:
119         type: org.openecomp.capabilities.metric.Ceilometer
120         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
121         occurrences:
122         - 1
123         - UNBOUNDED
124       disk.capacity:
125         type: org.openecomp.capabilities.metric.Ceilometer
126         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
127         occurrences:
128         - 1
129         - UNBOUNDED
130       disk.device.read.bytes:
131         type: org.openecomp.capabilities.metric.Ceilometer
132         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
133         occurrences:
134         - 1
135         - UNBOUNDED
136       disk.write.bytes:
137         type: org.openecomp.capabilities.metric.Ceilometer
138         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
139         occurrences:
140         - 1
141         - UNBOUNDED
142       disk.latency:
143         type: org.openecomp.capabilities.metric.Ceilometer
144         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
145         occurrences:
146         - 1
147         - UNBOUNDED
148       disk.device.read.bytes.rate:
149         type: org.openecomp.capabilities.metric.Ceilometer
150         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
151         occurrences:
152         - 1
153         - UNBOUNDED
154       disk.usage:
155         type: org.openecomp.capabilities.metric.Ceilometer
156         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
157         occurrences:
158         - 1
159         - UNBOUNDED
160       cpu_util:
161         type: org.openecomp.capabilities.metric.Ceilometer
162         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
163         occurrences:
164         - 1
165         - UNBOUNDED
166       disk.device.allocation:
167         type: org.openecomp.capabilities.metric.Ceilometer
168         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
169         occurrences:
170         - 1
171         - UNBOUNDED
172       disk.write.requests.rate:
173         type: org.openecomp.capabilities.metric.Ceilometer
174         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
175         occurrences:
176         - 1
177         - UNBOUNDED
178       disk.write.bytes.rate:
179         type: org.openecomp.capabilities.metric.Ceilometer
180         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
181         occurrences:
182         - 1
183         - UNBOUNDED
184       disk.device.latency:
185         type: org.openecomp.capabilities.metric.Ceilometer
186         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
187         occurrences:
188         - 1
189         - UNBOUNDED
190       cpu:
191         type: org.openecomp.capabilities.metric.Ceilometer
192         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
193         occurrences:
194         - 1
195         - UNBOUNDED
196       disk.device.write.requests:
197         type: org.openecomp.capabilities.metric.Ceilometer
198         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
199         occurrences:
200         - 1
201         - UNBOUNDED
202       disk.device.write.bytes:
203         type: org.openecomp.capabilities.metric.Ceilometer
204         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
205         occurrences:
206         - 1
207         - UNBOUNDED
208       disk.read.requests:
209         type: org.openecomp.capabilities.metric.Ceilometer
210         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
211         occurrences:
212         - 1
213         - UNBOUNDED
214       disk.root.size:
215         type: org.openecomp.capabilities.metric.Ceilometer
216         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
217         occurrences:
218         - 1
219         - UNBOUNDED
220       disk.device.write.bytes.rate:
221         type: org.openecomp.capabilities.metric.Ceilometer
222         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
223         occurrences:
224         - 1
225         - UNBOUNDED
226       vcpus:
227         type: org.openecomp.capabilities.metric.Ceilometer
228         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
229         occurrences:
230         - 1
231         - UNBOUNDED
232       disk.device.iops:
233         type: org.openecomp.capabilities.metric.Ceilometer
234         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
235         occurrences:
236         - 1
237         - UNBOUNDED
238       disk.device.usage:
239         type: org.openecomp.capabilities.metric.Ceilometer
240         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
241         occurrences:
242         - 1
243         - UNBOUNDED
244       disk.device.read.requests.rate:
245         type: org.openecomp.capabilities.metric.Ceilometer
246         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
247         occurrences:
248         - 1
249         - UNBOUNDED
250       disk.device.write.requests.rate:
251         type: org.openecomp.capabilities.metric.Ceilometer
252         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
253         occurrences:
254         - 1
255         - UNBOUNDED
256       disk.allocation:
257         type: org.openecomp.capabilities.metric.Ceilometer
258         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
259         occurrences:
260         - 1
261         - UNBOUNDED
262       disk.read.bytes.rate:
263         type: org.openecomp.capabilities.metric.Ceilometer
264         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
265         occurrences:
266         - 1
267         - UNBOUNDED
268       disk.read.bytes:
269         type: org.openecomp.capabilities.metric.Ceilometer
270         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
271         occurrences:
272         - 1
273         - UNBOUNDED
274       memory.usage:
275         type: org.openecomp.capabilities.metric.Ceilometer
276         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
277         occurrences:
278         - 1
279         - UNBOUNDED
280       disk.device.capacity:
281         type: org.openecomp.capabilities.metric.Ceilometer
282         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
283         occurrences:
284         - 1
285         - UNBOUNDED
286       memory.resident:
287         type: org.openecomp.capabilities.metric.Ceilometer
288         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
289         occurrences:
290         - 1
291         - UNBOUNDED
292       disk.write.requests:
293         type: org.openecomp.capabilities.metric.Ceilometer
294         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
295         occurrences:
296         - 1
297         - UNBOUNDED
298   org.openecomp.resource.abstract.nodes.DFAbstractSubstitute:
299     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
300     properties:
301       license_feature_group_ref:
302         type: string
303         description: refrence to license feature group
304         required: true
305         status: SUPPORTED
306     requirements:
307     - deployment_flavor:
308         capability: org.openecomp.capabilities.attachment.DeploymentFlavor
309         node: org.openecomp.resource.nodes.DeploymentFlavor
310         relationship: org.openecomp.relationships.AttachesTo
311         occurrences:
312         - 1
313         - UNBOUNDED
314   org.openecomp.resource.abstract.nodes.VFC:
315     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
316     properties:
317       high_availablity:
318         type: string
319         description: high_availablity
320         required: false
321         status: SUPPORTED
322       vm_image_name:
323         type: string
324         description: Master image_name volume id
325         required: true
326         status: SUPPORTED
327       vm_flavor_name:
328         type: string
329         description: Master image_name volume id
330         required: true
331         status: SUPPORTED
332       nfc_naming_code:
333         type: string
334         description: nfc code for instance naming
335         required: false
336         status: SUPPORTED
337       vm_type_tag:
338         type: string
339         description: vm type based on naming Convention
340         required: false
341         status: SUPPORTED
342       vfc_naming:
343         type: org.openecomp.datatypes.Naming
344         description: vfc naming
345         required: false
346         default: false
347         status: SUPPORTED
348       min_instances:
349         type: integer
350         description: Minimum number of VFC Instances
351         required: false
352         default: 0
353         status: SUPPORTED
354         constraints:
355         - greater_or_equal: 0
356       max_instances:
357         type: integer
358         description: Maximum number of VFC Instances
359         required: false
360         status: SUPPORTED
361         constraints:
362         - greater_or_equal: 1
363   org.openecomp.resource.vl.ELine:
364     derived_from: org.openecomp.resource.vl.nodes.network.VL
365     capabilities:
366       linkable:
367         type: tosca.capabilities.network.Linkable
368         occurrences:
369         - 0
370         - 2
371   org.openecomp.resource.cp.nodes.network.SubInterface:
372     derived_from: tosca.nodes.network.Port
373   org.openecomp.resource.vl.internalVL:
374     derived_from: org.openecomp.resource.vl.nodes.network.VL
375     description: The AT&T internal (VF-level) Virtual Link
376   org.openecomp.resource.cp.nodes.network.CP:
377     derived_from: tosca.nodes.network.Port
378     properties:
379       network_role_tag:
380         type: string
381         description: Must correlate to the set of defined “network-role�? tag identifiers from the associated HEAT template
382         required: true
383         status: SUPPORTED
384       mac_requirements:
385         type: org.openecomp.datatypes.network.MacRequirements
386         description: identifies MAC address assignments to the CP
387         required: false
388         status: SUPPORTED
389       vlan_requirements:
390         type: list
391         description: identifies vlan address assignments to the CP
392         required: false
393         status: SUPPORTED
394         entry_schema:
395           type: org.openecomp.datatypes.network.VlanRequirements
396       ip_requirements:
397         type: list
398         description: identifies IP requirements to the CP
399         required: true
400         status: SUPPORTED
401         entry_schema:
402           type: org.openecomp.datatypes.network.IpRequirements
403     capabilities:
404       network.incoming.packets.rate:
405         type: org.openecomp.capabilities.metric.Ceilometer
406         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
407         occurrences:
408         - 1
409         - UNBOUNDED
410       network.outgoing.bytes:
411         type: org.openecomp.capabilities.metric.Ceilometer
412         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
413         occurrences:
414         - 1
415         - UNBOUNDED
416       network.outgoing.packets.rate:
417         type: org.openecomp.capabilities.metric.Ceilometer
418         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
419         occurrences:
420         - 1
421         - UNBOUNDED
422       network.outpoing.packets:
423         type: org.openecomp.capabilities.metric.Ceilometer
424         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
425         occurrences:
426         - 1
427         - UNBOUNDED
428       network.incoming.bytes.rate:
429         type: org.openecomp.capabilities.metric.Ceilometer
430         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
431         occurrences:
432         - 1
433         - UNBOUNDED
434       network.incoming.bytes:
435         type: org.openecomp.capabilities.metric.Ceilometer
436         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
437         occurrences:
438         - 1
439         - UNBOUNDED
440       network.outgoing.bytes.rate:
441         type: org.openecomp.capabilities.metric.Ceilometer
442         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
443         occurrences:
444         - 1
445         - UNBOUNDED
446       network.incoming.packets:
447         type: org.openecomp.capabilities.metric.Ceilometer
448         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
449         occurrences:
450         - 1
451         - UNBOUNDED
452   org.openecomp.resource.nodes.DeploymentFlavor:
453     derived_from: tosca.nodes.Root
454     capabilities:
455       deployment_flavor:
456         type: org.openecomp.capabilities.attachment.DeploymentFlavor
457         description: Allowed deployment flavors of an abstract node
458         occurrences:
459         - 1
460         - UNBOUNDED
461   org.openecomp.resource.cp.extCP:
462     derived_from: tosca.nodes.Root
463     description: The AT&T Connection Point base type all other CP derive from
464     properties:
465       network_role:
466         type: string
467         description: identical to VL network_role
468         required: true
469         status: SUPPORTED
470       order:
471         type: integer
472         description: The order of the CP on the compute instance (e.g. eth2).
473         required: true
474         status: SUPPORTED
475       network_role_tag:
476         type: string
477         description: Must correlate to the set of defined “network-role�? tag identifiers from the associated HEAT template
478         required: true
479         status: SUPPORTED
480       mac_requirements:
481         type: org.openecomp.datatypes.network.MacRequirements
482         description: identifies MAC address assignments to the CP
483         required: false
484         status: SUPPORTED
485       vlan_requirements:
486         type: list
487         description: identifies vlan address assignments to the CP
488         required: false
489         status: SUPPORTED
490         entry_schema:
491           type: org.openecomp.datatypes.network.VlanRequirements
492       ip_requirements:
493         type: list
494         description: identifies IP requirements to the CP
495         required: true
496         status: SUPPORTED
497         entry_schema:
498           type: org.openecomp.datatypes.network.IpRequirements
499     requirements:
500     - virtualLink:
501         capability: tosca.capabilities.network.Linkable
502         relationship: tosca.relationships.network.LinksTo
503     - virtualBinding:
504         capability: tosca.capabilities.network.Bindable
505         relationship: tosca.relationships.network.BindsTo
506     - external_virtualLink:
507         capability: tosca.capabilities.network.Linkable
508         node: org.openecomp.resource.vl.nodes.network.VL
509         relationship: tosca.relationships.network.LinksTo
510     capabilities:
511       internal_connectionPoint:
512         type: tosca.capabilities.Node
513         valid_source_types:
514         - tosca.nodes.network.Port
515         occurrences:
516         - 1
517         - UNBOUNDED
518   org.openecomp.resource.vfc.nodes.volume:
519     derived_from: tosca.nodes.BlockStorage