Skip to content

Add Timer-Based Events for Realistic Network Behavior #2

Description

@MohamedSeliem

Description

Currently, all messages in the simulation are processed instantaneously, which doesn't reflect the inherent delays and timeouts present in real 5G networks. To enhance the realism of our 5G Core simulation, we need to incorporate timer-based events that simulate these network behaviors.

Objective

Implement timer mechanisms in the Access and Mobility Management Function (AMF), Session Management Function (SMF), and Authentication Server Function (AUSF) to handle events such as timeouts and retransmissions, thereby simulating realistic network delays.

Tasks

AMF Enhancements

  • Implement timers to manage authentication timeouts. If the AUSF doesn't respond within a specified timeframe, the AMF should trigger an "AUTH_TIMEOUT" event and handle it appropriately (retrying authentication or rejecting UE registration).
  • Utilize OMNeT++'s cMessage class for self-scheduling events to simulate these timers.

SMF Enhancements

  • Introduce timers to handle session establishment and modification procedures, ensuring that delays and timeouts are realistically simulated.
  • Use OMNeT++'s scheduleAt() function to schedule these timer events.

AUSF Enhancements

  • Implement mechanisms to manage authentication confirmation timeouts, ensuring that the system can handle scenarios where responses are delayed or not received.

References

Acceptance Criteria

  • The simulation accurately reflects network delays and timeouts, with components like AMF, SMF, and AUSF responding to timer-based events as specified.
  • The system handles scenarios such as authentication timeouts by triggering appropriate events and responses.

Additional Notes

Incorporating timer-based events is crucial for simulating real-world 5G network behaviors, enhancing the accuracy and reliability of our simulations.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions