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:
#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: 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 of VnfcConfigurableProperties is 1, not a map.
entry_schema:
type: tosca.datatypes.nfv.VnfcConfigurableProperties
required: true
attributes:true
privatevdu_addressprofile:
status: deprecated
public_address:
statustype: deprecated
tosca.datatypes.nfv.VduProfile
networksrequired: 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:
type: tosca.capabilities.nfv.VirtualBindablerequired: false #Aligned with ONAP R2 IM. it should be false.
meta_data: #metadata occurrences: [1, UNBOUND]
#monitoring_parameter:attached to the VM or container
# modeled as ad hoc (named) capabilities in VDU node template
type: map
entry_schema:
# for exampletype: string
#capabilitiesrequired: false
user_data: #cloudinit #userdata cpu_load: tosca.capabilities.nfv.Metricscript support
# memory_usagetype: tosca.capabilities.nfv.Metric
string
hostrequired: false
#Editor note#attributes: NOT FFS.DEFINED HowIN thisONAP capabilitiesIM shouldand beSOL001
used in NFV Profile#private_address:
# type: tosca.capabilities.Containerstatus: deprecated
#public_address:
# valid_source_typesstatus: [tosca.nodes.SoftwareComponent]deprecated
#networks:
occurrences: [0,UNBOUNDED] # status: deprecated
endpoint#ports:
# status: deprecated
occurrencescapabilities:
[0,0] virtual_compute:
ostype: tosca.capabilities.nfv.VirtualCompute
virtual_binding:
occurrences: [0,0] type: tosca.capabilities.nfv.VirtualBindable
scalable: #Editor noteoccurrences: FFS. How this capabilities should be used in NFV Profile [1, UNBOUND]
monitoring_parameter:
type: tosca.capabilities.Scalable
binding:
.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.VDUVdu.AttachedTo
node: tosca.nodes.nfv.VDU.VirtualStorage
occurences: [ 0, UNBOUNDED ]
- local_storage: #For NFV Profile, this requirement is deprecated.
occurrences: [0,0]
artifacts: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
vdu_storage_requirements:
type: map
required: false
rdma_enabled:
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 |
---|
language | xml |
---|
title | tosca.nodes.nfv.CpdCp |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.CpdCp:
derived_from: tosca.nodes.Root
properties:
layer_protocol:
type:string
:list
entry_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:flasefalse
description:
type: string
required: false
address protocol_data:
type: list
entry_schema:
type: tosca.datatype.nfv.AddressData
required:.datatypes.nfv.CpProtocolData
required:true
trunk_mode:
type: boolean
required: true
allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
type: tosca.datatypes.nfv.AddressData # In the IM, it is a array, but here it is not a array. TBD.
required: false |
Code Block |
---|
language | xml |
---|
title | tosca.nodes.nfv.VduCpdVduCp |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VduCpdVduCp:
derived_from: tosca.nodes.nfv.Cpd Cp
properties:
bitrate_requirement:
type: integer
required:false
vnic_name: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
type: string
required:false
vnic_order: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
type: integer
required:false
vnic_type: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
type: string
constraints:
- valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
required:false
virtual_network_interface_requirements:
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.VnfVirtualLinkDescVnfVirtualLink
- virtual_binding:
capability: tosca.capabilities.nfv.VirtualBindable
relationship: tosca.relationships.nfv.VirtualBindsTo
node: tosca.nodes.nfv.Vdu.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 |
---|
languagefirstline | xml1 |
---|
title | tosca.nodes.nfv.VDU.CompositionVNF |
---|
linenumbers | true |
---|
collapse | true |
---|
| tosca.nodes.nfv.VDU.CompositionVNF:
derived_from: tosca.nodes.rootRoot
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
type: string
required: true
software_version: # instead of vnf_software_version
type: string
required: true
product_info_name: # instead of vnf_product_info_name
type: string
required: false
product_info_description: # instead of vnf_product_info_description
type: string
required: truefalse
bootvnfm_orderinfo:
type: list
entry_schema:
type: string
required: falsetrue
nfvilocalization_constraintslanguages:
type: list
entry_schema:
type: string
required: false
default_localization_language:
type: string
required: false
configurable_properties:
type: maptosca.datatypes.nfv.VnfConfigurableProperties
entry_schema:required: false
modifiable_attributes:
type: tosca.datatypes.nfv.VnfcConfigurablePropertiesVnfInfoModifiableAttributes
required: false # true in IFA011, but all of members are false. Align with the IM, it is false
capabilitiesflavour_id:
virtual_computetype: string
typerequired: tosca.capabilities.nfv.VirtualComputetrue
virtualflavour_storagedescription:
type: string
required: tosca.capabilities.nfv.VirtualStorage
occurrences: [0,UNBOUNDED] true
capabilities:
# monitoring_parameter:
# 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 |
|