-
Notifications
You must be signed in to change notification settings - Fork 3
[Proposal]: Magma integration test framework #30
Description
Project: Magma 5G ngap integration test framework
Elevator Pitch:
Magma 5G SA is in continuous development, hence new features addition and refactoring are recurring. There is a need to have an integration framework to ensure that existing features/functionalities are working as expected.
This proposal presents a framework similar to the s1ap test framework in Magma LTE, which will empower developers for smooth integration with 5G SA functionality.
Contact information:
Laawanya Kishor
Email: laawanya.kishor@wavelabs.ai
Project Details:
Implementation Approach:
magma_test VM will be used to compile and run 5G test simulator.
NGAP Test Framework architecture
Fig: Representation of architecture
NGAP Test Framework Components
Fig: Representation of Project Components
The framework will have five primary Components.
- UE Application: It will have functions and placeholders for UE procedures.
- Gnb Application: It will have functions and placeholders related to N2, N3 interfaces, SCTP association and other gnodeb processes.
- Test Controller Framework: It will contain placeholders for managing all other components.
- Traffic Generator: It will contain placeholders to generate traffic packets.
- Test Controller Stub: It will contain a placeholder for all the test scenarios. These scenarios are grouped into the following categories:
- Attach Detach Scenario
- Mobility Management Scenario
- Session Management Scenario
- Session Modification Scenario
- Traffic Management Scenarios
Milestone Overview
The project will be delivered in 5 Milestones. 4 of these milestones are focused on development, while the fifth will include regressive testing and evaluation. Each milestone is further divided into sub milestones as follows:
Milestone 1:
This milestone will have deliverables in the following functional areas:
Basic Framework
- Framework (
Test Controller Framework) - Gnb placeholders (
Gnodeb Application) - Ue placeholders (
Ue Application) - NGAP encoding/decoding (
NGAP Module) - NAS encoding/decoding (
NAS Module) - sctp placeholder (
SCTP) - gtp placeholder (
GTPU)
Basic registration procedures
Each scenario will contain multiple test cases (ranging from 5-15).
- SCTP Scenarios
- Plmn verification scenarios
- Registration Deregistration
Milestone 2:
This milestone will have deliverables in the following functional areas:
Mobility Management:
Each scenario will contain multiple test cases (ranging from 5-15).
- Identification scenarios (SUCI/GUTI etc)
- Authentication scenarios
- Security mode scenarios
- Registration complete and ICS handler
Session Management:
Each scenario will contain multiple test cases (ranging from 5-15).
- PDU Session Scenarios (Establishment Request, Accept)
- Timer-based
Milestone 3:
This milestone will have deliverables in the following functional areas:
Additional Test Cases for Mobility and Session Management:
Each scenario will contain multiple test cases (ranging from 5-15).
- Session Modification Scenarios
- Paging Scenarios
- Idle mode Scenarios
Traffic Scenarios:
Each scenario will contain multiple test cases (ranging from 5-15).
- Mobility (Ip allocation related test cases for v4, v6 etc)
- Traffic scenarios(
Traffice Generator)
Milestone 4:
This milestone will have deliverables in the following functional areas:
Negative Scenarios
- Negative Scenarios for all the above covered test cases.
- Multi Session Scenarios for all the above covered test cases.
Milestone 5:
This milestone will have deliverables in the following functional areas:
Evaluation
- Overall Integration
- Bug fixes
- Documentation
- Minor Enhancements
Roadmap
The project will be delivered in 5 Milestones timelines as indicated.
| Milestone | Deliverable Summary |
|---|---|
| MS1 | Basic Framework, Encoding and Decoding of IEs and basic registration procedures |
| MS2 | Mobility Management and Session Management basic test cases |
| MS3 | Additional Test Cases for Mobility and Session Management including traffic cases |
| MS4 | Negative and timeout scenarios with multi session test cases |
| MS5 | Overall Integration, Bug fixes and minor enhancements |

