Create Service Operation on vSMF Call Flow

The Create SM Context service operation creates an SM context for a PDU session either in the SMF or in the vSMF for home-routed roaming scenarios. The NF Service Consumer, such as AMF, creates an SM context by using the HTTP POST method.

This section describes the Create service operation on vSMF call flow.

Create Service Operation on vSMF Call Flow
Create Service Operation on vSMF Call Flow Description
Step Description

1

NF Service Consumer, such as AMF, sends a POST request to create SM Context to the resource that represents the SM contexts collection resource of the vSMF.

2

If the PDU session creation is successful, the SMF sends the "201 Created" to the NF Service Consumer.

3

If the PDU session establishment fails, the SMF sends the HTTP status code, as listed in the HTTP Status Codes for SM Context Creation Error table. For the 4xx or 5xx response to the NF Service Consumer, the message body contains an SM Context Create Error structure, including a ProblemDetails structure with the "cause" attribute.

HTTP Status Codes for SM Context Create Error

Data Type

HTTPS Status Code

Cause

Details

Title

SM Context Create Error

403

PDUTYPE_

NOT_SUPPORTED

PDU_Type_Not

_Supported_

By_SMF

Network

_Failure

SM Context Create Error

500

REQUEST_

REJECTED_

UNSPECIFIED

Charging_Response

_Failure

Network

_Failure

SM Context Create Error

504

NETWORK_

FAILURE

SLA_txn

_timeout

Network

_Failure

SM Context Create Error

400

MANDATORY_IE

_MISSING

PDU_Session_

ID_Not_Sent

Mandatory_IE

_Missing