RIC action definition format 4 #438
Replies: 2 comments 1 reply
-
Hi @yc541, I'm also trying to make KPM REPORT style 4 work in srsRAN with the Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @yc541, We have just released a repository that allows running ORAN-SC-RIC as a multi-container Docker application with a single docker command. You can access the repository at: https://github.com/srsran/oran-sc-ric Moreover, the repository includes two Python-based xApps examples designed to facilitate the requesting and monitoring of E2 metrics from the gNB. These examples cover all reporting styles (1-5) of the e2sm-kpm module, which has been updated to version 3. To get started quickly, refer to the We are currently working on an example xApp using e2sm_rc module. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There may be some mismatch between the asn1 encoder/decoder implemented in srsRAN and FlexRIC. I did a bit more digging following #437
In the function e2_sm_kpm_action_definition_s::unpack(cbit_ref& bref), ric_style_type is correctly decoded to 4, but in the next line in function e2_sm_kpm_action_definition_s::action_definition_formats_c::unpack(cbit_ref& bref), the line e.unpack(bref) decodes it to 2 rather than 4.
To get around with this I slightly modified e2_sm_kpm_action_definition_s::action_definition_formats_c::set(types::options e) to get it to switch based on ric_style_type rather than type_ (the values of type_ are correctly assigned as well within the cases). With the changes the code initializes the correct action definition format 4 but there are still subsequent issues unpacking the AD (not sure if the changes are the cause). In the line HANDLE_CODE(unpack_dyn_seq_of(matching_ue_cond_list, bref, 1, 32768, true)), the nof_items(in the function definition in asn1_util.h) is decoded to 13569, which should probable be 1 since in the xapp's code only dst.matching_cond_lst[0] is defined.
I have attached the pcap of AD format 1 and 4.
pcap.zip
Beta Was this translation helpful? Give feedback.
All reactions