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 »
Table of Contents
Scenario Scope In Frankfurt
This scenario will demonstrate PNF SW upgrade with netconf/yang interface with EM. The E2E procedure is VID→ SO→ CDS→ EMS → PNF. Beyond the work of scenario 1, it also need:
Impacts
JIRA Status Tracking
key |
summary |
type |
created |
updated |
due |
assignee |
reporter |
priority |
status |
resolution |
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 With Exception: WF was executed as expected (SW version was changed) but not right response from SO. |
Initial Status
Initial Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> </software-management> |
Detailed Description of Integration Testcases and Results
Test case ID | 1 |
---|
Name | Download NE SW for PNF instance 1 from CDS to EM using SS REST API |
Description | Download NE SW for PNF instance 1 from CDS to EM using SS REST API |
Release | Frankfurt |
Pre-conditions |
|
Testing Steps |
Contents of downloadNESw-request-body.json |
---|
{ "commonHeader": { "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54" }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "downloadNESw", "mode": "sync" }, "payload": { "downloadNESw-request": { "downloadNESw-properties": { "pnf-id": "5gDU0001", "target-software-version": "v2" } } } } |
Response of CDS |
---|
{ "commonHeader": { "timestamp": "2020-03-12T09:18:44.898Z", "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54", "flags": null }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "downloadNESw", "mode": "sync" }, "status": { "code": 200, "eventType": "EVENT_COMPONENT_EXECUTED", "timestamp": "2020-03-12T09:18:54.770Z", "errorMessage": null, "message": "success" }, "payload": { "downloadNESw-response": {} } } |
Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>DOWNLOAD_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:18:54Z</state-change-time> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> </software-management> |
|
Conclusion (Pass/Fail) | Pass |
Test Lab |
|
Test case ID | 2 |
---|
Name | Activate NE SW for PNF instance 1 from CDS to EM using SS REST API |
Description | Activate NE SW for PNF instance 1 from CDS to EM using SS REST API |
Release | Frankfurt |
Pre-conditions |
|
Testing Steps |
Contents of activateNESw-request-body.json |
---|
{ "commonHeader": { "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54" }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "activateNESw", "mode": "sync" }, "payload": { "activateNESw-request": { "activateNESw-properties": { "pnf-id": "5gDU0001", "target-software-version": "v2" } } } } |
Response of CDS |
---|
{ "commonHeader": { "timestamp": "2020-03-12T09:29:23.915Z", "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54", "flags": null }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "activateNESw", "mode": "sync" }, "status": { "code": 200, "eventType": "EVENT_COMPONENT_EXECUTED", "timestamp": "2020-03-12T09:29:33.731Z", "errorMessage": null, "message": "success" }, "payload": { "activateNESw-response": {} } } |
Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:29:33Z</state-change-time> <swVersionToBeActivated>v2</swVersionToBeActivated> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> </software-management> |
|
Conclusion (Pass/Fail) | Pass |
Test Lab |
|
Test case ID | 3 |
---|
Name | Download NE SW for PNF instance 2 from CDS to EM using SS REST AP |
Description | Download NE SW for PNF instance 2 from CDS to EM using SS REST AP |
Release | Frankfurt |
Pre-conditions |
|
Testing Steps |
Contents of downloadNESw-request-body.json |
---|
{ "commonHeader": { "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54" }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "downloadNESw", "mode": "sync" }, "payload": { "downloadNESw-request": { "downloadNESw-properties": { "pnf-id": "5gDU0003", "target-software-version": "v2" } } } } |
Response of CDS |
---|
{ "commonHeader": { "timestamp": "2020-03-12T09:40:48.712Z", "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54", "flags": null }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "downloadNESw", "mode": "sync" }, "status": { "code": 200, "eventType": "EVENT_COMPONENT_EXECUTED", "timestamp": "2020-03-12T09:40:58.742Z", "errorMessage": null, "message": "success" }, "payload": { "downloadNESw-response": {} } } |
Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:29:33Z</state-change-time> <swVersionToBeActivated>v2</swVersionToBeActivated> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>DOWNLOAD_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:40:58Z</state-change-time> </pnf-software-package> </software-management> |
|
Conclusion (Pass/Fail) | Pass |
Test Lab |
|
Test case ID | 4 |
---|
Name | Activate NE SW for PNF instance 2 from CDS to EM using SS REST API |
Description | Activate NE SW for PNF instance 2 from CDS to EM using SS REST API |
Release | Frankfurt |
Pre-conditions |
|
Testing Steps |
Contents of activateNESw-request-body.json |
---|
{ "commonHeader": { "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54" }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "activateNESw", "mode": "sync" }, "payload": { "activateNESw-request": { "activateNESw-properties": { "pnf-id": "5gDU0003", "target-software-version": "v2" } } } } |
Response of CDS |
---|
{ "commonHeader": { "timestamp": "2020-03-12T09:42:11.587Z", "originatorId": "CurlTest", "requestId": "59374d97-d3bb-44b1-a808-f5a28347a10b", "subRequestId": "98d8be21-6e31-4044-985a-a58583dc5c54", "flags": null }, "actionIdentifiers": { "blueprintName": "PNF_SW_UPGRADE_WITH_EM", "blueprintVersion": "1.0.0", "actionName": "activateNESw", "mode": "sync" }, "status": { "code": 200, "eventType": "EVENT_COMPONENT_EXECUTED", "timestamp": "2020-03-12T09:42:21.153Z", "errorMessage": null, "message": "success" }, "payload": { "activateNESw-response": {} } } |
Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:29:33Z</state-change-time> <swVersionToBeActivated>v2</swVersionToBeActivated> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:42:20Z</state-change-time> <swVersionToBeActivated>v2</swVersionToBeActivated> </pnf-software-package> </software-management> |
|
Conclusion (Pass/Fail) | Pass |
Test Lab |
|
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 |
Contents of PNFSoftwareUpgrade-cds.json |
---|
{ "requestDetails": { "modelInfo": { "modelUuid": "df91c347-4452-4d2e-9cfc-9ac3fe2a2a1b" }, "requestInfo": { "instanceName": "104cdc86-ac3b-4775-8b99-409bf1c29c65" }, "requestParameters": { "userParams": [ { "name": "pnfName", "value": "5gDU0001" }, { "name": "targetSoftwareVersion", "value": "v5" } ] } } } |
Status of EMS Simulator |
---|
<software-management xmlns="http://onap.org/pnf-swm"> <pnf-software-package> <neIdentifier>5gDU0001</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v5</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:50:13Z</state-change-time> <swVersionToBeActivated>v5</swVersionToBeActivated> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0002</neIdentifier> <current-status>CREATED</current-status> <software-version>v1</software-version> </pnf-software-package> <pnf-software-package> <neIdentifier>5gDU0003</neIdentifier> <current-status>ACTIVATION_COMPLETED</current-status> <software-version>v2</software-version> <swToBeDownloaded> <swLocation>http://192.168.35.96:10080/ran_du_pkg1-v2.zip</swLocation> <swFileCompression>ZIP</swFileCompression> <swFileFormat>binary</swFileFormat> <swFileSize>12345678</swFileSize> </swToBeDownloaded> <state-change-time>2020-03-12T09:42:20Z</state-change-time> <swVersionToBeActivated>v2</swVersionToBeActivated> </pnf-software-package> </software-management> |
|
Conclusion (Pass/Fail) |
|
Test Lab |
|