Configuring Failure Handling Profile in an NF Library

This section describes how to configure the failure handling profile in an NF library.

Use this CLI configuration to configure the failure handling profile. You can configure HTTP status code with the corresponding action for the CHF create, update, or release messages. Based on the configuration of the failure handling profile, NF library takes an action when the CHF server failure occurs.


configure 
   profile nf-client-failure nf-type chf_name 
     profile failure-handling profile_failure_handling_name 
     service name type service_name_type 
         message type message_type_value 
         status-code status_code_value 
         action failure_action_value 
         exit 

NOTES:

  • profile nf-client-failure nf-type chf_name —Enter the name of the network function that is required after the NF client failure.

  • profile failure-handling profile_failure_handling_name —Enter the name of the profile for failure handling.

  • service name type service_name_type —Enter the name of the service type.

    service_name_type : nchf-convergedcharging

  • message type message_type_value —Enter the value for type of message.message_type_value can be one of the following values:

    • ChfConvergedchargingCreate

    • ChfConvergedchargingUpdate

    • ChfConvergedchargingDelete

  • status-code status_code_value —Enter the status code as per the configured failure template. status_code_value can be one of the following values:

    • 500

    • 400

    • 404

  • action failure_action_value —Enter the value for the failure action as per the configured failure template. failure_action_value can be one of the following values:

    • continue

    • terminate

    • retry-and-continue

    • retry-and-terminate

    • retry-and-ignore