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

Compare with Current View Page History

« Previous Version 71 Next »

  • SO-ETSI-VNFM Adapter for Dublin Presentation slide deck at ONAP Paris 2019

  • Associated JIRA tickets

    • JIRA ONAPARC-310  ONAPARC-310 - Getting issue details... STATUS   (SO Adapter which uses SOL003 to connect to S/G VNFM)


  • SO-ETSI Alignment Use Cases for Dublin

    • Leverage ETSI standards for VNF LCM in SO

    • Build SO VNFM Adapter

      • Use SOL003 APIs (2.5.1) for VNF LCM

      • Support operations such as create, instantiate, grant, query, terminate, LCN subscription and LCN

      • Support of Delete VNF is a stretch goal in Dublin
    • Enhance SO BPMN workflows & recipes

      • VNF-level and VF-Module workflows, leveraging VNFM Adapter 

      • Passing VNF LCM requests to VNFM using VNFM Adapter

    • Policy based VNF scale out thru VNFM Adapter (Stretch Goal)

      • VNFM Adapter interfaces for VES event

      • Policy Framework for scaling decisions

      • SO workflows for VNF Scale out

    • Provide VNF package management for VNFM (Stretch Goal; under investigation)

    • VNF-level and VF Module-level Assignment modeling in SDNC and A&AI (open issue)

    • VNF Application Configuration thru VNFM Adapter and VNFM (open issue & not for Dublin)


  • SO VNFM Adapter Requirements for Dublin

    • A new SO sub-component, following ONAP Microservice Architecture

    • A Generic VNFM Adapter, supporting SOL003-compliant SVNFMs

    • Support of SOL003 APIs for VNFM LCM
      • VNF Package management (Download & Parse VNF Package)
        • Get package files from the SDC repository thru SO
        • Provide VNF package(s), VNFDs and Artifacts to VNFM
        • SO Catalog DB enhancement for SOL001/SOL004 is under discussion, for future release
      • Invoking SVNFM based on SOL003 VNF LCM APIs as a client
      • Granting, based on ETSI VNFLifecycleOperationGranting
      • Subscription to SVNFM for getting notifications
        • STARTING, PROCESSING, COMPLETED
    • SVNFM selection based on configuration values that are configured during VNF on-boarding and VNFM registration. Two methods are considered:
      • Correlation between VNF NF Type and VNFM Type (Nokia method)
      • Utilizing VNFD vnfm_info:type, VNFM registration values: VNFM type, Cloud region, vendor


  • SVNFM Requirements for Dublin (SVNFM Vendor Responsibilities)

    • Vendor SVNFM must be "SOL003-compliant"
    • Providing SOL003 APIs for VNFM LCM, based on ETSI VNFLifecycleManagement
    • Registration itself to ONAP (thru A&AI ESR) - Name, Type, Vendor, Version, URL, VIM, Username and Password
    • Providing Subscription Services for Life-cycle Management Notifications
    • Support of the "Direct Mode" of Resource Management only
      • After receiving a grant permission, the VNFM sends requests for resources directly to VIM
      • Invoking MultiCloud from VNFM is under discussion, but not for Dublin
      • The "Indirect Mode" of Resource Management is being discussed, but not for Dublin


  • VNFM Adapter Component Architecture

    • The following diagram depicts the component architecture.
    • The VNFM Adapter will be a SO sub-component; packaged as a docker and running in a container.
    • VNFM will register into A&AI ESR and VNFM Adapter will locate a proper VNFM based on VNF NF Type or others.
    • Communications between the VNFM Adapter and SVNFM will be SOL003 API-based.
    • Communications between the SO BPMN Infra VNFM Adapter REST Client and the VNFM Adapter NBI will be SO-specific; i.e., it does not follow ETSI standards at this time.
    • SO SDC Controller receives SOL001/SOL004-based CSAR from SDC, and stores the CSAR reference URLs to TOSCA_CSAR database table. 
      • Currently, VNF package output from SDC is not ETSI alignment. If SDC does not support it Dublin, use the standard package under the artifact directory (e.g., Artifact/Deployment/Others)
      • In Dublin release, there could be two CSAR file contents: one for the original CSAR and one for ONAP-compliant CSAR (maybe the ONAP-compliant CSAR includes the original package)
      • It is assumed that SDC keeps the original vendor VNF packages in their repository, and VNFM Adapter retrieves the original vendor CSAR files from the repository.
    • New VNF-level workflows that use VNFM Adapter will be implemented, and these new workflows will be invoked from the (Network) Service-level workflows based on VNF type and other criteria.
    • Unlike the existing SO VNF/VF-Module workflows, the new VNF-level/VF-Module-level workflows will NOT interact with OpenStack directly. The workflows will delegate the VNF LCM requests to VNFM Adapter, and VNFM Adapter will delegate the requests to VNFM further. Then, VNFM will interact with VIM directly. In Dublin release, the direct mode of resource management will be supported as depicted above.



  • SOL001/SOL004 Standard Conformance

    • VNF Package

      • A VNF Package is a compressed file that contains the following:
        • One VNF descriptor (VNFD)
        • One or more Software Image files
        • Zero or more manifest files
        • Other files
      • Package structure is SOL004 2.5.1 compliant.

    • Cloud Service Archive (CSAR) format

      • It is a packaging construct defined in SOL004 2.5.1, identified by a .csar suffix on the package file. There are two package options. The second option is supported.

      • The CSAR file does not contain TOSCA-Metadata directory, the descriptor yaml file is in the root directory of the CSAR.

      • The CSAR file contains TOSCA-Metadata directory, the TOSCA meta file in this directory contains the location and name of the descriptor file denoted by Entry-Definitions

    • VNFD

      • It is specified by the SOL001 2.5.1.

      • Note that the input and get_input function would be used by a TOSCA orchestrator at run time to access the selected input parameter. If the deployment is not done by a TOSCA orchestrator, the inputs and get_input function may not be needed. The VNFD design should follow the vendor SVNFM orchestration capabilities. 
  • VNFM Adapter conforms to the SOL001/SOL004 standards of specification and package management and SOL003 lifecycle operations.

  • VNF States
  • Design Scope for Dublin

    • Use Cases
    • VNFM Adapter Design
    • SOL001/SOL004 Support & Design
    • SO BPMN Infra & VNFM Adapter Run-time Scenario
    • SOL003 API Support
    • SO VNFM Adapter SOL003 API Support Design
    • VNFM Adapter VNF Package Management (Stretch Goal; under investigation)
    • SDNC Assignment Management
    • VNFM Adapter Locating SVNFM
    • VNF Life-cycle Granting
    • VNFM Adapter Homing Decision for VNF Granting
    • VNF and VF-Module Deduction


  • EPICs

