...
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Head Tpic:
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
Test Status
No | Test Case | Test Status |
---|---|---|
1 | Download NE SW for PNF instance 1 from CDS to EM using SS REST API | COMPLETE |
2 | Activate NE SW for PNF instance 1 from CDS to EM using SS REST API | COMPLETE |
3 | Download NE SW for PNF instance 2 from CDS to EM using SS REST AP | COMPLETE |
4 | Activate NE SW for PNF instance 2 from CDS to EM using SS REST API | COMPLETE |
5 | Test PNF SW upgrade Workflow for PNF instance 1 from SO to CDS (using SS gRPC API) to EM | COMPLETE |
...
1. Initial PNF 5gDU0001 entry in AAI:
{ "pnf-name": "5gDU0001", "pnf-id": "5gDU0001", "ipaddress-v4-oam": "192.168.35.83", "sw-version": "v1", "in-maint": false, "resource-version": "1584886143037" } |
Where Sw Version of PNF 5gDU0001 is "v1".
...
3. Add some entries to SO catalogdb:
use catalogdb; insert into pnf_resource set MODEL_UUID='0b49b277-892c-4094-badd-3d2535d650b0', MODEL_VERSION='1.0'; insert into pnf_resource_customization set MODEL_CUSTOMIZATION_UUID='0649420c-ca2d-4e0a-9d34-2dca28d43a27', MODEL_INSTANCE_NAME='TestPnf', PNF_RESOURCE_MODEL_UUID='0b49b277-892c-4094-badd-3d2535d650b0', CONTROLLER_ACTOR='cds', CDS_BLUEPRINT_NAME='PNF_SW_UPGRADE_WITH_EM', CDS_BLUEPRINT_VERSION='1.0.0'; insert into pnf_resource_customization_to_service set SERVICE_MODEL_UUID='df91c347-4452-4d2e-9cfc-9ac3fe2a2a1b', RESOURCE_MODEL_CUSTOMIZATION_UUID='0649420c-ca2d-4e0a-9d34-2dca28d43a27'; insert into workflow (ARTIFACT_UUID, ARTIFACT_NAME, NAME, VERSION, DESCRIPTION, RESOURCE_TARGET, SOURCE) values ('245a0bca-3816-45c6-9270-1de25d27fc56', 'PNFSoftwareUpgrade.bpmn', 'PNFSoftwareUpgrade |
', '1.0', 'PNF Software Upgrade Test', 'pnf', 'native'); |
4. Upload CBA file to CDS:
Run the following commands:
git clone https://gerrit.onap.org/r/integration cd integration/test/mocks/emssimulator/pnf-sw-upgrade-cba-builder ./build-cba-for-pnf-sw-upgrade-with-em.sh |
Upload the generated PNF_SW_UPGRADE_WITH_EM.zip file to CDS.
Detailed Description of Integration Testcases and Results
...
Test case ID | 5 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Test PNF SW upgrade Workflow for PNF instance 1 from SO to CDS (using SS gRPC API) to EM | ||||||||||||||||||||
Description | Test PNF SW upgrade Workflow for PNF instance 1 from SO to CDS (using SS gRPC API) to EM | ||||||||||||||||||||
Release | Frankfurt | ||||||||||||||||||||
Pre-conditions | |||||||||||||||||||||
Testing Steps | NOTE: 1. Befor testing this case, reset the EMS Simulator to initial status; 2. Upload CBA file PNF_SW_UPGRADE_WITH_EM.zip to CDS.
Retrieve the status of the workflow:
While the requestStatus is "IN_PROGRESS", then wait a minute to retrieve the status of workflow again and agiain, until the requestStatus is "COMPLETED":
While the requestStatus is "COMPLETED", then retrieve the Sw Version of PNF 5gDU0001 in AAI:
The Sw Version of PNF 5gDU0001 in AAI is upgrade to "v2". Retrieve the status of EMS Simulator:
The software version of PNF 5gDU0001 in EMS Simulator is upgraded to "v2". | ||||||||||||||||||||
Conclusion (Pass/Fail) | Pass | ||||||||||||||||||||
Test Lab |
...