diff options
-rw-r--r-- | docs/Chapter5.rst | 822 |
1 files changed, 12 insertions, 810 deletions
diff --git a/docs/Chapter5.rst b/docs/Chapter5.rst index 5fae0ce..223f57f 100644 --- a/docs/Chapter5.rst +++ b/docs/Chapter5.rst @@ -128,7 +128,8 @@ The main parts of the VNFD are the following: The following table defines the TOSCA Type “derived from” values that SHALL be used when using the TOSCA Simple Profile for NFV version 1.0 -specification [TOSCA-Simple-Profile-NFV-v1.0] for NFV VNFD. +specification [TOSCA-Simple-Profile-NFV-v1.0] for NFV VNFD with aggreed +changes from ETSI SOL001 draft. +---------------------+------------------------------------+-----------------+ | **ETSI NFV Element**| **TOSCA VNFD** | **Derived from**| @@ -137,23 +138,18 @@ specification [TOSCA-Simple-Profile-NFV-v1.0] for NFV VNFD. +=====================+====================================+=================+ | VNF | tosca.nodes.nfv.VNF | tosca.nodes.Root| +---------------------+------------------------------------+-----------------+ -| VDU | tosca.nodes.nfv.VDU | tosca.nodes.Root| +| Cpd (Connection | tosca.nodes.nfv.Cp | tosca.nodes.Root| +| Point) | tosca.nodes.nfv.Cp | tosca.nodes.Root| +---------------------+------------------------------------+-----------------+ -| Cpd (Connection | tosca.nodes.nfv.Cpd | tosca.nodes.Root| -| Point) | tosca.nodes.nfv.Cpd | tosca.nodes.Root| +| VduCpd (internal | tosca.nodes.nfv.VduCp | tosca.nodes.\ | +| connection point) | | nfv.Cp | +---------------------+------------------------------------+-----------------+ -| VduCpd (internal | tosca.nodes.nfv.VduCpd | tosca.nodes.\ | -| connection point) | | nfv.Cpd | -+---------------------+------------------------------------+-----------------+ -| VnfVirtualLinkDesc | tosca.nodes.nfv.VnfVirtualLinkDesc | tosca.nodes.Root| +| VnfVirtualLinkDesc | tosca.nodes.nfv.VnfVirtualLink | tosca.nodes.Root| | (Virtual Link) | | | +---------------------+------------------------------------+-----------------+ -| VnfExtCpd (External | tosca.nodes.nfv.VnfExtCpd | tosca.nodes.Root| -| Connection Point) | | | -+---------------------+------------------------------------+-----------------+ -| Virtual Storage | | | +| VDU Virtual Storage | tosca.nodes.nfv.VDU.VirtualStorage | tosca.nodes.Root| +---------------------+------------------------------------+-----------------+ -| Virtual Compute | | | +| VDU Virtual Compute | tosca.nodes.nfv.VDU.Compute | tosca.nodes.Root| +---------------------+------------------------------------+-----------------+ | Software Image | | | +---------------------+------------------------------------+-----------------+ @@ -419,73 +415,7 @@ NFV TOSCA Type Definition tosca.capabilites.nfv.VirtualCompute ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -+---------------------------+-----------------------------------------+ -| **Shorthand Name** | VirtualCompute | -+===========================+=========================================+ -| **Type Qualified Name** | tosca: VirtualCompute | -+---------------------------+-----------------------------------------+ -| **Type URI** | tosca.capabilities.nfv.VirtualCompute | -+---------------------------+-----------------------------------------+ -| **derived from** | tosca.nodes.Root | -+---------------------------+-----------------------------------------+ - -Properties -+++++++++++ - -+---------------+---------+---------------+------------+----------------------+ -| Name | Required| Type | Constraints| Description | -+===============+=========+===============+============+======================+ -| request\ | No | tosca.\ | | Describes additional | -| _additional\ | | datatypes.\ | | capability for a | -| _capabilities | | nfv.Requested\| | particular VDU. | -| | | Additional\ | | | -| | | Capability | | | -+---------------+---------+---------------+------------+----------------------+ -| virtual\ | yes | tosca.\ | | Describes virtual | -| _memory | | datatypes.\ | | memory of the | -| | | nfv.Virtual\ | | virtualized compute. | -| | | Memory | | | -+---------------+---------+---------------+------------+----------------------+ -| virtual\ | yes | tosca.\ | | Describes virtual | -| _cpu | | datatypes.\ | | CPU(s) of the | -| | | nfv.Virtual\ | | virtualized compute. | -| | | Cpu | | | -+---------------+---------+---------------+------------+----------------------+ -| name | yes | | | | -+---------------+---------+---------------+------------+----------------------+ - -Definition -+++++++++++ - -+-----------------------------------------------------------+ -| tosca.capabilities.nfv.VirtualCompute: | -| | -| derived\_from: tosca.capabilities.Root | -| | -| properties: | -| | -| requested\_additional\_capabilities: | -| | -| type: map | -| | -| entry\_schema: | -| | -| type: tosca.datatypes.nfv.RequestedAdditionalCapability | -| | -| required: false | -| | -| virtual\_memory: | -| | -| type: tosca.datatypes.nfv.VirtualMemory | -| | -| required: true | -| | -| virtual\_cpu: | -| | -| type: tosca.datatypes.nfv.VirtualCpu | -| | -| required: true | -+-----------------------------------------------------------+ +This capability is used with the properties specified in ETSI SOL001 draft. tosca.nodes.nfv.VDU.Compute ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -688,6 +618,8 @@ Definition Artifact ++++++++++ +Note: currently not supported. + +--------+---------+----------------+------------+------------------------+ | Name | Required| Type | Constraints| Description | +========+=========+================+============+========================+ @@ -702,190 +634,6 @@ Artifact -tosca.nodes.nfv.Cpd -~~~~~~~~~~~~~~~~~~~~~ - -The TOSCA Cpd node represents network connectivity to a compute resource -or a VL as defined by [ETSI GS NFV-IFA 011]. This is an abstract type -used as parent for the various Cpd types. - -+-----------------------+-----------------------+ -| Shorthand Name | Cpd | -+=======================+=======================+ -| Type Qualified Name | tosca:Cpd | -+-----------------------+-----------------------+ -| Type URI | tosca.nodes.nfv.Cpd | -+-----------------------+-----------------------+ - - -Attributes -+++++++++++ - -+--------+------------+--------+---------------+---------------+ -| Name | Required | Type | Constraints | Description | -+========+============+========+===============+===============+ -+--------+------------+--------+---------------+---------------+ - -Requirements -+++++++++++++ - -None - -Capabilities -+++++++++++++ - -None - -Definition -+++++++++++ - -+----------------------------------------------------------------------+ -| tosca.nodes.nfv.Cpd: | -| | -| derived\_from: tosca.nodes.Root | -| | -| properties: | -| | -| layer\_protocol: | -| | -| type:string | -| | -| 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:flase | -| | -| description: | -| | -| type: string | -| | -| required: false | -| | -| address\_data: | -| | -| type: list | -| | -| entry\_schema: | -| | -| type: tosca.datatype.nfv.AddressData | -| | -| required:false | -+----------------------------------------------------------------------+ - -Additional Requirement -+++++++++++++++++++++++ - -None. - -tosca.nodes.nfv.VduCpd -~~~~~~~~~~~~~~~~~~~~~~~ - -The TOSCA node VduCpd represents a type of TOSCA Cpd node and describes -network connectivity between a VNFC instance (based on this VDU) and an -internal VL as defined by [ETSI GS NFV-IFA 011]. - -+-----------------------+--------------------------+ -| Shorthand Name | VduCpd | -+=======================+==========================+ -| Type Qualified Name | tosca: VduCpd | -+-----------------------+--------------------------+ -| Type URI | tosca.nodes.nfv.VduCpd | -+-----------------------+--------------------------+ - -Properties -+++++++++++ - - -+-----------------+---------+---------------+------------+--------------------+ -| Name | Required| Type | Constraints| Description | -+=================+=========+===============+============+====================+ -| bitrate\ | no | integer | | Bitrate requirement| -| _requirement | | | | on this connection | -| | | | | point. | -+-----------------+---------+---------------+------------+--------------------+ -| virtual\ | | Virtual\ | | Specifies | -| _network\ | no | Network\ | | requirements on a | -| _interface_\ | | Interface\ | | virtual network | -| requirements | | Requirements\ | | realising the CPs | -| | | | | instantiated from | -| | | | | this CPD | -+-----------------+---------+---------------+------------+--------------------+ - -Attributes -+++++++++++ - -None - -Requirements -+++++++++++++ - -+----------+---------+--------------------+------------+----------------------+ -| Name | Required| Type | Constraints| Description | -+==========+=========+====================+============+======================+ -| virtual\ | yes | tosca.\ | | Describe the | -| _binding | | capabilities.nfv.\ | | requirement for | -| | | VirtualBindable\ | | binding with VDU | -+----------+---------+--------------------+------------+----------------------+ -| virtual\ | no | tosca.\ | | Describes the | -| _link | | capabilities.nfv.\ | | requirements for | -| | | VirtualLinkable | | linking to virtual | -| | | | | link | -+----------+---------+--------------------+------------+----------------------+ - -Definition -+++++++++++ - -+----------------------------------------------------------------+ -| tosca.nodes.nfv.VduCpd: | -| | -| derived\_from: tosca.nodes.nfv.Cpd | -| | -| properties: | -| | -| bitrate\_requirement: | -| | -| type: integer | -| | -| required:false | -| | -| virtual\_network\_interface\_requirements | -| | -| type: list | -| | -| entry\_schema: | -| | -| type: VirtualNetworkInterfaceRequirements | -| | -| required:false | -| | -| requirements: | -| | -| - virtual\_link: | -| | -| capability: tosca.capabilities.nfv.VirtualLinkable | -| | -| relationship: tosca.relationships.nfv.VirtualLinksTo | -| | -| node: tosca.nodes.nfv.VnfVirtualLinkDesc - virtual\_binding: | -| | -| capability: tosca.capabilities.nfv.VirtualBindable | -| | -| relationship: tosca.relationships.nfv.VirtualBindsTo | -| | -| node: tosca.nodes.nfv.VDU | -+----------------------------------------------------------------+ - tosca.nodes.nfv.VDU.VirtualStorage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1061,552 +809,6 @@ Definition | required: false | +-----------------------------------------------------+ -vNAT Example -^^^^^^^^^^^^^ - -openovnf\_\_vOpenNAT.yaml -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -+-------------------------------------------------------------+ -| imports: | -| | -| - openonfv\_\_tosca.capabilities.Scalable.yaml | -| | -| - openonfv\_\_tosca.capabilities.nfv.Metric.yaml | -| | -| - openonfv\_\_tosca.capabilities.network.Bindable.yaml | -| | -| - openonfv\_\_tosca.capabilities.Attachment.yaml | -| | -| - openonfv\_\_tosca.capabilities.nfv.VirtualBindable.yaml | -| | -| - openonfv\_\_tosca.requirements.nfv.VirtualStorage.yaml | -| | -| - openonfv\_\_tosca.nodes.nfv.VDU.VirtualStorage.yaml | -| | -| - openonfv\_\_tosca.relationships.nfv.VirtualBindsTo.yaml | -| | -| - openonfv\_\_tosca.nodes.nfv.VDU.Compute.yaml | -| | -| - openonfv\_\_tosca.artifacts.nfv.SwImage.yaml | -| | -| - openonfv\_\_tosca.capabilities.nfv.VirtualCompute.yaml | -| | -| - openonfv\_\_tosca.capabilities.Container.yaml | -| | -| - openonfv\_\_tosca.capabilities.nfv.VirtualStorage.yaml | -| | -| - openonfv\_\_tosca.requirements.nfv.VirtualBinding.yaml | -| | -| - openovnf\_\_tosca.nodes.nfv.VNF.vOpenNAT.yaml | -| | -| - openonfv\_\_tosca.capabilities.Endpoint.Admin.yaml | -| | -| - openonfv\_\_tosca.capabilities.OperatingSystem.yaml | -| | -| - openonfv\_\_tosca.nodes.nfv.VduCpd.yaml | -| | -| - openonfv\_\_tosca.relationships.nfv.VDU.AttachedTo.yaml | -| | -| metadata: | -| | -| vnfProductName: openNAT | -| | -| vnfdVersion: 1.0.0 | -| | -| vnfProvider: intel | -| | -| vnfmInfo: GVNFM | -| | -| csarVersion: 1.0.0 | -| | -| vnfdId: openNAT-1.0 | -| | -| csarProvider: intel | -| | -| vnfProductInfoDescription: openNAT | -| | -| version: 1.0.0 | -| | -| csarType: NFAR | -| | -| vendor: intel | -| | -| localizationLanguage: '[english, chinese]' | -| | -| id: openNAT-1.0 | -| | -| defaultLocalizationLanguage: english | -| | -| vnfProductInfoName: openNAT | -| | -| vnfSoftwareVersion: 1.0.0 | -| | -| topology\_template: | -| | -| node\_templates: | -| | -| vdu\_vNat: | -| | -| artifacts: | -| | -| vNatVNFImage: | -| | -| file: /swimages/xenial-snat.qcow2 | -| | -| type: tosca.artifacts.nfv.SwImage | -| | -| properties: | -| | -| name: vNatVNFImage | -| | -| version: "1.0" | -| | -| checksum: "5000" | -| | -| container\_format: bare | -| | -| disk\_format: qcow2 | -| | -| min\_disk: 10 GB | -| | -| min\_ram: 1 GB | -| | -| size: 10 GB | -| | -| sw\_image: /swimages/xenial-snat.qcow2 | -| | -| operating\_system: unbantu | -| | -| attributes: | -| | -| tosca\_name: vdu\_vNat | -| | -| capabilities: | -| | -| virtual\_compute: | -| | -| properties: | -| | -| virtual\_memory: | -| | -| numa\_enabled: true | -| | -| virtual\_mem\_size: 2 GB | -| | -| requested\_additional\_capabilities: | -| | -| numa: | -| | -| support\_mandatory: true | -| | -| requested\_additional\_capability\_name: numa | -| | -| target\_performance\_parameters: | -| | -| hw:numa\_nodes: "2" | -| | -| hw:numa\_cpus.0: "0,1" | -| | -| hw:numa\_mem.0: "1024" | -| | -| hw:numa\_cpus.1: "2,3,4,5" | -| | -| hw:numa\_mem.1: "1024" | -| | -| hyper\_threading: | -| | -| support\_mandatory: true | -| | -| requested\_additional\_capability\_name: hyper\_threading | -| | -| target\_performance\_parameters: | -| | -| hw:cpu\_sockets : "2" | -| | -| hw:cpu\_threads : "2" | -| | -| hw:cpu\_cores : "2" | -| | -| hw:cpu\_threads\_policy: "isolate" | -| | -| ovs\_dpdk: | -| | -| support\_mandatory: true | -| | -| requested\_additional\_capability\_name: ovs\_dpdk | -| | -| target\_performance\_parameters: | -| | -| sw:ovs\_dpdk: "true" | -| | -| virtual\_cpu: | -| | -| cpu\_architecture: X86 | -| | -| num\_virtual\_cpu: 2 | -| | -| properties: | -| | -| configurable\_properties: | -| | -| test: | -| | -| additional\_vnfc\_configurable\_properties: | -| | -| aaa: 1 | -| | -| name: vNat | -| | -| descrption: the virtual machine of vNat | -| | -| boot\_order: | -| | -| - vNAT\_Storage | -| | -| requirements: | -| | -| - virtual\_storage: | -| | -| capability: virtual\_storage | -| | -| node: vNAT\_Storage | -| | -| relationship: | -| | -| properties: | -| | -| location: /mnt/volume\_0 | -| | -| type: tosca.relationships.nfv.VDU.AttachedTo | -| | -| - local\_storage: | -| | -| node: tosca.nodes.Root | -| | -| type: tosca.nodes.nfv.VDU.Compute | -| | -| SRIOV\_Port: | -| | -| attributes: | -| | -| tosca\_name: SRIOV\_Port | -| | -| properties: | -| | -| virtual\_network\_interface\_requirements: | -| | -| - name: sriov | -| | -| support\_mandatory: false | -| | -| description: sriov | -| | -| requirement: | -| | -| SRIOV: true | -| | -| role: root | -| | -| description: sriov port | -| | -| layer\_protocol: ipv4 | -| | -| requirements: | -| | -| - virtual\_binding: | -| | -| capability: virtual\_binding | -| | -| node: vdu\_vNat | -| | -| relationship: | -| | -| type: tosca.relationships.nfv.VirtualBindsTo | -| | -| - virtual\_link: | -| | -| node: tosca.nodes.Root | -| | -| type: tosca.nodes.nfv.VduCpd | -| | -| vNAT\_Storage: | -| | -| attributes: | -| | -| tosca\_name: vNAT\_Storage | -| | -| properties: | -| | -| id: vNAT\_Storage | -| | -| size\_of\_storage: 10 GB | -| | -| rdma\_enabled: false | -| | -| type\_of\_storage: volume | -| | -| type: tosca.nodes.nfv.VDU.VirtualStorage | -| | -| substitution\_mappings: | -| | -| requirements: | -| | -| sriov\_plane: | -| | -| - SRIOV\_Port | -| | -| - virtual\_link | -| | -| node\_type: tosca.nodes.nfv.VNF.vOpenNAT | -| | -| tosca\_definitions\_version: tosca\_simple\_yaml\_1\_0 | -+-------------------------------------------------------------+ - -openonfv\_\_tosca.nodes.nfv.VDU.VirtualStorage.yaml -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -+------------------------------------------------------------+ -| imports: | -| | -| - openonfv\_\_tosca.capabilities.nfv.VirtualStorage.yaml | -| | -| node\_types: | -| | -| tosca.nodes.nfv.VDU.VirtualStorage: | -| | -| capabilities: | -| | -| virtual\_storage: | -| | -| type: tosca.capabilities.nfv.VirtualStorage | -| | -| derived\_from: tosca.nodes.Root | -| | -| properties: | -| | -| id: | -| | -| type: string | -| | -| size\_of\_storage: | -| | -| type: string | -| | -| rdma\_enabled: | -| | -| required: false | -| | -| type: boolean | -| | -| type\_of\_storage: | -| | -| type: string | -| | -| tosca\_definitions\_version: tosca\_simple\_yaml\_1\_0 | -+------------------------------------------------------------+ - -openonfv\_\_tosca.nodes.nfv.VduCpd.yaml -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -+-----------------------------------------------------------------+ -| data\_types: | -| | -| tosca.datatypes.nfv.L3AddressData: | -| | -| properties: | -| | -| number\_of\_ip\_address: | -| | -| required: false | -| | -| type: integer | -| | -| ip\_address\_assignment: | -| | -| type: boolean | -| | -| ip\_address\_type: | -| | -| constraints: | -| | -| - valid\_values: | -| | -| - ipv4 | -| | -| - ipv6 | -| | -| required: false | -| | -| type: string | -| | -| floating\_ip\_activated: | -| | -| type: string | -| | -| tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements: | -| | -| properties: | -| | -| name: | -| | -| required: false | -| | -| type: string | -| | -| support\_mandatory: | -| | -| type: boolean | -| | -| description: | -| | -| required: false | -| | -| type: string | -| | -| requirement: | -| | -| entry\_schema: | -| | -| type: string | -| | -| type: map | -| | -| tosca.datatype.nfv.AddressData: | -| | -| properties: | -| | -| address\_type: | -| | -| constraints: | -| | -| - valid\_values: | -| | -| - mac\_address | -| | -| - ip\_address | -| | -| type: string | -| | -| l2\_address\_data: | -| | -| required: false | -| | -| type: tosca.datatypes.nfv.L2AddressData | -| | -| l3\_address\_data: | -| | -| required: false | -| | -| type: tosca.datatypes.nfv.L3AddressData | -| | -| tosca.datatypes.nfv.L2AddressData: {} | -| | -| imports: | -| | -| - openonfv\_\_tosca.requirements.nfv.VirtualBinding.yaml | -| | -| - openonfv\_\_tosca.requirements.nfv.VirtualBinding.yaml | -| | -| node\_types: | -| | -| tosca.nodes.nfv.VduCpd: | -| | -| derived\_from: tosca.nodes.Root | -| | -| properties: | -| | -| virtual\_network\_interface\_requirements: | -| | -| entry\_schema: | -| | -| type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements | -| | -| required: false | -| | -| type: list | -| | -| role: | -| | -| constraints: | -| | -| - valid\_values: | -| | -| - root | -| | -| - leaf | -| | -| required: false | -| | -| type: string | -| | -| bitrate\_requirement: | -| | -| required: false | -| | -| type: integer | -| | -| description: | -| | -| required: false | -| | -| type: string | -| | -| layer\_protocol: | -| | -| constraints: | -| | -| - valid\_values: | -| | -| - ethernet | -| | -| - mpls | -| | -| - odu2 | -| | -| - ipv4 | -| | -| - ipv6 | -| | -| - pseudo\_wire | -| | -| type: string | -| | -| address\_data: | -| | -| entry\_schema: | -| | -| type: tosca.datatype.nfv.AddressData | -| | -| required: false | -| | -| type: list | -| | -| requirements: | -| | -| - virtual\_binding: | -| | -| capability: tosca.capabilities.nfv.VirtualBindable | -| | -| occurrences: | -| | -| - 0 | -| | -| - UNBOUNDED | -| | -| - virtual\_link: | -| | -| capability: tosca.capabilities.nfv.VirtualBindable | -| | -| occurrences: | -| | -| - 0 | -| | -| - UNBOUNDED | -| | -| tosca\_definitions\_version: tosca\_simple\_yaml\_1\_0 | -+-----------------------------------------------------------------+ - .. |image1| image:: Image1.png :width: 5.76806in :height: 4.67161in |