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