You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 20
Next »
High Level Test Cases and Status
# | Test Case | Test Type | Summary | Status |
---|
PNF-OB-1 | Test insecure vendor PNF csar package | Sanity |
| - |
PNF-OB-2 | Test secure vendor PNF csar package | Sanity |
| - |
PNF-OB-3 | Test creation of VSP using input PNF package through UI | Manual | Test both secure & insecure package. | - |
PNF-OB-4 | Test creation of PNF by importing PNF VSP through UI | Manual |
|
|
PNF-OB-5 | Test creation of PNF with artefacts through UI | Manual |
| - |
PNF-OB-6 | Test creation of PNF service containing PNF through UI | Manual |
|
|
PNF-OB-7 | Test distribution and ingestion of SDC generated PNF service csar package | Manual + E2E |
| - |
Test Types:
Sanity : automated docker based tests from SDC repo (SDC Sanity)
Manual : manual test in SDC UI (either local SDC or ONAP)
E2E : end to end test with other interested ONAP components
Diagram
![](/download/attachments/58230260/Picture2.png?version=1&modificationDate=1552496035000&api=v2)
Detailed Description
Test Case ID | PNF-OB-1 |
---|
Test Case Name | Test insecure vendor PNF csar package |
---|
Description | Take insecure/unsigned vendor created csar package and include it in SDC Sanity test cases |
---|
Release | Dublin |
---|
Preconditions | Package structure and contents finalised. SDC Sanity testing environment available. |
---|
Testing Steps | Step | Expected Result |
---|
Add agreed/finalised 'Vendor-PNF-insecure.csar' file to SDC repository to be included in 'sanity-Onboard' test category | File exists. | Run SDC sanity tests: - Create VSP
- Create PNF from VSP
- Certify PNF
- Create Service
- Add PNF to Service
- Certify Service
- Run tosca validation on output service csar
| 'sanity-Onboard' test category report displays pass result for new csar package |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / SDC Sanity |
---|
.
Test Case ID | PNF-OB-2 |
---|
Test Case Name | Test secure vendor PNF csar package |
---|
Description | Take secure/signed vendor created csar package and include it in SDC Sanity test cases |
---|
Release | Dublin |
---|
Preconditions | Package structure and contents finalised. SDC Sanity testing environment available. |
---|
Testing Steps | Step | Expected Result |
---|
Add agreed/finalised 'Vendor-PNF-secure.csar' file to SDC repository to be included in 'sanity-Onboard' test category | File exists. | Run SDC sanity tests - Create VSP
- Create PNF from VSP
- Certify PNF
- Create Service
- Add PNF to Service
- Certify Service
- Run tosca validation on output service csar
| 'sanity-Onboard' test category report displays pass result for new csar package |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / SDC Sanity |
---|
.
Test Case ID | PNF-OB-3 |
---|
Test Case Name | Test creation of VSP using input PNF package through UI |
---|
Description | Run through manual process of onboarding in SDC gui starting with creating vendor license model to then creating vendor software product using vendor supplied PNF csar package. |
---|
Release | Dublin |
---|
Preconditions | Local SDC or ONAP deployment available |
---|
Testing Steps | Steps | Expected Result |
---|
Login to ONAP portal as a Designer user Navigate to SDC application On ONBOARD page click on 'CREATE NEW VLM' Go through the steps of creating new Vendor License Manager with required and corresponding License Key Groups, Entitlement Pools, Feature Groups and License Agreement submitting the VLM at the end of the process. On ONBOARD page click on 'CREATE NEW VSP' In 'Vendor' drop down select license manager name created in step 3 above and select 'Network Package' as the onboarding procedure On 'Software Product Details' page add the missing license agreement using VLM created in step 3 above. Going back to 'Overview' in left menu and under Software Product Attachments choose SELECT FILE and upload vendor pnf csar input file. - Submit the VSP for creation.
| Vendor CSAR package parsed and loaded into SDC and used in VSP. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / Local SDC or ONAP deployment |
---|
.
Test Case ID | PNF-OB-4 |
---|
Test Case Name | Test creation of VF by importing PNF VSP through UI |
---|
Description | Building on PNF-OB-3 test that a VF can be created in the SDC gui using the PNF VSP |
---|
Release | Dublin |
---|
Preconditions | Local SDC or ONAP deployment available |
---|
Testing Steps | Step | Expected Result |
---|
- Login to ONAP portal as a Designer user and open SDC application
- Select HOME in top menu and then click on 'Import VSP' selecting VSP output from PNF-OB-3 above. Click 'Create' button.
- Click on 'Certify' button entering message in pop up window to continue.
| VF has been created in SDC gui and is certified. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / Local SDC or ONAP deployment |
---|
.
Test Case ID | PNF-OB-5 |
---|
Test Case Name | Test creation of PNF with artefacts through UI |
---|
Description | Building on PNF-OB-4 test that a PNF can be created in the SDC gui using the PNF VSP |
---|
Release | Dublin |
---|
Preconditions | Local SDC or ONAP deployment available |
---|
Testing Steps | Step | Expected Result |
---|
- Click on ADD button and select Add PNF, complete mandatory fields and press Create button
- Certify the PNF using button in top right corner of screen.
- Navigate to SDC -> HOME menu
- Click on ADD button and select Add Service, complete mandatory fields, add deployment artifacts and press Create button
- Go to Composition in left menu
- In search box find created PNF using its name, drag and drop it to main view and Submit for Testing
- Re-login as a a Tester user
- Navigate to SDC tab HOME menu and select service submitted for testing
- Press Start Testing button in right top corner and then Accept button adding comment.
- Re-login as a a Governor user
- Navigate to SDC tab CATALOG menu and select previously created service
- Press Approve button in right top corner, add comment and press OK button
| The created service has been displayed as Distribution Approved in HOME menu. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / Local SDC or ONAP deployment |
---|
.
Test Case ID | PNF-OB-6 |
---|
Test Case Name | Test creation of PNF service containing PNF through UI |
---|
Description |
|
---|
Release | Dublin |
---|
Preconditions | Local SDC or ONAP deployment available |
---|
Testing Steps | Step | Expected Result |
---|
- Login to ONAP portal as a Designer user and open SDC application
- On the HOME screen click on ADD button and select Add PNF, complete mandatory fields and press Create button
- Certify the PNF using button in top right corner of screen.
- Navigate to SDC -> HOME menu
- Click on ADD button and select Add Service, complete mandatory fields, add deployment artifacts and press Create button
- Go to Composition in left menu
- In search box find created PNF using its name, drag and drop it to main view and Submit for Testing
- Re-login as a a Tester user
- Navigate to SDC tab HOME menu and select service submitted for testing
- Press Start Testing button in left top corner and then Accept button adding comment.
|
|
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / Local SDC or ONAP deployment |
---|
.
Test Case ID | PNF-OB-7 |
---|
Test Case Name | Test distribution of SDC generated csar package to interested components, e.g. SO, AAI and SDNC |
---|
Description | Previous tests of SDC can be ran in both a full ONAP deployment environment or on the 'SDC Sanity' local test environment. This test case verifies the CSAR package and PNF onboarding package artifacts by distributing said package to other ONAP components at runtime. Reference: 5G - E2E PNF Onboarding with PnP & Configuration with Netconf over TLS - Integration Test Cases |
---|
Release | Dublin |
---|
Preconditions | ONAP deployment available, SDC changes also deployed to ONAP. |
---|
Testing Steps | Step | Expected Result |
---|
- Login to ONAP portal as an Ops user
- Navigate to SDC tab HOME menu and select previously created PNF Service
- Press Distribute button in left top corner
- Press Monitor button in left top corner and verify distribution status, you may need to refresh screen.
| SDC UI indicates distribution of PNF service to VID, SO and AAI. | Follow test steps as documented on 5G - E2E PNF Onboarding with PnP & Configuration with Netconf over TLS - Integration Test Cases | Full end-to-end flow verified successfully. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / ONAP Lab |
---|
xc 342