Commit 95b02ac8 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Update AMF profile

parent 97450c68
...@@ -758,16 +758,15 @@ void amf_app::handle_itti_message(itti_sbi_update_amf_configuration& itti_msg) { ...@@ -758,16 +758,15 @@ void amf_app::handle_itti_message(itti_sbi_update_amf_configuration& itti_msg) {
Logger::amf_app().debug( Logger::amf_app().debug(
"AMF configuration:\n %s", response_data["content"].dump().c_str()); "AMF configuration:\n %s", response_data["content"].dump().c_str());
response_data["httpResponseCode"] = 200; // TODO: response_data["httpResponseCode"] = 200; // TODO:
// TODO: Send message to update AMF profile at NRF
// Update AMF profile // Update AMF profile
generate_amf_profile(); generate_amf_profile();
// Update AMF profile at NRF // Update AMF profile (complete replacement of the existing profile by a new
/* if (amf_cfg.support_features.enable_nf_registration and // one)
amf_cfg.support_features.enable_external_nrf) if (amf_cfg.support_features.enable_nf_registration and
update_amf_profile(); amf_cfg.support_features.enable_external_nrf)
*/ register_to_nrf();
} else { } else {
response_data["httpResponseCode"] = 400; // TODO: response_data["httpResponseCode"] = 400; // TODO:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment