You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 34 Next »

1. Scope


DESCRIPTION: What do we mean by onboarding? A design time activity that brings "onboard" a resource into ONAP for later use in services. This flow describes the the onboarding of resources into SDC. This can apply to a new resource or an upgraded resource. A resource can be a VNF or PNF. Resources are onboarded into the SDC catalog during design time. This flow will describe what happens when a resource is brought into SDC. A resource in the SDC catalog can then be used in design time to define a service.

WHEN EXECUTED: During Design Time (before Run Time). When SDC Service imports a Resource into the SDC catalog.

PURPOSE: To bring in a VNF or PNF resource into SDC during design time.

INFORMATION PASSED: Vendor provided PNF onboarding package.

ACTORS:

  • Service Designer
  • Operations Specialist
  • SDC (Deployment Studio)

For more information and exploration you can visit the Pre-Onboarding/Onboarding Wiki at: 5G - PNF Pre-Onboarding & Onboarding

OVERVIEW PNF ONBOARDING


 - Types on Onboarding: TOSCA Onboarding, HEAT Onboarding, Manual Onboarding #@#

 - Note: xNF applies only to VNF and PNF (not to ANF - Alloted network function)


Stage view for PNF pre-onboarding/onboarding


PACKAGE DELIVERY - A vendor delivers a package that is to be onboarded. Note: that if you use Manual onboarding in SDC you do not need to have a PNF package.

PRE-ONBOARDING - In VNF-SDK can validate the PNF package (optional).

ONBOARDING - SDC allows you to create a xNF resource without a PNF package (manual onboarding). Before services are created, SDC creates resources. You can (1) use HEAT template, or (2) use TOSCA template, or (3) use a SDC GUI to manually create a resource.


OVERVIEW VNF ONBOARDING


There are 4 options when onboarding for a VNF in R4/Dublin. The first method (SOL004 based VNF onboarding) is new in R4/Dublin, the other methods already exist since R1.


1 SOL004 BASED TOSCA METHOD OF VNF ONBOARDING:

This method of VNF onboarding uses the ETSI SOL004 package specification.

For VNFs, the VNF onboarding procedure should be the same as the PNF onboarding procedure (described above) except testing has not been done yet.


2 HEAT-TEMPLATE BASED VNF ONBOARDING:

In this method, the VNF is onboarded via a vendor-provided HEAT-based package (see diagram below).

The VNF associated artifacts can be added manually added after the VNF is created.


3 TOSCA-BASED VNF ONBOARDING:

In the TOSCA based VNF onboarding procedure the VNF is created from ONAP and adding TOSCA descriptor as an artifact.

Vendor provides package, do on-boarding procedure.

This is a non-ETSI way of onboarding.

In this case, the VNF package is similar to SOL004 but it doesn't have all the keywords.


4 MANUAL VSP ONBOARDING:

A VNF (resource) can also be manually onboarded by creating the VNF resource manually.

In this method, the VSP is created manually (import to VF module), manually create VF module.


A diagram showing the TOSCA method of VNF onboarding



A diagram showing the HEAT Template based method of VNF onboarding


2. Pre-Conditions


ONAP is ready:

  • SDC - SDC is ready to ingest a package. Platform Information & Platform Data model are available.
  • CERTIFICATION STUDIO - The Certification Studio has certified the Package ready for distribution (VNF-SDK)
  • ONAP SOFTWARE - There is an ONAP installation. Software images loaded in OpenStack installation, where instantiation will happen (since no S/W image repository). Need to be available in Target Cloud Instances.

VENDOR deliveries received

  • DESCRIPTOR - Vendor PNF or VNF Descriptor Defined
  • VENDOR xNF PACKAGE - Vendor PNF or VNF Package with associated artifacts Delivered


2.1 xNF ONBOARDING PACKAGE

2.1.1 PNF PACKAGE

Vendors will prepare the Onboarding package (if you are not manually onboarding) The Onboarding Package Contains:

The following shows a diagram of the PNF Onboarding package which must be put together


2.1.2 VNF PACKAGE




