aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml
blob: 37e4c5edb1ae9ff928de6240f1e329ed3c47b7a6 (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
    tosca.nodes.nfv.Vdu.Compute:
      derived_from: tosca.nodes.Root
      properties:
        name:
          type: string
          required: true
        description:
          type: string
          required: true
        boot_order:
          type: map
          entry_schema:
            type: string
          required: false
        nfvi_constraints: 
          type: map # Align with IM, it shoul be a array of KeyValuePair/NameValuePair
          entry_schema:
            type: string
          required: false
        configurable_properties:
           type: map   #In the IM, the multipilicity of VnfcConfigurableProperties is 1, not a map.
           entry_schema:
              type: tosca.datatypes.nfv.VnfcConfigurableProperties
           required: true 
        vdu_profile:         
           type: tosca.datatypes.nfv.VduProfile
           required: true
        inject_files: # Used for vCPE usecase Aligned with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
           type: tosca.datatypes.nfv.injectFile
           required: false  #Aligned with ONAP R2 IM. it should be false.
        meta_data: #metadata attached to the VM or container
           type: map
           entry_schema:
             type: string
           required: false
        user_data: #cloudinit userdata script support
          type: string
          required: false
      capabilities:
        virtual_compute:
          type: tosca.capabilities.nfv.VirtualCompute
        virtual_binding:
          type: tosca.capabilities.nfv.VirtualBindable
          occurrences:
          - 1
          - UNBOUNDED
        monitoring_parameter:    
          type: tosca.capabilities.nfv.Metric
          occurrences:
          - 0
          - UNBOUNDED
      requirements:
        - virtual_storage:
            capability: tosca.capabilities.nfv.VirtualStorage
            relationship: tosca.relationships.nfv.Vdu.AttachedTo
            node: tosca.nodes.nfv.VDU.VirtualStorage
            occurences:
            - 0
            - UNBOUNDED
      artifacts:   
        - sw_image:
            file:   
            type: tosca.artifacts.nfv.SwImage