e2sm: change function name to generate_ric_indication_content

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent bce8d65ec0
commit 62d1ba059f

@ -62,12 +62,12 @@ public:
uint32_t get_revision() { return _revision; };
virtual bool generate_ran_function_description(RANfunction_description& desc, ra_nfunction_item_s& ran_func) = 0;
virtual bool process_ric_event_trigger_definition(ricsubscription_request_s subscription_request,
virtual bool process_ric_event_trigger_definition(ricsubscription_request_s subscription_request,
RIC_event_trigger_definition_t& event_def) = 0;
virtual bool process_ric_action_definition(ri_caction_to_be_setup_item_s ric_action,
E2AP_RIC_action_t& action_entry) = 0;
E2AP_RIC_action_t& action_entry) = 0;
virtual bool remove_ric_action_definition(E2AP_RIC_action_t& action_entry) = 0;
virtual bool execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) = 0;
virtual bool generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) = 0;
virtual void receive_e2_metrics_callback(const enb_metrics_t& m) = 0;

@ -41,7 +41,7 @@ public:
RIC_event_trigger_definition_t& event_def);
virtual bool process_ric_action_definition(ri_caction_to_be_setup_item_s ric_action, E2AP_RIC_action_t& action_entry);
virtual bool remove_ric_action_definition(E2AP_RIC_action_t& action_entry);
virtual bool execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication);
virtual bool generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication);
virtual void receive_e2_metrics_callback(const enb_metrics_t& m);

@ -224,7 +224,7 @@ bool e2sm_kpm::remove_ric_action_definition(E2AP_RIC_action_t& action_entry)
return false;
}
bool e2sm_kpm::execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication)
bool e2sm_kpm::generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication)
{
uint32_t action_id = action_entry.sm_local_ric_action_id;
if (!registered_actions_data.count(action_id)) {

@ -211,7 +211,7 @@ void ric_client::ric_subscription::send_ric_indication()
ric_indication.ri_caction_id = action.ric_action_id;
ric_indication.ri_indication_sn_present = true;
ric_indication.ri_indication_sn = _generate_ric_indication_sn();
sm_ptr->execute_action_fill_ric_indication(action, ric_indication);
sm_ptr->generate_ric_indication_content(action, ric_indication);
e2_ap_pdu_c send_pdu = parent->e2ap_.generate_indication(ric_indication);
parent->queue_send_e2ap_pdu(send_pdu);

Loading…
Cancel
Save