5G - PNF E2E Pre-Onboarding & Onboarding Integration Test Cases
- 1 Overview
- 2 Manual Test Cases
- 2.1 PNF-POB-OB-1
- 2.2 PNF-POB-OB-2
- 2.3 PNF-POB-OB-3
- 3 Automated Test Cases
- 3.1 Test case definition in testsuite repo
- 3.2 Testsuites.Vnfsdk Validation.Validate Onboarding allMandatoryEntriesDefinedInTOSCAMeta
- 3.3 Testsuites.Vnfsdk Validation.Validate Onboarding non_mano_artifact_sets_is_mandatory
- 3.4 Testsuites.Vnfsdk Validation.Validate Onboarding no_pnfd_release_date_time_error
- 3.5 Testsuites.Vnfsdk Validation.Validate Onboarding noETSI-Entry-ManifestOrETSI-Entry-Change-Log
- 3.6 Testsuites.Vnfsdk Validation.Validate Onboarding PNFD_missing
- 3.7 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, integrity_check CMS_with_cert
- 3.8 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, integrity_check CMS_without_cert
- 3.9 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, secured csar - CMS only - sdc valid certificate, integrity_check CMS_without_cert
- 3.10 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, secured csar - CMS and CERT - sdc valid certificate, integrity_check CMS_with_cert
- 3.11 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, secured csar - CMS only - sdc invalid certificate, integrity_check CMS_without_cert
- 3.12 Testsuites.Vnfsdk Validation.Validate Onboarding test_SDC_and_VNFSDK_API, secured csar - CMS and CERT - sdc invalid certificate, integrity_check CMS_with_cert
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.
Manual 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 (R&D approach) |
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 |