EPICFeatureDescriptionStatus
1Create VNFCreate a VNF IdOpen
2

Instantiate VNF, including subscription, LCN and Granting

  • validate input
  • transform between ONAP internal VNFD and SOL001-based VNFD
  • new database table for asynchronous job management
Instantiate a VNFOpen
3Query VNFQuery VNF InfoOpen
4TOSCA Parser for SOL001 VNFDParse SOL001-based VNFDOpen
5SVNFM SimulatorFor integration testing, vendor-neutral SVNFM Simulator is necessaryOpen
6VNF Package ManagementProvide VNF Package Management for SVNFMOpen
7Terminate VNFTerminate VNFOpen
  • User Stories

    • TBD


  • Use Cases

    • Choose a use case for demonstrating the VNFM Adapter capabilities
    • Under investigation (will determine soon)


  • VNFM Adapter Sub-components



      • SO VNFM Adapter component is a sub component of SO; utilizing docker image and container manged.
      • North Bound Interface (NBI)
        • RESTful APIs that support createVnf, instantiateVnf, queryVnf, grantVnf, TerminateVnf
        • Its APIs are SO specific; i.e., not SOL003-based ones
      • Business Logic layer
        • It is invoked by the NBI and provides business logic for createVnf, instantiateVnf, queryVnf, terminateVnf
        • SDNC and A&AI access to collect assignment and VimConnectionInfo
        • Accesses SdcPackageProvider for getting SOL003 package(s) and parameters
        • SdcPackageProvider
          • Supports SOL001/SOL004 package management
          • Provides getPackage, getVnfdId, getFlavorId, getVnfNodeProperty
          • Provides getPackage(s), getVnfd, getArtifactFile for SVNFM
          • Uses SDC Tosca Parser
        • GrantManager
          • Provides requestGrantForInstantiate REST API for SVNFM
          • Invokes OOF for homing decision; HPA support, and/or non-OOF decision
        • SOL003Lcn APIs
          • Supports VnfIdentifierCreationNotification, VnfIdentifierDeletionNotification, VnfLcmOperationOccurrenceNotification
      • SOL003 Communication Layer
        • It is a thin REST client layer, which sends SOL003-compliant requests to SVNFMs and receives responses/notifications from SVNFM.
        • For Grant, it provides the Grant REST endpoint for SVNFMs.


  • SOL001/SOL004 Support & Design

    • SDC VNF SOL001/SOL004 Support

      • VNFM Adapter depends on the following SDC capabilities:

        • SOL004-based VNF CSAR package onboarding, including storing the original VNF package in SDC output.
        • Manual onboarding of VNF package thru SDC UI.
        • Mapping VNFD (SOL001) to SDC AID DM, including VF-Module deduction based on ScaleAspect + Delta
        • SDC TOSCA Parser for SDC/ONAP Internal model
        • TOSCA Parser for SOL001
        • VNF SDK support of VNF package verification
      • SDC support scope for VNF SOL001/SOL004 is under discussion (Ericsson, Nokia contribution)
  • CSAR Import, Store and Retrieve Sequences 

    • SDC stores the original vendor VNF package along with the transformed ONAP-compliant package.
    • SO uses SDC-transformed CSAR packages and VNFM Adapter uses the original Vendor CSAR package.



    1. SO SDC Controller gets a SOL004 VNF package with an SOL001 VNFD
      1. SDC could generate two output: one ONAP-compliant CSAR and one original CSAR (maybe the first file includes the second one)
      2. SO will use the ONAP-compliant CSAR
      3. VNFM Adapter will use original CSAR
    2. SO SDC Controller stores a VNF CSAR file reference to the SO Catalog DB (e.g., TOSCA_CSAR database table)
    3. VNFM Adapter gets a CSAR package URL from the SO TOSCA_CSAR database table
    4. VNFM Adapter gets an original CSAR package file from the SDC repository
      1. It is assumed that the Adapter retrieves the original vendor provided CSAR package from SDC repository directory before it passes the package to SVNFM, where SVNFM handles the original CSAR. For that, SDC copy the full original package.
      2. There would be two CSAR packages for a service: one original package, one SDC transformed package.
      3. VNFM Adapter passes the original CSAR package to SVNFM because the SVNFM is outside of ONAP and is designed to handle the vendor CSAR package.

