this is the DM agreed to R2 and maintenance release page version 35.
the final R3 DM is still under discussion.
any change to this page done by someone other then Victor Gao or Michael Lando will be reverted thank you.
Panel |
---|
borderStyle | solid |
---|
title | Node Types |
---|
|
Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VDU.Compute |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VDUVdu.Compute:
derived_from: tosca.nodes.ComputeRoot
properties:
name#id:
type: string
# node name
name: required: true
description: # 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
bootdescription:
type: string
required: true
boot_order:
type: listmap # 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: list 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 entry_schema:
of VnfcConfigurableProperties is 1, not a map.
type: tosca entry_schema:
type: tosca.datatypes.nfv.VnfcConfigurableProperties
required: true true
attributes:
privatevdu_addressprofile:
status: deprecated
public_address:
status type: deprecatedtosca.datatypes.nfv.VduProfile
networks:
required: true
statusinject_files: deprecated
# Used for vCPE ports:
usecase Aligned with ONAP R2 IM. status:not deprecated
defined in capabilities:
virtual_compute:
IFA011 v2.4.1 and SOL001 v0.6.0.
type: tosca.capabilitiesdatatypes.nfv.VirtualComputeinjectFile
virtual_binding:
required: false #Aligned type: tosca.capabilities.nfv.VirtualBindable
occurrences: [1, UNBOUND]with ONAP R2 IM. it should be false.
#monitoringmeta_parameterdata:
#metadata attached to the VM #or modeledcontainer
as ad hoc (named) capabilities in VDU node templatetype: map
# for example entry_schema:
#capabilities:
# cpu_loadtype: tosca.capabilities.nfv.Metricstring
# memory_usagerequired: tosca.capabilities.nfv.Metricfalse
hostuser_data: #Editor#cloudinit note:userdata FFS.script Howsupport
this capabilities should be used in NFV Profiletype: string
typerequired: tosca.capabilities.Containerfalse
#attributes: NOT DEFINED valid_source_types: [tosca.nodes.SoftwareComponent]
IN ONAP IM and SOL001
occurrences: [0,UNBOUNDED]#private_address:
# endpointstatus: deprecated
#public_address:
occurrences: [0,0] # status: deprecated
os#networks:
# status: deprecated
occurrences: [0,0] #ports:
scalable:# #Editor notestatus: FFS. How thisdeprecated
capabilities:
should be used in NFV Profilevirtual_compute:
type: tosca.capabilities.Scalablenfv.VirtualCompute
virtual_binding:
type: tosca.capabilities.nfv.VirtualBindable
occurrences: [01, UNBOUND]
requirementsmonitoring_parameter:
- virtual_storage:
capability: toscatype: tosca.capabilities.nfv.VirtualStorage
Metric # this is not a very clear relationship: tosca.relationships.nfv.VDU.AttachedTo
node: tosca.nodes.nfv.VDU.VirtualStoragedata structure enough to be coded, suggest to be annotated.
occurencesoccurrences: [ 0,UNBOUND]
UNBOUNDED ]requirements:
- localvirtual_storage:
#For NFV Profile, this requirement is deprecated.capability: tosca.capabilities.nfv.VirtualStorage
occurrences: [0,0]
artifacts:
relationship: tosca.relationships.nfv.Vdu.AttachedTo
- sw_imagenode:
tosca.nodes.nfv.VDU.VirtualStorage
occurences: [ 0, UNBOUNDED ]
artifacts:
- sw_image:
file:
type: tosca.artifacts.nfv.SwImage |
Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VDU.VirtualStorage |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VDUVdu.VirtualStorage:
derived_from: tosca.nodes.Root
properties:
#id:
# node name
type_of_storage:
type: string
constraints:
- valid_values: [volume, object, root, block]
required: true
size_of_storage:
type: scalar-unit.size
required: true
rdmavdu_storage_enabledrequirements:
type: booleanmap
required: false
capabilities:
virtualrdma_storageenabled:
type: boolean
required: false
capabilities:
virtual_storage:
type: tosca.capabilities.nfv.VirtualStorage
artifacts:
- sw_image:
file:
type: tosca.artifacts.Deployment.Image
#interfaces: # not needed for virtualstroage. it doesn't support cloudinit.
# cloudinit:
# type:tosca.interfaces.nfv.vdu.cloudinit |
Code Block |
---|
| Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.Cp |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.Cp:
derived_from: tosca.nodes.Root
properties:
layer_protocol:
type:stringlist
constraintsentry_schema:
constraints:
- valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
required:true
role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
type:string
constraints:
- valid_values: [ root, leaf ]
required:false
description:
type: string
required: false
protocol_data:
type: list
entry_schema:
type: tosca.datatypedatatypes.nfv.CpProtocolData
required:true
allowedAddressDatatrunk_mode:
type: tosca.datatype.nfv.AddressDataboolean
required: false | Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VduCp |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VduCp:
derived_from: tosca.nodes.nfv.Cp
properties:
bitrate_requirement:
true
allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0. type: integer
required:false
vnicName:
type: String
tosca.datatypes.nfv.AddressData # In required:false
vnicOrder:
type: integerthe IM, it is a array, but here it is not a array. TBD.
required: false |
Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VduCp |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VduCpfalse
vnicType:
type: String
constraintsderived_from: tosca.nodes.nfv.Cp
properties:
bitrate_requirement:
- valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]type: integer
required:false
virtual_network_interface_requirementsvnic_name:
# Aligned with ONAP R2 type: list
entry_schema:Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
type: VirtualNetworkInterfaceRequirementsstring
required:false
requirementsvnic_order:
# Aligned with ONAP R2 Im. not - virtual_link:
defined in IFA011 v2.4.1 and SOL001 v0.6.0.
capabilitytype: tosca.capabilities.nfv.VirtualLinkableinteger
required:false
relationshipvnic_type: tosca.relationships.nfv.VirtualLinksTo
node: tosca.nodes.nfv.VnfVirtualLinkDesc # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
- virtual_bindingtype: string
constraints:
capability: tosca.capabilities.nfv.VirtualBindable
- valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
relationship: tosca.relationships.nfv.VirtualBindsTorequired:false
virtual_network_interface_requirements:
node: tosca.nodes.nfv.VDU type: list
entry_schema:
type: VirtualNetworkInterfaceRequirements
required:false
# order: #there is no this attribute in IM.
# type: integer
# required: false
# constraints:
# - greater_or_equal: 0
requirements:
- virtual_link:
capability: tosca.capabilities.nfv.VirtualLinkable
relationship: tosca.relationships.nfv.VirtualLinksTo
node: tosca.nodes.nfv.VnfVirtualLink
- virtual_binding:
capability: tosca.capabilities.nfv.VirtualBindable
relationship: tosca.relationships.nfv.VirtualBindsTo
node: tosca.nodes.nfv.Vdu.Compute |
Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VnfVirtualLink |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VnfVirtualLink:
derived_from: tosca.nodes.Root
properties:
connectivity_type:
type: tosca.datatypes.nfv.ConnectivityType
required: true
description:
type: string
required: false
test_access:
type: list
entry_schema:
type: string
required: false
vl_profile:
type: tosca.datatypes.nfv.VlProfile
required: true
capabilities:
monitoring_parameter: # this is not a very clear data structure enough to be coded, suggest to be annotated.
type: tosca.capabilities.nfv.Metric
occurrences: [0,UNBOUND]
virtual_linkable:
type: tosca.capabilities.nfv.VirtualLinkable |
Code Block |
---|
firstline | 1 |
---|
title | tosca.nodes.nfv.VNF |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VNF:
derived_from: tosca.nodes.Root
properties:
descriptor_id: # instead of vnfd_id
type: string # GUID
required: true
descriptor_version: # instead of vnfd_version
type: string
required: true
provider: # instead of vnf_provider
type: string
required: true
product_name: # instead of vnf_product_name | Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VnfVirtualLink |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VnfVirtualLink:
derived_from: tosca.nodes.Root
properties:
connectivity_type:
type: tosca.datatypes.nfv.ConnectivityTypestring
required: true
description:software_version: # instead of vnf_software_version
type: string
required: falsetrue
test_access:
type: list
entry_schema:product_info_name: # instead of vnf_product_info_name
type: string
required: false
vlproduct_info_profile:description: # instead of vnf_product_info_description
type: tosca.datatypes.nfv.VlProfilestring
required: true
capabilities:false
monitoringvnfm_parameterinfo:
type: tosca.capabilities.nfv.Metriclist
occurrences: [0,UNBOUND]
virtual_linkable:
entry_schema:
type: tosca.capabilities.nfv.VirtualLinkable | Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VDU.Composition |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VDU.Composition:
derived_from: tosca.nodes.root
properties:
name:
type: string
required: true
localization_languages:
type: list
entry_schema:
type: string
required: truefalse
descriptiondefault_localization_language:
type: string
required: truefalse
bootconfigurable_orderproperties:
type: list tosca.datatypes.nfv.VnfConfigurableProperties
entry_schemarequired: false
type: stringmodifiable_attributes:
required: false
nfvi_constraints:type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
typerequired: list
false # true in entry_schema:
type: string
required: IFA011, but all of members are false. Align with the IM, it is false
configurableflavour_propertiesid:
type: mapstring
required: true entry_schema:
flavour_description:
type: tosca.datatypes.nfv.VnfcConfigurablePropertiesstring
required: true
capabilities:
virtual# monitoring_computeparameter:
type: tosca.capabilities.nfv.VirtualCompute
virtual_storage:
type: tosca.capabilities.nfv.VirtualStorage
occurrences: [0,UNBOUNDED]# modelled as ad hoc capabilities in the VNF node template
requirements:
- virtual_link:
capability: tosca.capabilities.nfv.VirtualLinkable
relationship: tosca.relationships.nfv.VirtualLinksTo
node: tosca.nodes.nfv.VnfVirtualLinkDesc VnfVirtualLink
occurrences: [1 0, UNBOUNDED ]
interfaces:
Nfv:
type: tosca.interfaces.nfv.vnf.lifecycle.Nfv |
|