tosca.nodes.nfv.Vdu.Compute:
derived_from: tosca.nodes.Root
properties:
#id:
# node name
name: # align with the IM, please refer to https://wiki.onap.org/display/DW/Design+Time+Model+Clean+Version#DesignTimeModelCleanVersion-Class:VDU/VDUDesc
type: string
required: true
description:
type: string
required: true
boot_order:
type: map # explicit index (boot index) not necessary, contrary to IFA011. In the IM, it shoul be a array of KeyValuePair/NameValuePair
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 metadata attached to the VM or container
type: map
entry_schema:
type: string
required: true: false
user_data: #cloudinit userdata script support
type: string
required: false
#attributes: NOT DEFINED IN ONAP IM and SOL001
#private_address:
# status: deprecated
#public_address:
# status: deprecated
#networks:
# status: deprecated
#ports:
# status: deprecated
capabilities:
virtual_compute:
type: tosca.capabilities.nfv.VirtualCompute
virtual_binding:
type: tosca.capabilities.nfv.VirtualBindable
occurrences: [1, UNBOUND]
monitoring_parameter:
type: tosca.capabilities.nfv.Metric # this is not a very clear data structure enough to be coded, suggest to be annotated.
occurrences: [0,UNBOUND]
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
interfaces:
cloudinit:
type:tosca.interfaces.nfv.vdu.cloudinit |