-
Notifications
You must be signed in to change notification settings - Fork 87
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
base: main
Are you sure you want to change the base?
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
* support converged charging * flow status * add pdu level charging urr to default data path * fix: only onlince charging need to request unit * fix: release charging session in all pdu session release case * fix: don't send charging request for non-charging urr * rm untested code * update openapi/pfcp hash * add nil & error checking * update go.sum * add more error checking * fix test fail * fix ci error * add comment for addPduLevelChargingRuleToFlow() * add comment & fix potential synchronization issues * fix typo & linter error * handle assigned when IP in ipFilterRule is assigned * fix typo * fix typo & set default value of RequestedUnit * fix NewSMContext * fix: remove SwapSrcAndDst() * fix: UL, DL flow description should be same * remove SMF's default data path to reduce redundant PDRs * fix: testcase's ip.dst should not be any * style: fix naked return * update util's hash * fix: duplicated URRs in PDR * fix: Volume Threshold IE should be added to PFCP Session Modification Request Update URR to prevent the flow rule be blocked * remove SMContext.UrrIDGenerator * fix: MBQE, MAQE's URR * comment out these variable: N3N6, N3N9, N9N6 * remove FlowDescription judgement * remove unused code and add comments * Add back defalt urr rule * Fix: Add GetTokenCtx() in CHF Selection * Remove unused comments --------- Co-authored-by: roy19991013 <80-ChienAn@users.noreply.gitlab.nems.cs.nctu.edu.tw> Co-authored-by: Tim Liu <timliu@nctu.edu.tw> Co-authored-by: Ian Chen <iancodinghtml@gmail.com> Co-authored-by: Ian Chen <yi.chen@saviah.com> Co-authored-by: ianchen0119 <ychen.desl@gmail.com> Co-authored-by: brianchennn <ny40ny40ny.cs11@nycu.edu.tw>
Code refactoring to move all SDM Handling in one place
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] <support@github.com> 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! |
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