...
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 |
PNF-POB-OB-1
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
Step | Expected Result |
---|---|
Install VNF Testing platform (VTP) on Linux machine with Ubuntu 18.04 according to instruction. VTP+Installation.doc | VTP is up and running |
Copy csar package at linux machine with VTP. valid_all.csar | Csar file is present on linux machine. |
Validate csar package using VTP tool by running command: oclip --product onap-vtp csar-validate --pnf --csar valid_all.csar | Validation doesn't find violations in valid_all.csar package |
Copy secured zip file at linux machine with VTP. valid_all.zip | Zip file s present on linux machine. |
Validate secured zip file with csar package using VTP tool by running command: oclip --product onap-vtp csar-validate --pnf --csar valid_all.zip | Validation doesn't find violations in valid_all.zip package |