Configuring Failure Handling Profile

You can configure the HTTP status code with the corresponding action for the CHF Create, Update, or Release messages. Based on the configuration of the Failure Handling profile, the SMF takes an action when the CHF server failure occurs.

To configure the failure handling profile, use the following sample configuration:

config 
   profile nf-client-failure nf-type chf 
      profile failure-handling fh_profile_name 
         service name type servicename_type 
            message type messagetype_value 
               status-code httpv2 statuscode_value 
                  action { continue | retry-and-continue | retry-and-ignore | retry-and-terminate } retry retry_value 
                  exit 

NOTES:

  • profile nf-client-failure nf-type chf : Specify the name of the network function that is required after the NF client failure.

  • profile failure-handling fh_profile_name : Specify the name of the profile for failure handling.

  • service name type servicename_type : Specify the name of the service type. servicename_type can be one of the following values for CHF:

    • nchf-convergedcharging

    • nchf-spendinglimitcontrol

  • message type messagetype_value : Specify the value for type of message. messagetype_value can be one of the following values for CHF:

    • ChfConvergedchargingCreate

    • ChfConvergedchargingUpdate

    • ChfConvergedchargingDelete

  • status-code statuscode_value : Specify the status code as per the configured failure template. statuscode_value must be an integer in the range of 0–599. The range of status codes is separated by either '-' or ','.

  • action { continue | retry-and-continue | retry-and-ignore | retry-and-terminate } retry retry_value : Specify the failure action and the number of retry attempts. retry_value must be an integer in the range of 1–10.