Skip to content
Snippets Groups Projects
Commit af39b520 authored by free5gc-org's avatar free5gc-org
Browse files

fix(webconsole): sm policy and smf data dnn

parent d176304c
No related branches found
No related tags found
No related merge requests found
......@@ -421,14 +421,12 @@ class SubscriberModal extends Component {
},
"SessionManagementSubscriptionData": smDatasFromSliceConfiguration(formData["sliceConfigurations"]),
"SmfSelectionSubscriptionData": {
"DnnInfosubscribedSnssaiInfos": _.fromPairs(
"subscribedSnssaiInfos": _.fromPairs(
_.map(formData["sliceConfigurations"], slice => [snssaiToString(slice.snssai),
{
"dnnInfos": [
{
"dnn": "internet",
},
]
"dnnInfos": _.map(slice.dnnConfigurations, dnnCofig => {
return {"dnn": dnnCofig.dnn}
})
}]))
},
"AmPolicyData": {
......@@ -444,11 +442,14 @@ class SubscriberModal extends Component {
"sst": slice.snssai.sst,
"sd": slice.snssai.sd
},
"smPolicyDnnData": {
"internet": {
"dnn": "internet"
},
},
"smPolicyDnnData": _.fromPairs(
_.map(slice.dnnConfigurations, dnnConfig => [
dnnConfig.dnn,
{
"dnn": dnnConfig.dnn
}
])
)
}]))
},
"FlowRules": flowRulesFromSliceConfiguration(formData["sliceConfigurations"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment