Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

Test Cases

Test Case ID
PNF-POB-OB-1
Test Case NameTest Pre-Onboarding of Vendor Supplied Package in VNF-SDK
DescriptionTaking 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
ReleaseDublin
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
StepExpected 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.csarCsar file is present on linux machine.

Validate csar package using VTP tool bt 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 bt running command:

oclip --product onap-vtp csar-validate --pnf --csar valid_all.zip

Validation doesn't find violations in valid_all.zip package
Conclusion (Pass/Fail)
Testing LabONAP Lab/standalone linux machine



Test Case ID
PNF-POB-OB-2
Test Case NameTest Onboarding of Vendor Supplied Package in SDC
DescriptionTaking 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
ReleaseDublin
PreconditionsSample csar package mimicking vendor csar agreed and available
Testing Steps
StepExpected Result

Using csar package as test data execute test case as per 5G - PNF Onboarding Test Cases and Status#5G-PNFOnboardingTestCasesandStatus-PNF-OB-1

Sample vendor csar package is onboarded and available in SDC catalog



Conclusion (Pass/Fail)
Testing LabONAP Lab
  • No labels