Configuring Failure Handling Actions
To configure the failure retry and action for each NF service and the different message types, use the following sample configuration:
config
profile nf-client-failure { nf-type { amf | chf | pcf | udm }
profile failure-handling failure_handling_name
service name type service_type
message type message_type
status-code httpv2 status_code
retry retry_count
action { continue | retry-and-continue | retry-and-terminate | terminate }
end
NOTES:
-
service name type service_type : Specify the configured NF service types and provide the local configuration support for the following configured NFs. The service types vary depending on the configured service.
The AMF service supports the following service types:
-
namf-comm
-
namf-evts
-
namf-loc
-
namf-mt
The CHF service supports the following service types:
-
nchf-convergedcharging
-
nchf-spendinglimitcontrol
The NRF service supports the following service type:
-
nrf-nfm
The PCF service supports the following service types:
-
npcf-am-policy-control
-
npcf-bdtpolicycontrol
-
npcf-eventexposure
-
npcf-policyauthorization
-
npcf-smpolicycontrol
-
npcf-ue-policy-control
The UDM service supports the following service types:
-
nudm-ee
-
nudm-pp
-
nudm-sdm
-
nudm-ueau
-
nudm-uecm
For example, if the service_type that is selected is nudm-sdm , then this command enables the UDM local configuration. The same approach applies for the other configured NFs.
-
-
message type message_type : Specify the configured NF message type and provide the local configuration support for the configured NF.
The message types vary depending on the configured profile and service type.
-
status code httpv2 status_code : Specify the status code for the retry and action for the NF service. Currently only "http" status code is provided. status_code must be an integer in the range of 0–599.
-
retry retry_count : Specify the number of times the NF service must retry before proceeding with the action. retry_count must be an integer in the range of 1–10.
-
action : Specify the action. The supported actions are:
-
continue : Specify to continue the session without any retry. The retry count configuration is invalid with this action.
-
retry-and-continue : Specify to retry as per the configured retry count and continue the session.
-
retry-and-terminate : Specify to retry as per the configured retry count and terminate the session in case all retry fails.
-
terminate : Specify to terminate the session without any retry. The retry count configuration is invalid with this action.
The retry and action for a message send is picked based on the first sent status code failure. A different status code in the retry does not lead to picking a new retry count and action.
-
The following table provides a sample of the configured profile, service, and message type options.
Profile |
Service Type |
Message Type Options |
---|---|---|
amf |
namf-comm |
|
chf |
nchf-convergedcharging |
|
nrf |
nrf-nfm |
|
pcf |
npcf-am-policy-control |
|
udm |
nudm-sdm |
|
Note | The example does not cover all the message options that are provided for each profile and service type. |