A description of the things in the VNF and PNF Onboarding Packages SOL004 TOSCA-based Package (of the above diagrams).

  • PNF DESCRIPTORS (PNFD) - (Instantiation/Design Time) PNFD and VNFD have been mapped to ONAP platform data/information model. That is, the onboarded descriptor models (vendor provided) have been mapped onto ONAP platform data & information models that are useable and known to ONAP. For a RAN PNF these are driven from the ETSI SOL001 standards.
  • TOSCA METADATA - This file provided by the vendor describes the meta-information about the package. Notably it gives the directory location of key files in the package in the package as directory paths.
  • MANIFEST FILE - The Manifest file include basic information about the package itself.
    • metadata with following keynames: pnfd_ provider, pnfd_name, pnfd_release_date_time, pnfd_archive_version
    • a list of all files contained in or referenced from the package with their location, expressed using a Source: location/name key-value pair. 
    • Non-mano-artifact tag: ONAP defined tags
  • VES EVENT REGISTRATION - This file describes all of the VES events that are supported by the PNF. It defines the possible events that the PNF can support, such as faults, heartbeating, pnfRegistration, Performance measurements. These are defined in the VES Event specification document available in the repository. The Event Registration also defines all of the fields that each of these events have to fill in when they send the event, and the details of the VES header also.
  • PM DICTIONARY - Performance Measurements and schema definitions. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • ANSIBLE PLAYBOOKS - Ansible playbooks define the "scripts" that are used for remote Ansible communications from ONAP towards a PNF or VNF. This is OPTIONAL, a PNF or VNF package does NOT necessarily have this artifact.
  • NETCONF YANG MODELS - Defines the NetConf Yang Models that are used for NetConf communications between ONAP and the PNF or VNF. This is OPTIONAL, a PNF or VNf package does NOT necessarily have this artifact. Starting in R3 (Casablanca release) and continuing into R4 (Dublin) a U/C w/ PNFs. VNFs available since R1.
  • CHEF COOKBOOKS - When Chef communications are supported between ONAP and the PNF or VNF, these define the communication playbooks that are used by Chef. This is OPTIONAL, a PNF or VNF package does NOT necessarily have this artifact.
  • MANUALS - Manuals can be included as informational artifacts in the VNF / PNF onboarding package provided by the vendor. These are typically additional information that can be provided (free-form) by the vendor. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • HELP FILES - Help files can be included as informational artifacts in the PNF onboarding package provided by the vendor. These kinds of file can provide information for trouble shooting for example, but can be any kind of assistance in text from the vendor. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • CUSTOMER DOCUMENTATION PRODUCTS - Customer documentation products can be included as informational artifacts in the PNF onboarding package provided by the vendor. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • TEST FILES - Test files are files that might be for testing, or end-to-end integration of the PNF with ONAP. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is not included in R4/Dublin.
  • LICENSING AGREEMENTS - Licensing agreements can be included as informational artifacts in the PNF onboarding package provided by the vendor. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is not included in R4/Dublin and has been postponed.
  • RESOURCE CONFIGURATION INFORMATION - Resource Configuration Information can be included in the PNF onboarding package provided by the vendor. For example, these might be settings or other configuration management type data associated with the resource. These are optional files and are not necessarily included in a package. They can be viewed by an ONAP operator in design time. This is OPTIONAL, a PNF package does NOT necessarily have this artifact. Note: starting in Frankfurt (R6) there is a CM (Config Mgmt) 5G U/C.
  • CONTROLLER BLUEPRINT ARTIFACT - From a controller perspective, there is a TOSCA implementation to execute template for configuration. These include Velocity templates, Jinja template. They can be generic or per PNF type (customized). This is OPTIONAL, a PNF package does NOT necessarily have this artifact. In future releases this could be incorporated into the PNF package. In R4/Dublin a ONAP user would manually upload the Controller Blueprint Artifact.

2.2 EXAMPLE xNF PACKAGE w/ FILES & DIRECTORIES


This section describes what an example of what an actual package might look like. It shows some of the key files and directories and how they might be arranged and delivered.

The onboarding PNF/VNF Package must be defined as specified as ETSI SOL004 v2.6.1 + NFV CR NFVSOL(18)000746r3 

The package structure must be a CSAR with TOSCA-Metadata as specified in SOL004 section 4.1.2
The TOSCA.meta file keyname extension: SOL004 section 4.1.2.3. You can refer to the PNF Pre-onboarding & Onboarding Wiki for more information: 5G - PNF Pre-Onboarding & Onboarding



3. Information Flow

The following UML diagram shows the PNF Pre-onboarding Flow


