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

Compare with Current View Page History

« Previous Version 24 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)


PREONBOARDING


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.


For VNFs:

#@# (Add for VNFs)

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
  • 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.


2.1 xNF ONBOARDING 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

A description of the things in the PNF Onboarding Package SOL004 TOSCA-based Package for PNFs.

  • 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.
  • TOSCA METADATA - This file provided by the vendor describes the meta-information about the package. Notably it gives the key files in the package and their locations 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 events that are supported by the PNF. It defines the possible events that the PNF can support, such as faults, heartbeating, 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 also
  • PM DICTIONARY - Performance Measurements 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. This is OPTIONAL, a PNF 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. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • CHEF COOKBOOKS - When Chef communications are supported between ONAP and the PNF, these define the communication playbooks that are used by Chef. This is OPTIONAL, a PNF package does NOT necessarily have this artifact.
  • MANUALS - Manuals 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.
  • HELP FILES - Help files 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.
  • 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 - Manuals 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.
  • 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. 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.
  • 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 an actual package might look like, showing some of the key files and directories and how they might be arranged and delivered.

The onboarding PNF Package must be defined as specified as ETSI SOL004v2.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



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 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) 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

  • No labels