Commit 1d69ccac authored by Stefan Spettel's avatar Stefan Spettel

fix(smf): add snssai and plmn to model in N7

Signed-off-by: default avatarStefan Spettel <stefan.spettel@eurecom.fr>
parent 8080ecc5
......@@ -77,7 +77,7 @@ struct policy_association {
oai::smf_server::model::Snssai snssai_model;
snssai_model.setSst(snssai.sst);
snssai_model.setSd(std::to_string(snssai.sd));
oai::smf_server::model::PlmnId plmn_id_model;
oai::smf_server::model::PlmnIdNid plmn_id_model;
std::string mnc_string = std::to_string(plmn.mnc_digit1) +
std::to_string(plmn.mnc_digit2) +
std::to_string(plmn.mnc_digit3);
......@@ -96,6 +96,8 @@ struct policy_association {
from_json(pdu_session_type.toString(), pdu_session_type_model);
context.setPduSessionType(pdu_session_type_model);
context.setDnn(dnn);
context.setSliceInfo(snssai_model);
context.setServingNetwork(plmn_id_model);
}
std::string toString() {
......
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