In I-release, test automation for new E2E Slice creation is targeted. This will be done in two steps.
- Prerequisites Automation
- Use case flow automation
1. Dependent components
Except Config DB and RAN Simulator, all the other components follow helm based deployment. Config DB needs to be containerized and Ran Simulator is a dockerized spring boot application.
- SDC
- SO
- dmaap
- mariadb
- CDS
- Multicloud
- EXT-API
- OOF
- Policy
- AAI
- SDN-R
- Config DB
- RAN Simulator
- ransim controller
- honeycomb
2. Automation
2.1. Prerequisites set up automation
Automate the steps mentioned in Manual Configurations
2.2. Use case flow automation - E2E new slice creation
Scenario1: Send request from CSMF to NSMF
Prerequisites:
- Components mentioned in the Section 1 (Dependent components) should be up and running
Section 2.1 (Prerequisites set up automation) should be completed
- Script to input the slice profiles returned from OOF to NSSMFs and to feed the AN and CN endpoints to TN NSSMF ( for manual inputs in the E2E flow)
Entrypoint:
- Send a request to CSMF
- Execute the script to pass the slice profiles to NSSMFs and endpoints to TN NSSMF
Success Criteria:
- Check the request DB for the request completeness
- Verify the sync response
- Verify the below in AAI
- Service Profile creation in AAI
- Relationship between NSI and Service Profile
- Relationship between RAN Slice Profile and Service Profile
- Relationship between RAN Slice Profile and RAN NSSI
- Relationship between NSI and RAN NSSI
- Relationship between RAN NF Slice Profile and RAN NF NSSI
- Relationship between RAN NSSI and RAN NF NSSI
- Relationship between TN-FH Slice Profile and RAN Slice Profile
- Relationship between TN-FH Slice Profile and TN-FH NSSI
- Relationship between TN-FH NSSI and RAN NSSI
- Relationship between TN-MH Slice Profile and RAN Slice Profile
- Relationship between TN-MH Slice Profile and TN-MH NSSI
- Relationship between TN-MH NSSI and RAN NSSI
- Relationship between Core Slice Profile and Service Profile
- Relationship between Core Slice Profile and Core NSSI
- Relationship between NSI and Core NSSI
- Relationship between TN-BH Slice Profile and Service Profile
- Relationship between TN-BH Slice Profile and TN-BH NSSI
- Relationship between NSI and TN-BH NSSI
- Verify whether the status from SDN-R is success
- Verify whether response code 200 is received from TN for FH, MH & BH
- Verify whether response code 200 is received from CN
- Verify the asynchronous response from NSSMFs
To check:
Need to check how the Python SDK can be used for automation