Release version 1.13.7
[sdc.git] / catalog-be / src / main / resources / import / tosca / nfv-types / vduCompute / vduCompute.yml
index a1c4b48..131c282 100644 (file)
@@ -1,96 +1,70 @@
 tosca_definitions_version: tosca_simple_yaml_1_0_0
 node_types:
-  tosca.nodes.nfv.VDU.Compute:
-    derived_from: tosca.nodes.Root
-    properties:
-      configurable_properties:
-        type: map
-        required: true
-        status: SUPPORTED
-        entry_schema:
-          type: tosca.datatypes.nfv.VnfcConfigurableProperties
-      name:
-        type: string
-        required: true
-        status: SUPPORTED
-      nfvi_constraints:
-        type: list
-        required: false
-        status: SUPPORTED
-        entry_schema:
+    tosca.nodes.nfv.Vdu.Compute:
+      derived_from: tosca.nodes.Root
+      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
+      properties:
+        name:
           type: string
-      descrption:
-        type: string
-        required: true
-        status: SUPPORTED
-      boot_order:
-        type: list
-        required: false
-        status: SUPPORTED
-        entry_schema:
+          description: Human readable name of the VDU
+          required: true
+        description:
           type: string
-    attributes:
-      private_address:
-        type: string
-        status: SUPPORTED
-      public_address:
-        type: string
-        status: SUPPORTED
-      networks:
-        type: string
-        status: SUPPORTED
-      ports:
-        type: string
-        status: SUPPORTED
-    requirements:
-    - local_storage:
-        capability: tosca.capabilities.Attachment
-        occurrences:
-        - 0
-        - UNBOUNDED
-    - virtual_storage:
-        capability: tosca.capabilities.nfv.VirtualStorage
-        occurrences:
-        - 0
-        - UNBOUNDED
-    capabilities:
-      scalable:
-        type: tosca.capabilities.Scalable
-        occurrences:
-        - 1
-        - UNBOUNDED
-      virtual_compute:
-        type: tosca.capabilities.nfv.VirtualCompute
-        occurrences:
-        - 1
-        - UNBOUNDED
-      endpoint:
-        type: tosca.capabilities.Endpoint.Admin
-        occurrences:
-        - 1
-        - UNBOUNDED
-      os:
-        type: tosca.capabilities.OperatingSystem
-        occurrences:
-        - 1
-        - UNBOUNDED
-      virtual_binding:
-        type: tosca.capabilities.nfv.VirtualBindable
-        occurrences:
-        - 1
-        - UNBOUNDED
-      host:
-        type: tosca.capabilities.Container
-        occurrences:
-        - 1
-        - UNBOUNDED
-      binding:
-        type: tosca.capabilities.network.Bindable
-        occurrences:
-        - 1
-        - UNBOUNDED
-      monitoring_parameter:
-        type: tosca.capabilities.nfv.Metric
-        occurrences:
-        - 1
-        - UNBOUNDED
\ No newline at end of file
+          description: Human readable description of the VDU
+          required: true
+        boot_order:
+          type: list # explicit index (boot index) not necessary, contrary to IFA011 
+          description: References a node template name from which a valid boot device is created 
+          required: false
+          entry_schema:
+            type: string
+        nfvi_constraints:
+          type: list
+          description: Describes constraints on the NFVI for the VNFC instance(s) created from this VDU
+          required: false
+          entry_schema:
+            type: string
+        monitoring_parameters:
+          type: list
+          description: Describes monitoring parameters applicable to a VNFC instantiated from this VDU
+          required: false
+          entry_schema:
+            type: tosca.datatypes.nfv.VnfcMonitoringParameter
+        #configurable_properties:
+           #type: tosca.datatypes.nfv.VnfcConfigurableProperties
+           #required: false
+           # derived types are expected to introduce
+           # configurable_properties with its type derived from
+           # tosca.datatypes.nfv.VnfcConfigurableProperties
+        vdu_profile:
+          type: tosca.datatypes.nfv.VduProfile
+          description: Defines additional instantiation data for the VDU.Compute node
+          required: true
+        sw_image_data:
+          type: tosca.datatypes.nfv.SwImageData
+          description: Defines information related to a SwImage artifact used by this Vdu.Compute node
+          required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise
+        boot_data:
+          type: string 
+          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. 
+          required: false
+        inject_files: #Introduced from Beijing release, used for vCPE usecase, outside the scope of SOL001 v2.5.1
+          type: tosca.datatypes.nfv.injectFile
+          required: false  #Aligned with ONAP R2 IM. it should be false.
+        meta_data: #Introduced from Beijing release, used for metadata attached to the VM or container, outside the scope of SOL001 v2.5.1
+          type: map
+          entry_schema:
+            type: string
+          required: false
+      capabilities:
+        virtual_compute:
+          type: tosca.capabilities.nfv.VirtualCompute
+          occurrences: [ 1, 1 ]
+        virtual_binding:
+          type: tosca.capabilities.nfv.VirtualBindable
+          occurrences: [ 1, UNBOUNDED ]
+      requirements:
+        - virtual_storage:
+            capability: tosca.capabilities.nfv.VirtualStorage
+            relationship: tosca.relationships.nfv.AttachesTo
+            occurrences: [ 0, UNBOUNDED ]