Commit 9950157c authored by Steafn Spettel's avatar Steafn Spettel Committed by Raphael Defosseux

fix(nrf): Added new fields in UPF Info display function and added ref to 3GPP release

Signed-off-by: default avatarSteafn Spettel <stefan.spettel@eurecom.fr>
parent 101aefc1
...@@ -67,6 +67,7 @@ typedef struct smf_info_s { ...@@ -67,6 +67,7 @@ typedef struct smf_info_s {
typedef struct dnn_upf_info_item_s { typedef struct dnn_upf_info_item_s {
std::string dnn; std::string dnn;
std::vector<std::string> dnai_list; std::vector<std::string> dnai_list;
// Introduced in R16.8
std::map<std::string, std::string> dnai_nw_instance_list; std::map<std::string, std::string> dnai_nw_instance_list;
// std::vector<std::string> pdu_session_types // std::vector<std::string> pdu_session_types
} dnn_upf_info_item_t; } dnn_upf_info_item_t;
......
...@@ -1024,6 +1024,16 @@ void upf_profile::display() { ...@@ -1024,6 +1024,16 @@ void upf_profile::display() {
for (auto d : s.dnn_upf_info_list) { for (auto d : s.dnn_upf_info_list) {
Logger::nrf_app().debug( Logger::nrf_app().debug(
"\t\tSNSSAI UPF Info List, DNN List: %s", d.dnn.c_str()); "\t\tSNSSAI UPF Info List, DNN List: %s", d.dnn.c_str());
for (auto dnai : d.dnai_list) {
Logger::nrf_app().debug(
"\t\tSNSSAI UPF Info List, DNN List, DNAI List: %s", dnai.c_str());
}
for (auto nwinstance : d.dnai_nw_instance_list) {
Logger::nrf_app().debug(
"\t\tSNSSAI UPF Info List, DNN List, DNAI NW Instance List: %s : "
"%s",
nwinstance.first.c_str(), nwinstance.second.c_str());
}
} }
} }
if (!upf_info.interface_upf_info_list.empty()) { if (!upf_info.interface_upf_info_list.empty()) {
......
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