You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
DRAFT
High Level Test Cases and Status
# | Test Case | Test Type | Summary | Status |
---|
1 | Test insecure vendor PNF csar package | Sanity |
| - |
2 | Test secure vendor PNF csar package | Sanity |
| - |
3 | Test creation of VSP for PNF through UI | Manual |
| - |
4 | Test creation of PNF through UI | Manual |
| - |
5 | Test distribution of SDC generated csar package | Manual + E2E |
| - |
Test Types:
Sanity : automated docker based tests from SDC repo (SDC Sanity)
Manual : manual test in SDC UI
E2E : end to end test with other interested ONAP components
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 |
---|
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 |
---|
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 for PNF through UI |
---|
Description | Run through manual process of onboarding in SDC gui starting with creating vendor license model to creating vendor software product using vendor supplied PNF csar package. |
---|
Release | Dublin |
---|
Preconditions | ONAP deployment available |
---|
Testing Steps | Steps | Expected Result |
---|
Login to ONAP portal as a designer user Navigate to SDC application Goto ONBOARD page and create new VLM with required feature groups, etc On ONBOARD page click on 'CREATE NEW VSP' In Vendor drop down select license manager name created in step 3 and select 'Network Package' as onboarding procedure On 'Software Product Details' page add missing license agreement Going back to 'Overview' in left menu and under Software Product Attachments choose SELECT FILE and upload vendor pnf csar file.
| Vendor CSAR package parsed and loaded into SDC VSP. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / SDC Sanity |
---|
Test Case ID | PNF-OB-4 |
---|
Test Case Name | Test creation of PNF service through UI |
---|
Description | Run through manual process of creating PNF service in SDC gui. Very similar to 5G - PNF PnP - Integration Test Case T01 |
---|
Release | Dublin |
---|
Preconditions | ONAP deployment available |
---|
Testing Steps | Step | Expected Result |
---|
- Login to ONAP portal as a Designer user and open SDC application
- Click on ADD button and select Add PNF, complete mandatory files 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 files 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.
- Re-login as a a Governor user
- Navigate to SDC tab HOME menu and select previously created service
- Press Approve button in left top corner, add comment and press OK button
- Re-login as Ops user
- Navigate to SDC tab / HOME menu and select previously created service
View 'Distribute' button in left top corner
| Service created and output csar successfully generated and service is ready to be distributed. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / SDC Sanity |
---|
Test Case ID | PNF-OB-5 |
---|
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: PNF E2E Verification Test Case Of PNF Onboarding, Registration & Configuration over Netconf |
---|
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 PNF E2E Verification Test Case Of PNF Onboarding, Registration & Configuration over Netconf | Full end-to-end flow verified successfully. |
|
---|
Conclusion (Pass/Fail) |
|
---|
Testing Lab | Ericsson Lab / SDC Sanity |
---|