-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add support for SDM Subscription and Unsubscription #95
Conversation
c382a7e
to
14c5885
Compare
14c5885
to
2a2ec51
Compare
Hi! |
Hi, |
Hi,
|
Thank you for sharing. I shall also check to analyze the issue. Thanks again :) |
Hi, The merge issue was resolved in the latest patch. Remove duplicated code that is causing the crash. Thanks |
Sorry, wrongly clicked close with commit button. Reopening PR. Thanks! |
Thanks, I will try this PR next week. |
Looks good for me ! |
Thanks @ming-hsien . |
@@ -16,6 +16,26 @@ func RemoveSMContextFromAllNF(smContext *smf_context.SMContext, sendNotification | |||
} | |||
} | |||
|
|||
problemDetails, err := consumer.SDMUnSubscribe(smContext) |
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.
This was also called in some HandleFunction in pdu_session.go
, leading to re-UnSubscribe.
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.
Can the UDM complying with openapi be handled seperately |
Sure. |
Could you please share the steps used with Packet rusher termination for recreating the issue. |
This article shows how to use PacketRusher. When using CRTL+c to terminate UE, packet rusher would send dereg. |
Hi @andy89923 , sorry for the delay as i was occupied in other work. I looked the issue today and identified the problem. The issue is due to the return statement in line #162 in subscriber_data_management.go. Due to this the DeleteUe() is not triggered. I will fix the issue and upload latest patch. Thanks! |
Hi, thanks for your contribution. Some informations to let you know:
|
could you please share the commands so that i shall not make any mistake. Thanks! |
I did rebase and followed ""Conventional commit message" in latest commit. However it looks like due to old commit message the commit check failure encountered. |
And change "pick" -> "reword", you can revise the commit message. |
c63b92c
to
ad3979f
Compare
fix lint error fix golangci-lint error for package import fix golangci-lint error for package import fix golangci-lint error for package import fix golangci-lint error for package import fix golangci-lint error for package import
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ad3979f
to
216e322
Compare
I followed the recommended. However encountering issue due to multiple old commits. Thanks! |
If the PR is ready, just let me know. I can help you fix the commit message. |
d8a8c3a
to
5418c70
Compare
Hi PR is ready. issues encountered due to rebase and commit messages. Thanks! |
Ok! |
Hi, @saileshvvr This PR need rebase and drop not necessary commits since it had conflict with main branch. |
Hi @andy89923 . Thanks |
Thanks for your contribution~ |
Hi @andy89923 , |
@saileshvvr Thanks for reporting; I am looking for where is the problem. |
Hi @andy89923 , Thanks |
@saileshvvr |
Add support for SDM Subscription during UE 1st PDU Session Establishment
Add support for SDM UnSubscription during release of last UE PDU Session
Code refactor to handle all SDM processing (SDM_Get and Subscription/Unsubscription) under consumer package