Update node and data types for SOL001 3.3.1 + CNF enhancements
[sdc.git] / catalog-be / src / main / resources / import / tosca / nfv-types / vduCompute / vduCompute.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3     tosca.nodes.nfv.Vdu.Compute:
4       derived_from: tosca.nodes.Root
5       description:  Describes the virtual compute part of a VDU which is a construct   supporting the description of the deployment and operational behavior of a VNFC
6       properties:
7         name:
8           type: string
9           description: Human readable name of the VDU
10           required: true
11         description:
12           type: string
13           description: Human readable description of the VDU
14           required: true
15         boot_order:
16           type: list # explicit index (boot index) not necessary, contrary to IFA011 
17           description: References a node template name from which a valid boot device is created 
18           required: false
19           entry_schema:
20             type: string
21         nfvi_constraints:
22           type: list
23           description: Describes constraints on the NFVI for the VNFC instance(s) created from this VDU
24           required: false
25           entry_schema:
26             type: string
27         monitoring_parameters:
28           type: list
29           description: Describes monitoring parameters applicable to a VNFC instantiated from this VDU
30           required: false
31           entry_schema:
32             type: tosca.datatypes.nfv.VnfcMonitoringParameter
33         #configurable_properties:
34            #type: tosca.datatypes.nfv.VnfcConfigurableProperties
35            #required: false
36            # derived types are expected to introduce
37            # configurable_properties with its type derived from
38            # tosca.datatypes.nfv.VnfcConfigurableProperties
39         vdu_profile:
40           type: tosca.datatypes.nfv.VduProfile
41           description: Defines additional instantiation data for the VDU.Compute node
42           required: true
43         sw_image_data:
44           type: tosca.datatypes.nfv.SwImageData
45           description: Defines information related to a SwImage artifact used by this Vdu.Compute node
46           required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise
47         boot_data:
48           type: string 
49           description: Contains a string or a URL to a file contained in the VNF package used to customize a virtualised compute resource at boot time. The bootData may contain variable parts that are replaced by deployment specific values before being sent to the VIM. 
50           required: false
51         inject_files: #Introduced from Beijing release, used for vCPE usecase, outside the scope of SOL001 v2.5.1
52           type: tosca.datatypes.nfv.injectFile
53           required: false  #Aligned with ONAP R2 IM. it should be false.
54         meta_data: #Introduced from Beijing release, used for metadata attached to the VM or container, outside the scope of SOL001 v2.5.1
55           type: map
56           entry_schema:
57             type: string
58           required: false
59       capabilities:
60         virtual_compute:
61           type: tosca.capabilities.nfv.VirtualCompute
62           occurrences: [ 1, 1 ]
63         virtual_binding:
64           type: tosca.capabilities.nfv.VirtualBindable
65           occurrences: [ 1, UNBOUNDED ]
66       requirements:
67         - virtual_storage:
68             capability: tosca.capabilities.nfv.VirtualStorage
69             relationship: tosca.relationships.nfv.AttachesTo
70             occurrences: [ 0, UNBOUNDED ]