Overview
These test cases cover the commonality between the test data for 5G - PNF Pre-Onboarding & Onboarding and aims to achieve an end to end verification for Pre-Onboarding and Onboarding.
The test data for both test cases will contain a vendor package which will be composed of (amongst others)
- PNF Descriptor
- Informational Artefacts
- Configuration Files
- VES registration files
- PM Dictionary & Schema
To ensure compatibility between the code changes made to SDC and VNF-SDK and to support PNF Pre-Onboarding & Onboarding the same test data vendor csar file, i.e. PNF package, will be used.
Sample packages to be used can be found in the ONAP SDC Gerrit PNFs directory, the corresponding root certificates for the secure signed packages can be found in the certs directory.
Test Cases
Test Case ID | PNF-POB-OB-1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test Case Name | Test Pre-Onboarding of Vendor Supplied Package in VNF-SDK | ||||||||||||
Description | Taking a pre-formed sample csar package mimicking a vendor supplied PNF csar which will contain relevant artefacts verify this package against the VNF-SDK CLI tool | ||||||||||||
Release | Dublin | ||||||||||||
Preconditions | Sample csar package mimicking vendor csar agreed and available Sample secured zip file consisting of the csar package, a signature file and a certificate file mimicking vendor csar agreed and available | ||||||||||||
Testing Steps |
| ||||||||||||
Conclusion (Pass/Fail) | |||||||||||||
Testing Lab | ONAP Lab/standalone linux machine |
Test Case ID | PNF-POB-OB-2 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Test Onboarding of Vendor Supplied Package in SDC | ||||||
Description | Taking a pre-formed sample csar package mimicking a vendor supplied PNF csar which will contain relevant artefacts verify this package can be onboarded in SDC | ||||||
Release | Dublin | ||||||
Preconditions | Sample csar package mimicking vendor csar agreed and available | ||||||
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS | ||||||
Testing Lab | ONAP Lab/ Local Sanity Test Environment |
Test Case ID | PNF-POB-OB-3 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Test Case Name | Test Pre-Onboarding of Vendor Supplied Package in (offline) VNF Test Platform installed according to https://docs.onap.org/en/latest/submodules/vnfsdk/model.git/docs/files/vnf-test-platform.html | ||||||||
Description | Taking a pre-formed sample csar package mimicking a vendor supplied PNF csar which will contain relevant artefacts verify this package against the VNF-SDK API | ||||||||
Release | Dublin | ||||||||
Preconditions | Sample csar package mimicking vendor csar agreed and available | ||||||||
Testing Steps |
| ||||||||
Conclusion (Pass/Fail) | |||||||||
Testing Lab | ONAP Lab/standalone linux machine |