Note: SO future release could consider SOL001/SOL004 internal representation in its Catalog DB, or using the Run-time Catalog DB

  • Design

    • TBD


  • VNFM Adapter Run-time Scenarios

    • The following diagram depicts BPMN Infra and VNFM Adapter Run-time scenarios.


    1. SO BPMN Service workflows dispatch new resource-level workflows based on VNF request parameters (e.g., type, others).
      1. Once a Service workflow chooses a new workflow path for VNFM Adapter, the subsequent requests for the same VNF will follow the new path.
      2. an association between VNF and VNFM will be made in A&AI.
    2. SO BPMN VNF-level resource workflows handle:
      1. Assign VNF and VF-Module Network to SDNC
      2. Retrieve the VNF and VF-Module Network Assignment from SDNC
      3. Invoke VNFM Adapter Client with required parameters
    3. VNFM Adapter Client manages:
      1. Populate parameter structures based on data from SO workflows
      2. Invoke VNFM Adapter NBI with required parameters
    4. VNFM Adapter gets GenericVNF from A&AI
    5. VNFM Adapter locates the corresponding VNF and VNFM registration info form A&AI (ESR). Two methods are suggested
      1. Current one: based on VNF NF Type and VNFM Type in A&AI
      2. Could use VNFD vnfm_info:type, VNFM registration values: VNFM type, Cloud Region, vendor - logic is being designed
    6. VNFM Adapter gets VimConnectionInfo from A&AI
      1. Queries A&AI based on the cloud region and tenant id
      2. Builds the VimConnectionInfo based on the type, service-url, user-name, password, cloud-domain, etc.
    7. VNFM Adapter uses network assignment (e.g., IP Address) from SO (thru SDNC) and builds the extVirtualLinks and other parameters.


  • VF-Module Deduction from SOL001 (under investigation)

    • There is an assumption that SDC transforms the vendor provided VNF package into ONAP-compliant one; i.e., deducing VF Modules based on VNFD ScalingAspects and Delta.
    • If SDC supports the transformation in Dublin time-frame, the transformed CSAR will be imported to SO, and SO VNF- and VF-Module-level workflows will manage VNF and VF Module topology towards SDNC with the following changes - Input from Gil Bullard (AT&T)
      • Today the VNF-level workflow has an embedded per-VF Module loop that a) retrieves the SDNC assignments for that VF Module, and then b) sends those VF Module-level assignments down to the VIM (e.g., OpenStack); the loop then moves to repeat "a" with the next VF Module. 
      • The new VNF-level flow will have the following sequences:
        1. an embedded per-VF Module loop that only retrieves the SDNC assignments for each VF Module; because the VIM is hidden from SO's sight, beneath the VNFM Adapter/VNFM.
        2. After finishing the loop, the SO workflows will send a structure  to the VNFM Adapter that includes the aggregate assignments at the VNF level.
        3. The VNFM Adapter aggregates all the VF-Module level assignments and transforms the assignment data into SOL003 API parameters before sending them to SVNFM
          1. The VNFM Adapter would need to be able to parse the VNF-level assignments structure received from SO to obtain the per-VDU connection point assignments information and any per-VDU parameter information (e.g., hostnames)
          2. In doing so, the VNFM Adapter would need to know to ignore the VF Module groupings of these assignments
          3. Further know how to map the ONAP data structure and parameter names into the ETSI (e.g., VM=VDU, VNFC=VNFC, vNIC=vNIC, etc.). Note that the above assumes that in ONAP, as in ETSI, there will be a one-to-one correspondence between VM/VDU and VNFC.

    • Assumptions for deducing VF-Module from SOL001 (Gil Bullard's input)

      • SOL001 concept of Aspect+ScalingDelta combination is one to one with the ONAP concept of VF Module.
      • SOL001 concept of VDU is one to one with the ONAP concept of A&AI vServer
      • SOL001 concept of a connection point associated with a VDU corresponds to the ONAP concept of the same name, as does the understanding of the meaning of “internal” versus “external” connection point.
      • ONAP-compliant SOL001 VNF Vendors will be obliged to name their HEAT files using a naming convention that encodes the SOL001 Aspect+ScalingDelta names
      • ONAP-compliant SOL001 VNF Vendors will be obliged to name their SOL001 Aspect+ScalingDelta parameters using a naming convention that readily maps to the corresponding HEAT properties.  
      • In addition, if AT&T has already deployed such a vendor’s VNF into its network, the HEAT naming will remain invariant, and (at least) the (AT&T version of that) SOL001 be written to match it.
    • What to do
      • ONAP will be extended to incorporate the constructs of Aspect and Scaling Level.  This includes SDC’s, SOs, and A&AI’s modeling of these constructs and A&AI's ability to capture and SO’s ability to set/update the "current scaling level" of a VNF for a given Aspect. 
      • If ETSI in their SOL001 VNFD had defined a "ScalingDelta" in a straightforward manner, i.e., in terms of the VNFCs that comprise it, then it would be very easy to extract VF Module information from the VNFD.  (I would like to see ETSI define "ScalingDelta" in this manner, as opposed to the current way they do so. )  However, given that they did not, ONAP SDC would need to be extended to derive the VF Module “structure” from the SOL001 document through the algorithm below.  “Structure” in this case includes the VDU topology, connection points and associated parameters.  This algorithm will:
      • Determine the set of Aspects and corresponding VDUs and associated ScalingDeltas (step_deltas) from the SOL001.
      • Determine the set of ScalingLevels associated with each Aspect and the ScalingDeltas associated with each.
      • Translate the VDU-centric representation of ScalingDeltas (step_deltas) as per SOL001 to come up with a ScalingDelta-centric representation that captures the number and type of VDUs associated with that ScalingDelta across the various VDU types.
      • Create a VF Module object that corresponds to each ScalingDelta-centric representation of a ScalingDelta calculated above.
      • Fill in the details of the VF Module object based on the SOL001 data to represent the VDU connection points, associated Networks (internal or external), and associated Parameters.
      • Determine if there is an the artifact in the SOL004 package that is a HOT YAML whose file name corresponds (through a VNF vendor obligatory naming convention) to the Aspect+ScalingDelta from which this VF Module object was derived.  If so, associate that HOT file with the VF Module.
      • Name the VF Module based on a naming convention to capture the Aspect+ScalingDelta names
      • Determine and capture the mapping from each Aspect + ScalingLevel model for the VNF to the corresponding VF Module.
      • Given a desired state Aspect+ScalingLevel, will be able to calculate (from the SDC distributed mapping of Aspect+ScalingLevel to VF Module along with the current Scaling Level for this Aspect as per A&AI) the (ordered set of) VF Module(s) needed to take that VNF from the “current scaling level” to the desired level for that Aspect.
      • Note:  As an aside, SDC enhancements are being discussed. It is not clear if the SDC changes will be available in the Dublin time frame. some “stubbing off” SDC with a simulator could be suggested to at least prove in the run-time aspects of the solution.
  • SO BPMN VNF Workflow

    • TBD

  • SO BPMN VF-Module Workflow

    • TBD

  • VNFM Adapter Client 

    • TBD
  • SDNC Assignment


    • Preload Assignment...


  • VNFM Adapter VNF Package Management (Stretch Goal; under investigation)



    • VNF Package Management Execution Flow

      • VNFM Adapter supports VNF Package Management Interface
        • Accepts the "Get VNF packages" request and returns "200 OK" with VnfPkgInfo[]
        • Accepts the "Get VNFD" request and returns "200 OK" with Vnfd
        • Accepts the "Get VNF artifact" request and returns "200 OK" with Artifact file
    • Design

      • Getting multiple VNF packages

        • VNFM queries information about multiple VNF packages  (VNFM → VNFM Adapter); GET .../vnf_packages
        • VNFM Adapter returns a "200 OK" response and includes in the payload body zero or more data structures of type "VnfPkgInfo" (VNFM Adapter → VNFM); 200 OK (VnfPkgInfo[])

      • Getting a particular VNF Package

        • VNFM sends a GET request to the "Individual VNF package" resource (VNFM → VNFM Adapter); GET .../vnf_packages/{vnfPkgId}
        • VNFM Adapter returns a "200 OK" response and includes in the payload body a data structure of type "VnfPkgInfo" (VNFM Adapter → VNFM); 200 OK (VnfPkgInfo)

      • Reading the VNFD of an onboarded VNF Package

        • VNFM sends a GET request to the "VNFD in an individual VNF package" resource (VNFM → VNFM Adapter); GET .../vnf_packages/{vnfPkgId}/vnfd
        • VNFM Adapter returns a "200 OK" response and includes a copy of the VNFD from the VNF package in the payload body (VNFM Adapter → VNFM); 200 OK (Vnfd)

      • Fetching a VNF package artifact

        • VNFM sends a GET request to the "Individual VNF package artifact" resource (VNFM → VNFM Adapter); GET .../vnf_packages/{vnfPkgId}/artifacts/{artifactPath}
        • VNFM Adapter returns a "200 OK" response, and includes a copy of the applicable artifact file from the VNF package in the payload body (VNFM Adapter → VNFM); 200 OK (artifact file)

      • Package management subscription and notification are not consider at this time, future consideration.


  • VNFM Adapter Locating SVNFM

    • VNFM Adapter locates a proper SVNFM based on VNF NF Type/VNFD  and VNFM registration
    • Two methods are suggested as follows, and one of them will be chosen.

  • Design

    • Current method (Green Dots)
      • VnfLCM::locateVnfm(GenericVnf vnf)
      • Get a vnfm list from AAI ESR
      • Find a matched Vnfm, where vnfmInfo.getType() == vnf.getNfType
    • New method (Orange Dots)
      • Under development (TBD)
  • SOL003 Lifecycle Management (LCM) Support and Design

    • SOL003 Interfaces between VNFM Adapter (Client) and SVNFM (Provider)

      • Create VNF

        • HTTP Method Type: POST

        • VNFM Endpoint: /vnf_instances/

        • Request Payload: CreateVnfRequest

        • Response Header: 201 success

        • Response Body: VnfInstance

        • Design

          • VNFM Adapter sends a POST request to the "VNF Instances" resource including in the payload body a data structure of type "CreateVnfRequest" (VNFM Adapter → VNFM); POST ../vnf_instances (CreateVnfRequest)

          • VNFM creates a new VNF instance resource in NOT_INSTANTIATED state, and the associated VNF instance identifier (VNFM → VNFM Adapter); 

          • VNFM returns a 201 Created response containing a representation of the VNF Instance resource just created by the VNFM, and provides the URI of the newly-created resource in the "Location" HTTP header (VNFM → VNFM Adapter); 202 Created (VnfInstnace)

          • VNFM sends a VNF Identifier Creation Notification to the VNFM Adapter to indicate the creation of the VNF instance resource and the associated VNF instance identifier (VNFM → VNFM Adapter); Send VnfIdentifierCreationNotification
          • Parameters and data source
ParametersRequired?Data SourceNote
vnfdIdRequireddescriptor_id from VNFD
vnfInstanceNameOptionalUser Input
vnfInstanceDescriptionOptionalUser Input
      • Instantiate VNF

        • HTTP Method Type: POST

        • VNFM Endpoint: /vnf_instances/{vnfInstanceId}/instantiate

        • Request Payload: InstantiateVNFRequest

        • Response Header: 202 success

        • Response Body: not applicable


        • Design
          • VNFM Adapter sends a POST request to the Task resource that represents the lifecycle operation to be executed on the VNF instance, and includes in the payload body a data structure of type InstantiateVNFRequest (VNFM Adapter → VNFM); POST ../vnf_instances/{vnfInstanceId}/instantiate
          • VNFM Creates a "VNF LCM operation occurrence" resource for the request (VNFM → VNFM Adapter)
          • VNFM returns a "202 Accepted" response with an empty payload body and a "Location" HTTP header that points to the new "VNF LCM operation occurrence" resource (VNFM → VNFM Adapter); .../vnf_lcm_op_occs/{vnfLcmOpOccId}
          • VNFM sends to the VNFM Adapter a VNF lifecycle management operation occurrence notification to indicate the start of the lifecycle management operation occurrence with the "STARTING" state
          • VNFM and VNFM Adapter exchange granting information (see Granting section)
          • VNFM sends to the VNFM Adapter a VNF lifecycle management operation occurrence notification to indicate that the VNF LCM operation occurrence enters the "PROCESSING" state
          • VNFM Adapter polls the "VNF LCM operation occurrence" resource to obtain information about the ongoing operation by sending a GET request to the resource that represents the VNF LCM operation occurrence.
          • VNFM returns to the VNFM Adapter information of the operation, such as the operation status, by providing in the payload body a data structure of type "VnfLcmOpOcc"
          • VNFM has finished the operation <<Operation>>
          • VNFM sends a VNF lifecycle management operation occurrence notification to VNFM Adapter to indicate the completion of the lifecycle management operation occurrence with the success state "COMPLETED"
          • Parameters and data source

            ParameterRequired?Data SourceNote
            flavorIdOptionalFrom user input or from the VNFDThis parameter is optional for NBI but it is mandatory for southbound. The value from the user; otherwise it takes the default value from VNFD
            instantiationLevelIdOptionalFrom VNFD
            extVirtualLinksOptionalFrom preload data or user inputThe user input requires UI enhancement - See below for design proposal If the external connection point ip_address_assignment is set to false, extVirtualLink is not necessary since the ip address is set by VIM dynamically.
            extManagedVirtualLinksOptionalfrom user inputExternally-managed internal VL; Not supported in Dublin
            vimConnectionInfoOptionalFrom AAIIn Dublin, the direct resource mode is supported, that means all the VIM resources are created directly by VNFM
            localizationLanguageOptional
            Not supported in Dublin
            additonalParamsOptionalFrom VNFDIt is a mechanism to pass vendor-specific parameters
          • extVirtualLinks data population
            • VNFD does not define external virtual links, but it lists the external virtual links as requirements for the VNF.
            • If the connection point ip_address_assignment is set to false, no extVirtualLinks ip address assignment is necessary.
            • In this case, VIM will assign IP addresses dynamically.
            • This could be an option for the Dublin release for simplifying the solution.

            • If the connection point ip_address_assignment is set to true, set extVirtualLink ip address assignment with configuration data from the user input or a preload file.
              • UI solution (build an UI configuration page and invoke it from VID; it would be an option for the post Dublin release): Impact on VID (open issue)
                • Parse VNFD and extract a list of external virtual links
                • Map the external virtual links to the corresponding connection points, and read ip_address_assignment and number_of_ip_address value
                • Render the external virtual links
                • For each external virtual link, render the ip_address_assignment entry fields based on the number_of_ip_address value
                • User configures the mapping and the UI stores the mapping in the database
                • VNFM Adapter retrieves the mapping from database and fill up the extVirtualLink parameters based the mapping
                • UI Example:

              • Preload configuration solution (it would be an option for the Dublin release)
                • For the VNFD, pre-configure the mapping between the external virtual links and the ip addresses
                • VNFM Adapter retrieves the mapping from preload data and fill up the extVirtualLink parameters based on the mapping
      • Query VNF Instances

        • HTTP Method Type: GET

        • VNFM Endpoint: /vnf_instances  (for multiple VNFs), /vnf_instances/{vnfInstanceId}  (for single VNF)

        • Request Payload: not applicable

        • Response Header: 200 success

        • Response Body: VnfInstance[] (for multiple VNFs), VnfInstance (for single VNF)

        • Design
          • If the VNFM Adapter intends to query all VNF instances, it sends a GET request to the "VNF instances" resource
          • The VNFM returns a "200 OK" response to the VNFM Adapter, and includes zero or more data structures of type "VnfInstance" in the payload body
          • If the VNFM Adapter intends to read information about a particular VNF instance, it sends a GET request to the "Individual VNF instance" resource, addressed by the appropriate VNF instance identifier in its resource URI
          • The VNFM returns a "200 OK" response to the VNFM Adapter, and includes one data structure of type "VnfInstance" in the payload body


      • SOL003 Interfaces between SVNFM (Client) and VNFM Adapter (Provider)

        • Grant VNF Request

          • HTTP Method Type: POST
          • VNFM Endpoint: /grants

          • Request Payload: GrantRequest

          • Response Header: 201 success

          • Response Body: not applicable


        • VNF Life-cycle Granting

          • The purpose of the grant request is to have the VNFM’s resource request authorized by VNFM Adapter/SO and to get advice on where to allocate resources such as virtual machines based upon capacity.

            Grant requests are also useful to ensure that all resources (capacity, quota, flavors, SRTs, etc.) required for successful VNF deployment are available.

          • There are two Grant Response modes, synchronous and asynchronous. Synchronous response mode will be supported for Dublin.

            • Synchronous Mode

            1. VNFM sends a POST request to the Grant resource with a “GrantRequest” in the body

            2. VNFM Adapter with SO makes the granting decision

            3. VNFM Adapter with SO returns to VNFM a “201 Created” response with a “Grant” data structure in the body

            • Asynchronous Mode

            1. VNFM sends a POST request to the Grant resource with a “GrantRequest” in the body
            2. VNFM Adapter with SO returns to VNFM a “202 Accepted” response with an empty body, and a “Location” header indicates a callback URL
            3. VNFM Adapter with SO makes the granting decision
            4. VNFM keeps trying to obtain the grant by sending a GET request to VNFM Adapter until a “200 OK” response with a “grant” data in the body
            5. VNFM Adapter finishes the granting process and returns a “200 OK” response with a “Grant” data in the body


        • VNFM Adapter Homing Decision for VNF Granting

          • Note: the following logic concept is inspired by the VFC Homing decision mechanism (location, inventory data, resource availability, business rules, etc.)
          • Use of OOF is optional. For those models without using HPA, VNFM Adapter will make a grant decision based on VIM registration information. 



        1. VNFM Adapter sends out homing requests to OOF (OSDF) containing resource info
        2. OOF (OSDF) pulls all the related homing constraints from Policy
        3. OOF (HAS) checks AAI database to pull region (flavor) information
        4. OOF (HAS) communicates with Multi-Cloud to check cloud capacity (vims which fulfill the requirements)
        5. OOF (OSDF) returns homing allocation solution to VNFM Adapter

          • OOF collects information as following:
          • Service and Resource Info, from: AAI
          • HPA Flavors/Capabilities/Capacity Info, from: AAI
          • Policy Models (Homing, PCI) from: Policy
          • Infrastructure Metrics Info (capacity), from: MultiCloud
          • Cloud Agnostic Intent Info, from: MultiCloud
          • PCI configuration data (not yet a part of SDC model)

      • Terminate VNF

        • HTTP Method Type: POST

        • VNFM Endpoint: /vnf_instances/{vnfInstanceId}/terminate

        • Request Payload: TerminateVnfRequest

        • Response Header: 202 success

        • Response Body: not applicable

        • Design
          • VNF precondition = INSTANTIATED state
          • After the operation, VNF state = NOT_INSTANTIATED 
          • VNFM Adapter sends a POST request to the Task resource that represents the lifecycle operation to be executed on the VNF instance, and includes in the payload body a data structure of type TerminateVNFRequest (VNFM Adapter → VNFM); POST ../vnf_instances/{vnfInstanceId}/terminate
          • VNFM Creates a "VNF LCM operation occurrence" resource for the request (VNFM → VNFM Adapter)
          • VNFM returns a "202 Accepted" response with an empty payload body and a "Location" HTTP header that points to the new "VNF LCM operation occurrence" resource (VNFM → VNFM Adapter); .../vnf_lcm_op_occs/{vnfLcmOpOccId}
          • VNFM sends to the VNFM Adapter a VNF lifecycle management operation occurrence notification to indicate the start of the lifecycle management operation occurrence with the "STARTING" state
          • VNFM and VNFM Adapter exchange granting information (see Granting section)
          • VNFM sends to the VNFM Adapter a VNF lifecycle management operation occurrence notification to indicate that the VNF LCM operation occurrence enters the "PROCESSING" state
          • VNFM Adapter polls the "VNF LCM operation occurrence" resource to obtain information about the ongoing operation by sending a GET request to the resource that represents the VNF LCM operation occurrence.
          • VNFM returns to the VNFM Adapter information of the operation, such as the operation status, by providing in the payload body a data structure of type "VnfLcmOpOcc"
          • VNFM has finished the operation <<Operation>>
          • VNFM sends a VNF lifecycle management operation occurrence notification to VNFM Adapter to indicate the completion of the lifecycle management operation occurrence with the success state "COMPLETED"
          • Note: its communication exchange pattern is the same as the Instantiate VNF.
          • Parameters and Data source

            ParameterRequired?Data SourceNote
            terminationTypeYesfrom user input
            gracefulTerminationTimeoutOptionalfrom VNFDThis attribute is only applicable in case of graceful termination. The unit is seconds
            additionalParamsOptionfrom VNFD


      • Delete VNF (Stretch Goal in Dublin)

        • HTTP Method Type: DELETE

        • VNFM Endpoint: /vnf_instances/{vnfInstanceId}

        • Request Payload: not applicable

        • Response Header: 204 success

        • Response Body: not applicable

        • Design

          • VNF precondition = NOT_INSTANTIATED
          • After the operation, VNF resource has been removed from the list of VNF instance resources

          • VNFM Adapter sends a DELETE request to the "Individual VNF Instance" resource.
          • The VNFM deletes the VNF instance resource and the associated VNF instance identifier.
          • The VNFM returns a "204 No Content" response with an empty payload body.
          • The VNFM sends to the VNFM Adapter a VnfIdentifierDeletionNotification to indicate the deletion of the VNF instance resource and the associated VNF instance identifier.
          • If the VNF instance is not in NOT_INSTANTIATED state, the VNFM rejects the deletion request.
      • More SVFM SOL003 Interfaces for Future Release

        • Scale VNF

          • HTTP Method Type: POST

          • VNFM Endpoint: /vnf_instances/{vnfInstanceId}/scale
          • Request Payload: ScaleVnfRequest
          • Response Header: 202 accepted
          • Response Body: not applicable
        • Scale to Level Vnf
          • HTTP Method Type: POST
          • VNFM Endpoint: /vnf_instances/{vnfInstanceId}/scale_to_level
          • Request Payload: ScaleVnfToLevelRequest
          • Response Header: 202 accepted
          • Response Body: not applicable
        • Delete VNF
          • HTTP Method Type: DELETE

          • VNFM Endpoint: /vnf_instances/{vnfInstanceId}

          • Request Payload: not applicable

          • Response Header: 204 success

          • Response Body: not applicable

        • Operate VNF
          • HTTP Method Type: POST

          • VNFM Endpoint: /vnf_instances/{vnfInstanceId}/operate

          • Request Payload: OperateVnfRequest

          • Response Header: 202 success

          • Response Body: not applicable


    • Impacted ONAP components

      • SO 
        • SO Catalog DB for SOL001/SOL004 support
        • BPMN Workflows and Recipes
        • VNFM Adapter
      • SDC 
        • Support SOL001/SOL004
        • VF Module deduction based on SOL001
      • SDNC
        • VNF-level Network Assignment, instead of VF-Module
      • A&AI
        • VNF-level Inventory Update
        • VNFM location
      • Policy (Stretch goal) - not for Dublin
        • Scale-Out support for ETSI-based scaling
      • Modeling
        • Support SOL001/SOL004
        • ETSI vs. ONAP-compliant VNFD
      • VID
        • External Virtual Link Configuration UI to map External CPs and Virtual Links such as IP Address


    • Open Items

      • SDC transformation between ETSI and ONAP internal output and storing the original CSAR package.

      • VNF Application Configuration thru VNFM Adapter and VNFM is under discussion 

        • Architecture subcommittee is defining orchestration scenarios for application configuration

      • Better mechanism for VNFM Adapter to locate VNFMs (two methods are suggested)

        • How do we identify which VNFM to use?

      • Modelling for VNF and VF Modules; mapping between VF Modules and VNF

        • Assigning Network resources to SDNC; do we use preload data?

      • Continue to support existing non-ETSI SO workflows along with ETSI-based workflows

      • VNFM Adapter architectural direction; should it work as a thin layer or should it be evolved as a full-fledged NFVO in the future, e.g., handling grant by itself, updating resources in A&AI and SDNC?

        • After the VNF Instantiation, which component does update VNF resources in A&AI? VNFM Adapter or SO?

      • SOL001/SOL004 SO Representation (for Dublin, the second option was chosen)

        • Enhance SO Catalog Database? 

        • VNF_Package (vnfdid, vnfm_info, version, vnf_provider, product, vendor, etc.)

        • VNF_Package_Artifact (child database for VNF_Package, VNFD_URL, SoftwareImage_URL, Additional Files etc)

        • Store minimum reference in TOSCA_CSAR database table? This was chosen for Dublin

      • MultiCloud use (not for Dublin)

  • No labels