Monitor Customized SM
Overview
A customized service models monitoring xApp is designed to collect the states from the RAN functions in E2-Nodes via different customized SMs, including MAC, RLC, PDCP, GTP, and SLICE SMs. It prints out the one way latency of indication message, which is sent from E2-Node to xApp. It includes the following stages:
- Init: initializes xApp based on configuration to set up the E42 connection with NearRT-RIC
- Report Service: subscribes RAN functions to each E2-Node based on the configured service model
- xApp Logic: prints out one way latency of each SM's indication message
- Exit: unsubscribes and terminates xApp
Note: It is mandatory to have a configuration file for this xApp since it is required to know which service model to call with specific indication periodic timer.
Check the customized xApp configuration for detail implementation
Sequence Diagram
Detail
source code: link
Init - Step 2 to 6
- Used Functions
Report Service - Step 7 to 13
- Used Function
xApp Logic - Step 14
- Used Function
sm_cb_{SM-NAME}()
sm_cb_mac()
sm_cb_rlc()
sm_cb_pdcp()
sm_cb_gtp()
sm_cb_slice()
Exit - Step 15 to 20
- Used functions