X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=catalog-be%2Fsrc%2Fmain%2Fresources%2Fimport%2Ftosca%2Fnfv-types%2FvduCompute%2FvduCompute.yml;fp=catalog-be%2Fsrc%2Fmain%2Fresources%2Fimport%2Ftosca%2Fnfv-types%2FvduCompute%2FvduCompute.yml;h=37e4c5edb1ae9ff928de6240f1e329ed3c47b7a6;hb=cb72310ab92091c47502f7e3c1bf2162884dca83;hp=a1c4b486b6e2d20728fa185c0eee908b8c9e1456;hpb=a4d6b57e6b8babca1007680fa51fa38f2eccf536;p=sdc.git diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml index a1c4b486b6..37e4c5edb1 100644 --- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml +++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml @@ -1,96 +1,65 @@ 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 + properties: + name: type: string - descrption: - type: string - required: true - status: SUPPORTED - boot_order: - type: list - required: false - status: SUPPORTED - entry_schema: + 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 + 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 \ No newline at end of file