...
Mapping of ETSI Information NS-related Elements with TOSCA types
- For E2E (OSS Service) modeling, use org.openecomp.resource.abstract.nodes.service
- E2E (OSS Service-Level) is outside of ETSI scope, and it could be ONAP-specific that is orchestrated by ONAP SO
- The E2E model references/includes associated NSs
- For NS modeling, use tosca.nodes.nfv.NS
- ONAP SO-NFVO, VFC and external NFVO manage the NS models and packages
Questions:
- openecomp-sdc-enrichement-lib > openecomp-sdc-enrichement-impl
- openecomp vs. openecomp-heat vs. tosca
- The following diagram depicts ONAP ETSI-Alignment Modeling hierarchy.
Gliffy Diagram |
---|
size | 1200 |
---|
name | ONAP ETSI-Alignment Models |
---|
pagePin | 2 |
---|
|
Mapping between SOL001 Data Model and SDC AID DM
The following summarizes the mapping between two models:
SOL001 VNF | SDC AID DM | comments |
---|
N/A | org.openecomp.resource.abstracts.nodes.service | represents OSS Service models |
org. |
SDC: nfv-types | SDC: heat-types | ETSI NFV IE | SDC Descriptor / SOL001 | TOSCA Type | Derived from | SDC Descriptor | TOSCA Type | Derived from |
---|
NSD | nodes.yml / SOL001 | tosca.nodes.nfv.NS | tosca.nodes.nfv. |
RootGeneric_Service.yml![(question)](/s/z10khv/8804/xgjkrn/_/images/icons/emoticons/help_16.svg) | org.openecomp.resource.abstract.nodes.service
(use it for NS)NS | NS; use of SOL001 as SDC AID DM NS |
tosca.nodes.nfv.NsVirtualLink | tosca.nodes.nfv.NsVirtualLink | NS VirtualLink; use of SOL001 as SDC AID DM VL |
tosca.nodes. |
RootNSDymlVnf | org.openecomp.resource. |
vfcNSDtoscanodesRootN/A | SapD | SOL001Saptoscanodes.RootNsVirtualLinkDesc | SOL001 | toscanfv.NsVirtualLink(there is VFC | VDU and SDC VFC |
tosca.nodes.nfv. |
VnfVirtualLink)tosca.nodes.Root | vl.ymlVirtualLink | org.openecomp. |
resource.networkNetworkextVl.yml | resourcevl.extVLtosca.nodes.Root | internalVl.ymlcp | VDU CP |
N/A | org.openecomp.resource. |
vl.internalVLallottedResource |
|
tosca.nodes. |
networkNetworkextZteVL.yml | toscaPnf | org.openecomp.resource.abstract.nodes.PNF | PNF |
|
|
|
Current SDC Resource Models
SDC: nfv-types |
| SDC: heat-types |
ETSI NFV IE | SDC Descriptor / SOL001 | TOSCA Type | Derived from | SDC Descriptor | TOSCA Type | Derived from |
---|
NSD | nodes.yml / SOL001 | nfv.ext.zte.VLtosca.nodes.Root | Pnfd | tosca.nodes.nfv.PNFNS | tosca.nodes.Root | Generic_PNFService.yml![(question)](/s/z10khv/8804/xgjkrn/_/images/icons/emoticons/help_16.svg) | org.openecomp.resource.abstract.nodes. PNFservice (use it for both E2E (OSS Service) and NS) | tosca.nodes.Root | Vnfd |
VNFNSD.yml | toscaorg.nodesopenecomp.nfvresource.vfc.VNFNSD | tosca.nodes.Root | Generic_VF.yml | org.openecomp.resource.abstract.nodes.VF | N/A |
|
|
SapD | SOL001 | tosca.nodes.nfv.Sap | tosca.nodes.Root |
|
|
|
NsVirtualLinkDesc | SOL001 | tosca.nodes.nfv. | RootNsVirtualLink (there is | Vnffgd | tosca. groupsnodes.nfv. VNFFGVnfVirtualLink) | tosca.groupsnodes.Root | forwardingPathvl.yml(?) | org.openecomp.resource.vl.VL | tosca.nodes.network.Network |
|
|
| extVl.yml | org.openecomp.resource.vl.extVL.ForwardingPath | tosca.nodes.Root |
NSD Mapping to SDC AID DM
Initial Input
NSD Mapping to SDC AID DM
A benefit of mapping an onboarded ETSI NS to the internal representation of an ONAP Service is that the ETSI NS can access the standard ONAP runtime functionality implemented or planned for support of ONAP Services.
SOL001 NSD mapping to/from NS SDC AID DM
...
|
|
| internalVl.yml | org.openecomp.resource.vl.internalVL | tosca.nodes.network.Network |
extZteVL.yml | tosca.nodes.nfv.ext.zte.VL | tosca.nodes.Root |
|
|
|
Pnfd |
| tosca.nodes.nfv.PNF | tosca.nodes.Root | Generic_PNF.yml |
...
...
...
PNF | tosca.nodes.Root |
Vnfd | VNF.yml |
...
- SDC generates SOL001 tosca.nodes.nfv.NSD node type
- SDC takes SOL001 NSD with tosca.nodes.nfv.NSD node type as is, without mapping; i.e., no mapping is necessary
- ONAP SO NFVO uses the SOL001 NSD
- VFC needs to use the SOL001 NSD
- There could be some impact on VID and ONAP SO Catalog DB for the SOL001 NSD - to be analyzed.
...
- SDC generates SOL001 tosca.nodes.nfv.NSD node type, and uses it as SDC AID DM.
.VNF | tosca.nodes.Root | Generic_VF.yml | org.openecomp.resource.abstract.nodes.VF | tosca.nodes.Root |
Vnffgd |
| tosca.groups.nfv.VNFFG | tosca.groups.Root | forwardingPath.yml(?) | org.openecomp.nodes.ForwardingPath | tosca.nodes.Root |
|
|
|
|
|
|
|
NSD Mapping to SDC AID DM
Initial Input
NSD Mapping to SDC AID DM
A benefit of mapping an onboarded ETSI NS to the internal representation of an ONAP Service is that the ETSI NS can access the standard ONAP runtime functionality implemented or planned for support of ONAP Services.
SOL001 NSD mapping to/from NS SDC AID DM
- ONAP previous analysis
- The SDC NSD node type, org.openecom.resource.vfc.NSD, is modeled as a component of a VF to represent an allotted resource. But, it is not derived from the
SOL001 NS
...
SDC NSD
- org.openecomp.resource.vfc.AllottedResource, either.
- The SDC NSD might be designed for Volte use case support, and used by the VFC.
- It is recommended to deprecate the current SDC NSD node type, and to replace with SOL001 tosca.nodes.nfv.NSD node type.
- Solutions
- SDC generates SOL001 tosca.nodes.nfv.NSD node type
- SDC takes SOL001 NSD with tosca.nodes.nfv.NSD node type as is, without mapping; i.e., no mapping is necessary
- ONAP SO NFVO uses the SOL001 NSD
- VFC needs to use the SOL001 NSD
- There could be some impact on VID and ONAP SO Catalog DB for the SOL001 NSD - to be analyzed.
- Guilin Decisions
- SDC generates SOL001 tosca.nodes.nfv.NSD node type, and uses it as SDC AID DM.
SOL001 NS
SOL001 NS (tosca.nodes.nfv.NS) - Chosen
|
| SDC NSD org.openecomp.resource.vfc.NSD |
---|
name | required | type |
| name | required | type |
descriptor_id | yes | string |
| nsd_id | true | string |
designer | yes | string |
| nsd_designer | true | string |
version | yes | string |
| nsd_version | true | string |
name | yes | string |
| name | required | type | name | required | type | descriptor_id | yes | string | nsd_id | true | string | designer | yes | string | nsd_designer | true | string | version | yes | string | nsd_version | true | string | name | yes | string | nsd_name | true | string |
invariant_id | yes | string |
| providing_service_uuid | true | string |
flavor_id | yes | string |
| providing_service_invariant_uuid | true | string |
ns_profile | no | tosca.datatypes.nfv.NsProfile |
| providing_service_name | true | string |
...
Define a new data type based on the tosca.nodes.nfv.VNF with optional attributes that are specific to ONAP.
...
.
...
Proposal A
- Make the org.openecomp.resource.abstract.nodes.ETSI.VNF a superset of both tosca.nodes.nfv.VNF and org.openecomp.resource.abstract.node.VF
...