Skip to content
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

SDCORE-209: PFCP Deletion Timeout Handling #47

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

vthiruveedula
Copy link
Contributor

No description provided.

@@ -941,6 +943,13 @@ func HandlePDUSessionSMContextRelease(smContextRef string, body models.ReleaseSm
Body: nil,
}

case smf_context.SessionReleaseTimeout:
smContext.SubCtxLog.Traceln("PDUSessionSMContextRelease, PFCP SessionReleaseTimeout")
smContext.ChangeState(smf_context.Active)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we move to active state here??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these smf states confuse me too.. i coped from other failure cases.. I should understand these flags from Ankur

@vthiruveedula
Copy link
Contributor Author

retest this please

@vthiruveedula
Copy link
Contributor Author

retest this please

@vthiruveedula
Copy link
Contributor Author

retest this please

1 similar comment
@badhrinathpa
Copy link
Contributor

retest this please

@@ -322,7 +322,7 @@ func SendPfcpSessionModificationResponse(addr *net.UDPAddr) {
}

func SendPfcpSessionDeletionRequest(upNodeID pfcpType.NodeID, ctx *smf_context.SMContext) (seqNum uint32) {
pfcpMsg, err := BuildPfcpSessionDeletionRequest()
pfcpMsg, err := BuildPfcpSessionDeletionRequest(upNodeID, ctx)
if err != nil {
ctx.SubPfcpLog.Errorf("Build PFCP Session Deletion Request failed: %v", err)
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning on build PFCP Deletion req failure might not help. Probably, we can just discuss this once.

@vthiruveedula vthiruveedula merged commit 78b35dc into onf-release3.0.5 Aug 6, 2021
@UpadhyayaAnkur UpadhyayaAnkur deleted the SDCORE-209 branch February 5, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants