Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

Automated CSIT testing has been deferred to El Alto underSO-1899 - SO VNFM Adapter CSIT testOPEN


Test Descriptions

1 Create VNF

A Create VNF request invokes both SOL003 Create and Instantiate VNF operations at the VNFM Adapter

1.1 Instantiate VNF1 Create VNF through the VNFM Adapter NBI directly

Test No:Test-01
ProjectSO
ModuleVNFM Adapter
Objective/DescriptionTest the VNFM adapter handles create VNF request, sending create and instantiate request to the VNFM, responding correctly to grant request from VNFM and updating AAI based on notifications received from the VNFM resulting from the instantiate request
Pre-ConditionsThe generic VNF has been added in AAI. The VNF package has been distributed from SDC. The VNFM and VIM have been defined in AAI. VNFM simulator deployed as VNFM. SDNC preload completed through SDNC access site. Add the ETSI "Create_VNF" and "Terminate_VNF" building blocks to the "building_block_detail" table in MariaDB's "catalogdb". Edit the "orchestration_status_state_transition_directive" table in MariaDB's "catalogdb" to allow a service with "operationStatus" set to "CREATED" to allow a building block with a "TARGET_ACTION" of "ACTIVATE" to "CONTINUE".
Test StepInvoke a POST request on the VNFM adpater NBI, path: /so/vnfm-adapter/v1/vnfs/<vnf-id>
Test ResultAAI updated with information on the instantiated VNF
ObservationCreate and instantiate requests were correctly sent to the VNFM, the grant request from the VNFM was handled and reply sent to the VNFM and AAI was updated in accordance with the notifications received from the VNFM as a result of the VNF being instantiated


1.2 Handle No Matching VNFM2  Create VNF through VID

Test No:Test-02
ProjectSO
ModuleVNFM Adapter
Objective/DescriptionTest the VNFM adapter handles
a failure when there is no matching VNFM in the ESR list. 
create VNF request, sending create and instantiate request to the VNFM, responding correctly to grant request from VNFM and updating AAI based on notifications received from the VNFM resulting from the VID instantiate request
Pre-Conditions
Everything set-up as previous, except for the VNFM in the ESR list
The generic VNF has been added in AAI. The VNF package has been distributed from SDC. The VNFM and VIM
has
have been defined in AAI. VNFM simulator deployed as VNFM. SDNC preload completed through SDNC access site. Add the ETSI "Create_VNF" and "Terminate_VNF" building blocks to the "building_block_detail" table in MariaDB's "catalogdb". Edit the "orchestration_status_state_transition_directive" table in MariaDB's "catalogdb" to allow a service with "operationStatus" set to "CREATED" to allow a building block with a "TARGET_ACTION" of "ACTIVATE" to "CONTINUE".
Test Step
Invoke a POST request on the VNFM adpater NBI, path: /so/vnfm-adapter/v1/vnfs/<vnf-id>  . also ensure that there is no matching VNFM in the ESR list.Test ResultFailure handled correctly and accurately reported to tester.Observation

...

Deploy a service through VID, followed by deploying the VNF of the service through VID.
Test ResultAAI updated with information on the instantiated VNF. VID shows the VNF instantiated.
ObservationThe deploy requests through VID were correctly sent through to the VNFM, the grant request from the VNFM was handled and reply sent to the VNFM and AAI was updated in accordance with the notifications received from the VNFM as a result of the VNF being instantiated.



2 Delete VNF

A Delete VNF request invokes both SOL003 Terminate and Delete VNF operations

2.1 Delete VNF through the VNFM Adapter NBI directly

Test No:Test-03
ProjectSO
ModuleVNFM Adapter
Objective/Description
Retrieving the CSAR from SDC, through http curl commands.
Test the VNFM adapter handles delete request, sending terminate and delete request to the VNFM, responding correctly to grant request from VNFM and updating AAI based on notifications received from the VNFM resulting from the termination request
Pre-ConditionsThe
generic
VNF has been
added in AAI. The VNF package has been distributed from SDC. 
created via the VNFM adapter
Test StepInvoke a
GET
DELETE request
towards SDC
on the VNFM adpater NBI, path: /so/vnfm-adapter/v1/vnfs/<vnf-id>
Test Result
Observation

2 Delete VNF

...

AAI updated as a result of the VNF deletion, including the removal of the vserver information for the VNF, removal of self link and changing of the orchestration status
Observation

Terminate and delete requests were correctly sent to the VNFM, the grant request from the VNFM was handled and reply sent to the VNFM and AAI was updated in accordance with the notifications received from the VNFM as a result of the VNF being terminated.


2.2 Delete VNF through VID

Test No:Test-04
ProjectSO
ModuleVNFM Adapter
Objective/DescriptionTest the VNFM adapter handles delete request, sending terminate and delete request to the VNFM, responding correctly to grant request from VNFM and updating AAI based on notifications received from the VNFM resulting from the termination request
Pre-ConditionsThe VNF has been created, using VID, via the VNFM adapter
Test StepInvoke a DELETE request on the VNFM adpater NBI, path: /so/vnfm-adapter/v1/vnfs/<vnf-id>Delete the VNF through the VID GUI. 
Test ResultVNF deleted from VID. AAI updated as a result of the VNF deletion, including the removal of the vserver information for the VNF, removal of self link and changing of the orchestration status.
ObservationTerminate and

The delete

requests were correctly

was correctly executed through VID and sent to the VNFM, the grant request from the VNFM was handled and reply sent to the VNFM and AAI was updated in accordance with the notifications received from the VNFM as a result of the VNF being terminated.