Go to primary content
Oracle® Communications Service Communication Proxy (SCP) Cloud Native User's Guide
Release 1.0
F12310-01
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Configuring MessagePriority Options

Message Priority assignment/override is supported for below 5G NFs. User can configure routing options by using the operations LIST, GET, and PUT.

NRF

Table 3-4 Configuring Parameters for MessagePriority Options

Operation Parameter Type Description REST Command
LIST - - -
curl --header 'Content-type: application/json' --header 'accept: application/json' --request GET 'http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority'
[
  {
    "requestResponse": "REQUEST",
    "nfServiceName": "nudm-uecm",
    "messageType": "amf-3gpp-access",
    "whenHeaderPresent": {
      "overrideFlag": false,
      "headerValue": ""
    },
    "whenHeaderNotPresent": {
      "overrideFlag": false,
      "headerValue": ""
    }
  },
  {
    "requestResponse": "RESPONSE",
    "nfServiceName": "nudm-uecm",
    "messageType": "amf-3gpp-access",
    "whenHeaderPresent": {
      "overrideFlag": false,
      "headerValue": ""
    },
    "whenHeaderNotPresent": {
      "overrideFlag": true,
      "headerValue": ""
    }
  },
  ...
]
GET - - -
curl --header 'Content-type: application/json' --header 'accept: application/json' --request GET 'http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority?nfServiceName=<serviceName>&messageType=amf-3gpp-access'
[
  {
    "requestResponse": "REQUEST",
    "nfServiceName": "nudm-uecm",
    "messageType": "amf-3gpp-access",
    "whenHeaderPresent": {
      "overrideFlag": false,
      "headerValue": ""
    },
    "whenHeaderNotPresent": {
      "overrideFlag": false,
      "headerValue": ""
    }
  },
  {
    "requestResponse": "RESPONSE",
    "nfServiceName": "nudm-uecm",
    "messageType": "amf-3gpp-access",
    "whenHeaderPresent": {
      "overrideFlag": false,
      "headerValue": ""
    },
    "whenHeaderNotPresent": {
      "overrideFlag": true,
      "headerValue": ""
    }
  }
]
PUT requestResponse Enum
  • If the value is RESPONSE - Egress Response
  • If the value is REQUEST - Ingress Request
Set the value of field requestResponse and masterIP and Configuration as REQUEST or RESPONSE in the curl command below requestResponse UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
nfServiceName String Name of the NF Service List of NF Services
nnrf-disc
nnrf-nfm
nnwdaf-analyticsinfo
nsmsf-sms
nnwdaf-eventssubscription
nudr-dr
nlmf-loc
nchf-spendinglimitcontrol
nbsf-management
nnssf-nssaiavailability
n5g-eir-eic
nnssf-nsselection
nudm-ee
nudm-ueau
nudm-sdm
nudm-uecm
nudm-pp
nnef-pfdmanagement
namf-com
namf-evts
namf-mt
namf-location
nausf-sorprotection
nsmf-event-exposure
nsmf-pdusession
nausf-auth
npcf-smpolicycontrol
npcf-am-policy-control
npcf-bdtpolicycontrol
npcf-policyauthorization
Set the value of field nfServiceNamein the curl command below nfServiceName UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
messageType String Message type for given service nameMessageType List Table 3-5 Set the value of field messageType for the mentioned NF Service in the curl command below messageType UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
overrideFlag (whenHeaderPresent) boolean Override Flag for the case when Header is Present Set the value of field overrideFlag section in the curl command below overrideFlag UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
headerValue (whenHeaderPresent) String Value of the priority header for the corresponding flag for the case when Header is Present Set the value of field headerValue section in the curl command below headerValue UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
overrideFlag (whenHeaderNotPresent) boolean Override Flag for the case for the case when Header is not Present Set the value of field overrideFlag section in the curl command below overrideFlag UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'
headerValue (whenHeaderNotPresent String Value of the priority header for the corresponding flag for the case when Header is not Present Set the value of field headerValue section in the curl command below headerValue UPDATE Command
curl -X PUT \
 http://<Soothsayerfqdn>:8081/soothsayer/v1/messagepriority \
 -H 'Content-Type: application/json' \
 -d '{
 "requestResponse" : "REQUEST",
 "nfServiceName" : "nudm-uecm",
 "messageType" : "amf-3gpp-access",
 "whenHeaderPresent" : {
   "overrideFlag" : false,
   "headerValue" : "10"
 },
 "whenHeaderNotPresent" : {
   "overrideFlag" : true,
   "headerValue" : "5"
 }
}'

Message Type List

3gpp-Sbi-Message-Priority" header carries the message priority of 5G messages. The SCP includes/modifies the header based on the configuration parameters.

HTTP2 stream priorities are valid only per connection, it's not an E2E mechanism so to have it:

  • 3gpp-Sbi-Message-Priority header contains the HTTP/2 message priority value anything between1 to 256.The default is16.
  • SCP allocates resources for priority streams and reorders the frames in accordance or drop few non-priority frames as per congestion.

Table 3-5 provides MessagePriority Options for PATCH operation.

Table 3-5 Message Type List

Resource Name (Archetype) Resource URI HTTP Method or Custom Operation Description
mf3GppAccessRegistration (Document) /{ueId}/registrations/amf-3gpp-access PUT Update the AMF registration for 3GPP access
PATCH Modify the AMF registration for 3GPP access
GET Retrieve the AMF registration information for 3GPP access
AmfNon3GppAccessRegistration (Document) /{ueId}/registrations/amf-non-3gpp-access PUT Update the AMF registration for non 3GPP access
PATCH Modify the AMF registration for non 3GPP access
GET Retrieve the AMF registration information for non 3GPP access
SmfRegistrations (Store) /{ueId}/registrations/smf-registrations - -
IndividualSmfRegistration (Document) /{ueId}/registrations/smf-registrations/{pduSessionId} PUT Create an SMF registration identified by PDU Session Id
DELETE Delete an individual SMF registration
PATCH Modify an individual SMF Registration
Smsf3GppAccessRegistration (Document) /{ueId}/registrations/smsf-3gpp-access PUT Create or Update the SMSF registration
DELETE Delete the SMSF registration for 3GPP access
PATCH Modify the SMSF registration
GET Retrieve the SMSF registration information
SmsfNon3GppAccessRegistration (Document) /{ueId}/registrations/smsf-non-3gpp-access PUT Create or Update the SMSF registration for non 3GPP access
DELETE Delete the SMSF registration for non 3GPP access
PATCH Modify the SMSF registration for non 3GPP access
GET Retrieve the SMSF registration information for non 3GPP access