5 Services offered by the 5G PAnF
29.5533GPP5G ProSe Anchor Services5G SystemRelease 18Stage 3TS
5.1 Introduction
Table 5.1-1 shows the PAnF Services and PAnF Service Operations:
Table 5.1-1: List of 5G PAnF Services
|
Service Name |
Service Operations |
Operation Semantics |
Example Consumer(s) |
|
Npanf_ProseKey |
Register |
Request/Response |
AUSF |
|
Retrieve |
Request/Response |
AUSF |
Table 5.1-2 summarizes the corresponding APIs defined for this specification.
Table 5.1-2: API Descriptions
|
Service Name |
Clause |
Description |
OpenAPI Specification File |
apiName |
Annex |
|
Npanf_ProseKey |
6.1 |
PAnF Prose Key Service |
TS29553_Npanf_ProseKey.yaml |
npanf_prosekey |
A.2 |
5.2 Npanf_ProseKey Service
5.2.1 Service Description
The Npanf_ProseKey service enables an NF to request the PAnF to store the ProSe context information for a 5G ProSe Remote UE or to request CP-PRUK from the PAnF. The following are the key functionalities of this NF service.
– Store the Prose context information;
– Retrieve the Prose Key.
5.2.2 Service Operations
5.2.2.1 Introduction
The service operations defined for the Npanf_ProseKey service are as follows:
– Register: It allows a consumer NF to store the Prose Context information;
– Retrieve: It provides to the NF service consumer of the CP-PRUK matching input criteria.
5.2.2.2 Register
5.2.2.2.1 General
The Register service operation is invoked by a NF Service Consumer to request the PAnF to store the ProSe context information for a 5G ProSe Remote UE.
The Register service operation is used during the following procedure:
– PC5 security establishment for 5G ProSe UE-to-Network relay communication over Control Plane (see 3GPP TS 33.503 [14], clause 6.3.3.3.2)
The NF Service Consumer (i.e. AUSF) shall request the PAnF to store the ProSe context information for a 5G ProSe Remote UE as shown in Figure 5.2.2.2.1-1
Figure 5.2.2.2.1-1: Prose Keys registration
1. The NF service consumer (e.g. AUSF) sends a POST request to the resource representing the Prose Context Info for a 5G ProSe Remote UE.
2a. On success, the PAnF responds with "204 No Content".
2b. If the user does not exist, HTTP status code "404 Not Found" shall be returned including additional error information in the response body (in the "ProblemDetails" element).
On failure, the appropriate HTTP status code indicating the error shall be returned and appropriate additional error information should be returned in the POST response body.
5.2.2.3 Retrieve
5.2.2.3.1 General
Figure 5.2.2.3.1-1 shows a scenario where the NF service consumer (e.g. AUSF) sends a request to the PAnF to retrieve the CP-PRUK. The request contains the CP-PRUK ID and Relay Service Code.
Figure 5.2.2.3.1-1: Prose Keys retrieval
1. The NF service consumer (e.g. AUSF) sends a POST request to the resource representing the Prose Key.
2a. On success, the PAnF responds with "200 OK" with the message body containing the ProseKeyResponse.
2b. If the user does not exist, or the ProSe Key does not exist in the in the PAnF, HTTP status code "404 Not Found" shall be returned and additional error information should be included in the response body (in the "ProblemDetails" element).
On failure, the appropriate HTTP status code indicating the error shall be returned and appropriate additional error information should be returned in the POST response body.