Configuring Failure Handling Profile in an NF Library

Use the following sample configuration to configure the failure handling profile in an NF library.

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 NF library takes an action when the CHF server failure occurs.

config 
   profile nf-client-failure nf-type nf_name 
      profile failure-handling failurehandling_name 
         service name type servicename_type 
            message type messagetype_value 
               status-code httpv2  statuscode_value 
                  action failureaction_value 
                  exit 

NOTES:

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

  • profile failure-handling failurehandling_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:

    • nchf-convergedcharging

    • nchf-spendinglimitcontrol

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

    • ChfConvergedchargingCreate

    • ChfConvergedchargingUpdate

    • ChfConvergedchargingDelete

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

  • action failureaction_value : Specify the value for the failure action as per the configured failure template. failureaction_value can be one of the following values:

    • continue

    • retry-and-continue

    • retry-and-ignore

    • retry-and-terminate

    • terminate