Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

This is the integration test case for SO VNFM Adapter test case. 

Due to lack of SDC SOL004 VNF package and distribution, the test of VNFM Adapter functionalities is limited to manual-based testing, which injects REST requests/responses.

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


Test Descriptions

1 Create VNF

1.1 Instantiate VNF

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

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. 
Pre-ConditionsEverything set-up as previous, except for the VNFM in the ESR list. The VNF package has been distributed from SDC. The VIM has been defined in AAI. VNFM simulator deployed as VNFM.
Test StepInvoke 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 Result
Observation


1.3 Retrieve CSAR from SDC

Test No:Test-03
ProjectSO
ModuleVNFM Adapter
Objective/DescriptionRetrieving the CSAR from SDC, through http curl commands.
Pre-ConditionsThe generic VNF has been added in AAI. The VNF package has been distributed from SDC. 
Test StepInvoke a GET request towards SDC on path: 
Test Result
Observation


1.4 Placeholder

Test No:Test-03
ProjectSO
ModuleVNFM Adapter
Objective/DescriptionRetrieving the CSAR from SDC, through http curl commands.
Pre-ConditionsThe generic VNF has been added in AAI. The VNF package has been distributed from SDC. 
Test Step
Test Result
Observation


2 Delete VNF

2.1 Terminate VNF

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 via the VNFM adapter
Test StepInvoke a DELETE request on the VNFM adpater NBI, path: /so/vnfm-adapter/v1/vnfs/<vnf-id>
Test ResultAAI 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 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



  • No labels