The following UML diagram shows Onboarding Flow:
PNF Pre-onboarding/Onboarding VENDOR VENDOR ONAPUSER ONAPUSER VNFSDK VNFSDK SDC SDC PNF PACKAGE DELIVERY Vendor Package Delivery 1PNF Package Delivery PRE-ONBOARDING VNF SDK Package Validation (optional) 2License File Check 3Certificate File Check 4Manifest file & destination cross-check 5Manifest file tag Validation 6TOSCA Metadata file validation Certification Studio 7User checks validation Create a resource Options to create a resource in SDC Onboarding Two onboarding options Options PACKAGE ONBOARDING Create a VSP model using onboarding package (PNF csar, VNF csar, or Heat) 8onboarding a package 9Create an internal model with Metadata added 10Transform onboarding artifacts into SDC onboarding 11Transform onboarding descriptor into internal descriptor 12License Model Files Added Manual VNF VSP creation Manual create a VNF VSP model 13Create a VSP 14Create an internal model with Metadata added 15Update internal descriptor proprieties 16License Model Files Added 17Artifacts Added Create a resource Create resource from a VSP Create resource model from a VSP 18Create a VSP 19Transform a VSP into a resource model 20update internal descriptor proprieties 21update License Model Files 22Additional Artifacts Added (Manual/Optional) Manual create a VNF or PNF resource Manual create a VNF / PNF Resources 23create an internal VNF / PNF model with Metadata added 24Update internal descriptor proprieties 25License Model Files Added 26Additional Artifacts Added (Manual/Optional) Create a Service Manual create a Service model 27create an internal service model with Metadata added 28Add Resource(s) 29Additional Artifacts Added PNF Pre-onboarding/Onboarding VENDOR VENDOR ONAPUSER ONAPUSER VNFSDK VNFSDK SDC SDC PNF PACKAGE DELIVERY (Multiple ways that a vendor deliver) Vendor Package Delivery 1PNF Package Delivery PACKAGE VALIDATION VNF SDK Package Validation 2License File Check 3Certificate File Check 4Manifest file & destination cross-check 5Manifest file tag Validation 6TOSCA Metadata file validation Certification Studio 7User checks validation SDC PACKAGE ONBOARDING xNF Resources, Service ID 8UUID Metadata added 9TOSCA MetaData added 10TOSCA Descriptor Added 11X License Model Files Added 12Additional Artifacts Added (Manual/Optional)

3.1 Flow Description: PNF PACKAGE DELIVERY

1. PNF PACKAGE DELIVERY – Vendor Delivers the Package.

There are multiple ways that a vendor could deliver a package. There is not SOL or any other kind of standard which specifies HOW a vendor shall deliver a package. There is no API, it could  be on a memory/flash drive or cloud shared delivery system or any other conceivable way to deliver digital information.

3.2 Flow Description: PACKAGE VALIDATION (VNF-SDK)

2. LICENSE FILE CHECK – VNF-SDK performs a license file check within the vendor-delivered PNF package.

3. CERTIFICATE FILE CHECK – VNF-SDK performs a certificate file check within the vendor-delivered PNF package.

4. FILE AND DESTINATION CHECK – VNF-SDK examines the MainServiceTemplate.mf (Manifest file) and performs a cross-check of the files & pathway directories specified within the manifest faile against the actual files within the vendor-delivered PNF package. It checks that the files that have been specified in the manifest file are actually in the given destination (directories).

5. MANIFEST FILE TAG VALIDATION – VNF-SDK performs a check of the PNF keywords in the MainServiceTemplate.mf (Manifest file). The tags are pnf_product_name, pnf_provider_id, pnf_package_version, pnf_release_data_time, and non-mano_artifact_sets.

6. TOSCA METADATA FILE VALIDATION – VNF checks the Meta Data file (TOSCA.meta) in the PNF package with the ETSI SOL004 validation tags. The checks performed are the Entry definition, Entry-manifest, Entry-change-log, Entry-tests, Entry certificates.=.

7. USER CHECKS VALIDATION – The end user may then inspect that the PNF package has been appropriately verified in the Certification studio.

3.3 Flow Description: SDC PACKAGE ONBOARDING

8. UUID IDENTIFIER – SDC adds a UUID identifier.

9. TOSCA METADATA – SDC adds additional TOSCA Meta-data.

10. TOSCA DESCRIPTOR – SDC may add a TOSCA Descriptor

11. LICENSE MODEL FILE – SDC can add a license model file.

12. ADDITIONAL ARTIFACTS – The User may optionally manually add additional artifacts.


4. Post Condition

The post-conditions for this flow are:

  • xNF (PNF/VNF) ONBOARDED - The xNF Package has been successfully onboarded
  • PNFD MODEL LOADED - The xNF Resource's Descriptor model is visible in SDC.
  • SDC INTERNAL PACKAGE EXISTS - The SDC Internal Package derived from the vendor provided xNF package has been successfully stored in SDC's catalog and is visible.
  • PACKAGE VALIDATED - VNF-SDK has successfully validated the package and verified the content that VNF-SDK can perform validation on (See the VNF-SDK Validation section)
  • ADDITIONAL ARTIFACTS - Additional manual artifacts can be incorporated into the Internal SDC xNF package.


REFERENCES


Read the Docs - for DCAE Designer: https://onap.readthedocs.io/en/latest/submodules/sdc.git/docs/dcaedesigner.html


SUPPORTING FILES & SLIDES

FilesFile
onboarding slides (Zu, Ben, Michela)

  • No labels