-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/profile #114
feat/profile #114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the profile of FlowRules.filter
is too complicate, I think we can save the detination(w/wo port) only.
"FlowRules": [
{
"snssai": "01010203",
"dnn": "internet",
"filter": "permit out 17 from 192.168.0.0/24 8000 to 60.60.0.0/24 ",
"qfi": 5
}
],
The flow rules that saved in mongoDB:
{
"_id": {
"$oid": "66fa16cd912d361ab914446e"
},
"dnn": "internet",
"qosRef": 1,
"ueId": "imsi-208930000000001",
"servingPlmnId": "20893",
"filter": "1.1.1.1/32",
"precedence": 128,
"snssai": "01010203"
}
1685dcc
to
dece432
Compare
… profile DTO implement
…d be profileName)
0e735ce
to
6677c96
Compare
8707725
to
7094306
Compare
…mponent, which used by profileRead and subscriberRead
7094306
to
458309a
Compare
backend/WebUI/api_webui.go
Outdated
return | ||
} | ||
if len(pf) == 0 { | ||
c.JSON(http.StatusNotFound, gin.H{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use models.problemDetails (from openapi pkg) to instead.
Add new feature - profile