Mapping between NFV model and TOSCA Shitao li
Mapping between NFV model and TOSCA Shitao li (huawei) Matt Rutkowski (IBM) John Crandall (Brocade)
NFV model Definition of VDU in NFV 003 The NFV model of VDU and VNFD are fully aligned with TOSCA composition concept. 2020/10/25 2
Vdu concept From the infrastructure point of view VDU 2020/10/25 = CP VM CP +image Virtual storage +image 3
Vdu concept In IFA model In tosca VDU CP VM CP In UML model, this means composition (Vdu. Cpd, Virtual. Conpute. Desc and Virtual. Storage. Desc belong to VDU) 2020/10/25 +image Virtual storage +image In TOSCA, node templates are the components of a service template. This is a usual way in TOSCA to describe composition. 4
Proposal VDU cap property internal. Cpd req property virtual. Compute Description Vdu. Cpd input Virtual. Storage. Descriptor Virtual. Compute. Descriptor req Virtual. Linkable input virtual. Storage Descriptor. Block cap Nfv_compute req cap Attaches. To Virtual. Bindable req Virtual. Binds. To virtual. Storage Descriptor. Object Attachment req 2020/10/25 cap Substitution mappings Attachment Connect Virtual. Storage. Descriptor Virtual. Bindable artifact sw. Image. Descriptor Connects. To cap Connect 5
Attributes of the VNFD information element Attribute vnfd. Id M 1 Content Identifier vnf. Provider vnf. Product. Name vnf. Software. Version M M M 1 1 1 String Version vnfd. Version vnf. Product. Info. Name vnf. Product. Info. Description vnfm. Info localization. Language default. Localization. Language M M M 1 0. . 1 1. . N 0. . 1 Version String Not specified vdu virtual. Compute. Desc virtual. Storage. Desc int. Virtual. Link. Desc M M 1. . N 0. . N Vdu Virtual. Compute. Desc Virtual. Storage. Desc Vnf. Virtual. Link. Desc vnf. Ext. Cpd deployment. Flavour configurable. Properties M M M 1. . N 0. . 1 modifiable. Attributes M 1 life. Cycle. Management. Script M 0. . N element. Group vnf. Indicator auto. Scale M M M 0. . N Vnf. Ext. Cpd Vnf. Df Vnf. Configurable. Prope rties Vnf. Info. Modifiable. Attrib utes Life. Cycle. Management Script Vnfd. Element. Group Vnf. Indicator Rule 2020/10/25 Qualifier Cardinality Attributes of the Vdu information element Attribute Qualifie r M M M Cardinality M 0. . N boot. Order M 0. . N sw. Image. Desc M 0. . 1 nfvi. Constraint M monitoring. Parameter M 0. . N configurable. Properti es 1 vdu. Id name description int. Cpd virtual. Compute. Desc 1 1. . N 1 reference virtual. Storage. Desc reference M Content Identifier String Vdu. Cpd Identifier (reference to Virtual. Comp ute. Desc) Identifier (reference to Virtual. Storag e. Desc) Key. Value. Pai r Sw. Image. Des c String Monitoring. Pa rameter Vnfc. Configur able. Propertie s 6
Mapping between VNFD model defined in NFV and TOSCA Attribute Qualifier Cardinality vnfd. Id vnf. Provider vnf. Product. Name vnf. Software. Version vnfd. Version vnf. Product. Info. Name vnf. Product. Info. Description vnfm. Info localization. Language default. Localization. Language vdu M M M 1 1 1 0. . 1 1. . N Content Identifier String Version String Not specified Vdu TOSCA model virtual. Compute. Desc M 0. . N Virtual. Compute. Desc Node template (corresponding note type is defined by a service template) Data type in DSL_definition virtual. Storage. Desc M 0. . N Virtual. Storage. Desc Data type in DSL_definition int. Virtual. Link. Desc M 0. . N Vnf. Virtual. Link. Desc Node template vnf. Ext. Cpd deployment. Flavour configurable. Properties M M M 1. . N 0. . 1 Vnf. Ext. Cpd Vnf. Df Vnf. Configurable. Properties Node type ? modifiable. Attributes M 1 Vnf. Info. Modifiable. Attributes properties life. Cycle. Management. Script M 0. . N Life. Cycle. Management. Script interface element. Group vnf. Indicator auto. Scale M M M 0. . N Vnfd. Element. Group Vnf. Indicator Rule Group Metadata or properties Metadata or properties Metadata or properties Properties or attributes Properties or policy
Mapping between VDU model defined in NFV and TOSCA Attribute vdu. Id name description int. Cpd virtual. Compute. Desc Qualifier M M M Cardinality Content TOSCA Model Metadata or properties Node type 1 1. . N 1 Identifier String Vdu. Cpd Identifier (reference to Virtual. Compute. Desc) virtual. Storage. Desc M 0. . N Identifier (reference to Virtual. Storage. Desc) Node type boot. Order sw. Image. Desc nfvi. Constraint monitoring. Parameter M M 0. . N 0. . 1 0. . N Key. Value. Pair Sw. Image. Desc String Monitoring. Parameter properties Artifact properties ? configurable. Properties M 1 Vnfc. Configurable. Properties properties
The definition of Virtual. Compute. Desc in NFV much more align with tosca. capabilities. Compute 2020/10/25 tosca. capabilities. Compute 9
Combining three tables for Virtual. Compute. Desc together 2020/10/25 10
Defining a new capability tosca. capabilities. nfv. Compute. Container 2020/10/25 11
Virtual. Compute. Descriptor note type 2020/10/25 12
Virtual. Storage. Descriptor note type 2020/10/25 13
VDU service template and node type example 2020/10/25 14
2020/10/25 15
Suggestion 1,using a service template to describe a VDU, and using the substitution mapping feature to abstract the VDU to be a new VDU node type. 2, Defining virtual. Compute. Desc and virtual. Storage. Desc in the DSL_definitions section in a VNFD service template, so multiple VDUs can reference the same virtual. Compute. Desc or virtual. Storage. Desc. 3, Defining sw. Image. Desc as a artifact in a VDU.
Thank you! 2020/10/25 17
If substitution mapping is not used VL VDU 1 Internal. Cpd Virtual. Compute. Desc attachs. To Virtual. Storage. Desc 2020/10/25 VDU 2 attachs. To Virtual. Storage. Desc 18
In NFV, VDU is the smallest unit of VNF, for VNF lifecycle management, it has to based on VDU level, all the lifecycle management operation can not directly target to virtual. Compute. Desc or virtual. Storage. Desc. E. g. Scaling should based on VDU, adding or delete VDU instances (VNFCs). 2020/10/25 19
Remaining issues Issue: In TOSCA, only compute node can contain an artifact. We don’t have the mechanism to describe how to store a software image into a virtual storage. Proposal: Option 1: allow virtual storage to have an artifact. 2020/10/25 20
- Slides: 20