-
Story
-
Resolution: Done
-
Medium
-
None
-
None
SO NFVO needs to enhance the Instantiate NS backend operations and workflows which do the following sequence: - validate if it works with 3.3.1
- Upgrade the NS LCM and workflows for 3.3.1 and test the existing functions.
- Test the following scenarios are still working:
Support VLs (see the VL user stories)Test Instantiate NS including VLs support- Supports SOL005-compliant InstantiateNSRequest request and parameters
- Creates BPMN workflows and business logic for the following Instantiate NS operations
- Create a Job Id
- Creates BPMN workflows and business logic for the following Instantiate NS operations
-
-
-
-
- Updates NS_Instance Status to INSTANTIATING to the NFVO NS Instance database table
- Handles input parameters from the InstantiateNsRequest
- additionalParamsForNs
- +the VnfProfileId is the vnf descriptor id+from the tosca.nodes.nfv.VNF vnf_profile (tosca.datatypes.nfv.VnfProifle) properties in NSD
- note: the VnfProfile data type properties are: instantiation_Level, min_number_of_instances, max_number_of_instances
- note: this property is only used in an NSD service template when describing a VNF node template with the corresponding VnfProfile information.
- pass vim_id with tenant id
- +the VnfProfileId is the vnf descriptor id+from the tosca.nodes.nfv.VNF vnf_profile (tosca.datatypes.nfv.VnfProifle) properties in NSD
- additionalParamsForVnf
- If it is provided in the request, use additionalParamsForVnf attributes when invoking SOL003 Adapter.
- Otherwise, formulate additionalParams for SOL003 Adapter invocation from the NSD plus additional user input
- use of VNF input for additionalParamsForVnf is under investigation
- pseudo logic:
- additionalParamsForNs
-
-
-
-
-
-
-
-
-
- plan_input = job_id, ns_inst_id, dst_plan, additionalParamsForNs, additionalParamsForVnf, additionalParamsForPnf
- dst_plan = get nsd with the given nspackage_id, input parameters
- Get an ns instance id from the parameter
- get job id and occ id from the NS LCM Mgr
-
- Gets VNF VIM from the location_constraints
- Gets NSD from ETSI Catalog Manager and parses NSD (by using either SDC parser or ETSI Catalog Manager parser)
- Note: until either SDC parser or ETSI Catalog Manager parser is ready, use the current SO NFVO internal TOSCA parser
- If ETSI Catalog Manage parser is used, use the following ETSI Catalog Manager API:
-
-
-
-
curl -X POST /api/parser/v1/parsernsd' \
-H 'Content-Type: application/json' \
--data-raw '
{ "csarId": "csarid", "packageType": "ns", "inputs": "[]" }'
- Updates NFVO_INST db to modify nsd model
- Gets VNFs from the NSD
- For each VNF, invokes the SOL003 Adapter with SOL003-compliant requests
- To call the SOL003 Adapter, use the current SOL003 Adapter Rest API (which is internal to SO)
- Note: exposing ETSI SOL003-compliant SOL003 Adapter REST API will be handled by the separate user story (most likely in the Honolulu release).
- The SOL003 Adapter internal REST API will be enhanced to carry additional attribute(s), such as tenant id, VNF package id
- The Create VNF internal API in SOL003 Adapter will invoke both Create and Instantiate VNFs
- Send parameters such as vnfd_id, vnfm_type, vimId, s_vimId (with "cloud_owner"_"cloud_regionid") and tenant id to SOL003 Adapter
- For Granting VNF, support VNF granting based on the existing SOL003 Adapter.
- Note:
- Currently SOL003 adapter uses “ModelVersionId" fromgeneric-vnfto retrieve the VNFD from SDC/etsi catalog. In order to creategeneric-vnfit also need model invariant id because of the relationship defined betweengeneric-vnfandservice-design-and-creation/models.
- To call the SOL003 Adapter, use the current SOL003 Adapter Rest API (which is internal to SO)
Supports VirtualLink connections between VNFsSupports createVLs (call MultiCloud through MultiCloud Adapter)Follow the Create VLs user story
- Updates NFVO_NSINST db table: update NFVO_NSINST with the nsd model
- Sets job status = NS Instantiate ends
- Updates NsLcmOpOCC to COMPLETED
Note: Sends nsLcmOperationOccurrenceNotificationNote: this notification will be handled by a separate notification and subscription user story.
- mentioned in
-
Page Loading...