--TEST STATUS for Dublin Release ----
The Netconf configuration over TLS use case consists Overview:
The E2E integration test consists of three main parts:
- SO will implement two more steps in workflow CONFIG-ASSIGN and CONFIGURE step.
- CDS Blueprint Processor will implement the mount, configure and un-mount requests to SDNC after getting CONFIGURE request from SO. The processor currently has the ability to read a blueprint from archive and process it.
- SDNC will load client cert , trusted certs and private key at deployment time. ODL should also be upgraded to Flourine SR2 version to serve above requests. The upgrade is being tracked as part of SDNC-555
Image Removed
JIRAs:
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | CCSDK-926 |
---|
|
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | CCSDK-1023 |
---|
|
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | SDNC-556 |
---|
|
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | SDNC-621 |
---|
|
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | SO-1506 |
---|
|
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | INT-885
Gliffy |
---|
| |
---|
size | 600 |
---|
name | SDC-service-distribution Copy |
---|
pagePin | 1 |
---|
|
Image Added
Image Added
Deployment:
Test environment requirements for the test cases:
- xNF simulator for test cases: PNF Simulator with TLS & YANG support.Rest Client simulator.
- SO with Config-Assign and Configure steps implemented in workflows.
- CDS Blueprint processor enhanced so that it can send mount, configure and un-mount rest request to SDNC.
- SDNC enhanced with ODL flourine SR2 and also capable to import client and trusted certificate and private key at deployment time.
This environment can be set up by following the steps below.
- Repo : Yet to update
- RUN : Yet to update
Use Case preconditions:
- xNF simulator.Rest Client sim.
E2E Netconf config over TLS Sequence Diagram
Image RemovedHigh Level End-to-End feature integration
Testcases StatusNon-existing PNF: Configuration is sent for a PNF that cannot be found on ONAP, example: IP address does not exist; failed outcome | 9 | ODL instance not found: no ODL is available in SDN-C to respond to the Restconf requests; failed outcome | 10 | Blueprint contains invalid configuration: the blueprint’s Restconf commands are wrong, provoking an error while sending them to ODL; failed outcome | Status |
---|
colour | Grey |
---|
title | Not Started |
---|
Detailed Description End-to-End Feature Integration Testcases :
Test Case ID | Netconf_TLS_E2E_01 |
---|
Test Case Name | SO sends CONFIG-ASSIGN and CONFIGURE request to SS-API |
Description | Ensure that PNF_READY notification is received by SO from simulated environment then SO sends CONFIG-ASSIGN request to SS-API |
Release | Dublin |
Pre-conditions | SO should be waiting for PNF_READY notification after registration process and fully configured as per registration process. Follow the 5G - PNF PnP - Integration Test Cases T01, T02, T03, T04 to complete the PNF registration and waiting for the PNF_READY notification. |
Testing Steps | Steps | Expected Result |
---|
- Send PNF_READY to SO
- SO will send CONFIG-ASSIGN to SS-API
- Receive it and Check if it is correct
- Send OK response to SO
- SO will send CONFIGURE request to SS-API
- Receive it and check if it is correct
- Send OK response to SO
| The SO accepted the "PNF_READY" Notification.
and sends out the CONFIG-ASSIGN request to SS-APIand receive an OK response from SS-API
Conclusion (Pass /Fail) | Testing Lab | Test Case ID | Netconf_TLS_E2E_02 |
---|
Test Case Name | Sends CONFIGURE request to SS-API |
Description | In this simulated CONFIG-ASSIGN request will be sent to SS-API and response will be picked to check if response is OK. |
Release | Dublin |
Pre-conditions | Blueprint processor should have access to correct blueprint in archive to process it. SDN-C should be available |
Testing Steps
Steps | Expected Result |
Sends CONFIGURE request to SS-APISS-API will receive it
SS-API send CONFIGURE request to Blueprint Processor component.Component sends Mount to SDN-CReceive this request read it if it is correctSend OK 200 response Blueprint processor sends configuration request to SDN-CReceive this request read it if it is correctSDN-C sends OK 200 responseBlueprint processor sends un-mount request to SDN-CReceive this request read it if it is correctSDN-C sends OK 200 responseCheck for mount, configure and un-mount messages triggered by the Blueprint processor component. Verify that messages are valid and reflect all the expected parameters. | Conclusion (Pass /Fail) | Testing Lab | Test Case ID | Netconf_TLS_E2E_03 |
---|
Test Case Name | Check SDN-C has client cert, private key and trusted certs setup at deployment |
Description | SDN-C configure client cert, private key and trusted certs and deployment time. This test case verifies if all certificates are configured fine. |
Release | Dublin |
Pre-conditions | SDN-C should be up and running successfully |
Testing Steps
Steps | Expected Result |
---|
- Send GET request from rest client to SDN-C for key store
- Verify if it has all necessary entries for Client cert, trusted certs and private key.
| Get request should get all certs and private key successfully. |
Conclusion (Pass /Fail) | Testing Lab | Test Case ID | Netconf_TLS_E2E_04 |
---|
Test Case Name | Connect SDN-C and PNF simulator for configuration step |
Description | SDN-C/ODL will send mount , configure and un-mount request to PNF simulator and check if PNF simulator is configured successfully. |
Release | Dublin |
Pre-conditions | PNF simulator should be up and running with TLS port listening. It should also be configured with Yang Models necessary for configuration request. |
Testing Steps
Steps | Expected Result |
Send mount request to SDN-C from rest client.Check for 200 OK responseSend GET request for mountCheck data from GET responseSend configuration request to SDN-C from rest client.Check for 200 OK responseSend GET request for configurationCheck data from GET responseSend un-mount request to SDN-C from rest clientcheck for 200 OK responseSend GET request for un-mountCheck data from GET responseGet response should give correct result for mount, configure and un-mount. | Conclusion (Pass /Fail) | Testing Lab | Test Case ID | Netconf_TLS_E2E_051 | After PNF_READY, SO sends CONFIG-ASSIGN and CONFIGURE request to Self Service API (SS-API) | 2 | SO Sends CONFIGURE request to SS-API | 3 | Verify SDN-C have client cert, private key and trusted certs setup at deployment | 4 | Connect SDN-C and PNF Simulator for configuration step | 5 | E2E test case for NETCONF over TLS | 6 | Successful flow: CONFIG-ASSIGN and CONFIGURE steps will conclude as expected, and the desired configuration will be applied to the PNF; successful outcome | 7 | Configlet(s) not found: Step deployConfig is called before assignConfig and thus the configlet was never created and persisted in the CDS database; failed outcome | 8 |
Detailed Description End-to-End Feature Integration Testcases :
| NETCONF_CONFIGURATION_TLS_E2E |
---|
Test Case Name | E2E test case for NETCONF over TLS |
Description | Ensure that PNF_READY notification is received by SO from |
simulated environment PRH then SO sends CONFIG-ASSIGN, CONFIGURE request to SS-API, to configure the xNF |
Release | Dublin |
Pre-conditions | - SO should be waiting for PNF_READY notification after registration process and fully configured as per registration process.
- Blueprint archive should be configured for correct blueprint.
- SDNC should be installed successfully with keystore preconfigured with certificates of PNF-SIM.
Certificates for PNF simulator can be picked up from here. Copy these certs in /dockerdatanfs/sdnc/certs and
|
PNF simulator 2. SS-API forwards the request to BP, that will load the blueprint, execute the action specified, prepare the configlet, persist it and return a successful message to SO
3. SO recognizes the success message and sends a request to perfom action deployConfig
Code Block |
---|
|
blueprintName: String
blueprintVersion: Integer
action: String
pnf-name: String
pnf-ip: String |
4. SS-API forwards the request to Blueprint Processor, that will load the blueprint, execute the action specified, retrieve the configlet from the persistence, connect to ODL, send the configlet(s) to the PNF and return a successful message to SO- install sdnc.
- PNF-SIM should be running with TLS support.
Install pnf simulator from here using ./simulator.sh start. It will start simulator in TLS/SSH mode at 6503/830 port. Send VES message by changing config/config.json. |
Testing Steps |
Steps | Expected Result |
---|
- Send PNF_READY to SO(This step will trigger a run to SS-API, BP component, SDNC and PNF simulator)
|
|
Send SSH mount/connect request to SDNC/ODL using rest client.Send GET request for configuration to get configuration, set in step 1.Verify received configuration is correct.Get response should give correct result for configureConclusion (Pass /Fail) | Testing Lab | Test Case ID | Netconf_TLS_E2E_06 |
---|
Test Case Name | Successful flow |
Description | Steps assignConfig and deployConfig will conclude as expected, and the desired configuration will be applied to the PNF
|
Release | Dublin |
Pre-conditions | Valid PNF Valid blueprint SO is primed and post PNF registration stage ODL instance is installed and available |
Testing Steps
Steps | Expected Result |
---|
1. SO sends a request to perform action assignConfig
Code Block |
---|
|
blueprintName: String
blueprintVersion: Integer
action: String
pnf-name: String
pnf-ip: String |
- SO sends CONFIG-ASSIGN request to CDS.
- SO receives the response from CDS for CONFIG-ASSIGN as success.
- SO sends CONFIG-DEPLOY async request to CDS.
- CDS sends patch(includes mount, configure and unmount request) to SDNC.
- SDNC sends mount request to PNF-SIM using TLS connection.
- CDS send connection status to SDNC for PNF-SIM.
- SDNC sends configuration request to PNF-SIM.
- SDNC sends unmount request to PNF-SIM.
- Verify received configuration is correct on PNF-SIM (Manual verification).
| Get response should give correct result for configuration on PNF-SIM
|
|
Conclusion (Pass /Fail) | |
Testing Lab |
?Ericsson Lab, Windriver Lab |
Information:
Next Step(s):