Skip to main content

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

Sequence Diagram

Detail

source code: xapp_cust_moni.go


Init - Step 2 to 6


Report Service - Step 7 to 13

  • Used Function
    • Report_{SM-NAME}_sm()
      • Report_mac_sm()
      • Report_rlc_sm()
      • Report_pdcp_sm()
      • Report_gtp_sm()
      • Report_slice_sm()

xApp Logic - Step 14

  • Used Function
    • ({SM-NAME}Callback)Handle()
      • (MACCallback)Handle()
      • (RLCCallback)Handle()
      • (PDCPCallback)Handle()
      • (GTPCallback)Handle()
      • (SLICECallback)Handle()

Note: Each indication message received through (MAC/RLC/PDCP/GTP/SLICECallback)Handle() with the respective structure of swig_mac/rlc/pdcp/gtp/slice_ind_msg_t as input. For complete decoding of the message contents, understanding this structure is crucial.


Exit - Step 15 to 20