summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml
blob: 83bba36fe0ed5ddaee5e0f1400763f82f3695e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
    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
          description: Human readable name of the VDU
          required: true
        description:
          type: string
          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 ]