Configuration Example
The following is an example configuration.
group nf-mgmt NFMGMT1
nrf-mgmt-group nrf-nfmgmt-grp
failure-handling-profile FHNRF
locality LOC1
heartbeat interval 50
exit
profile nf-client-failure nf-type nrf
profile failure-handling FHNRF
service name type nrf-nfm
responsetimeout 2300
message type NRFRegistration
failover-enabled true
status-code httpv2 400,500
action retry
exit
status-code httpv2 401,504
action retry-next
exit
exit
message type NFUpdate
failover-enabled true
status-code httpv2 400,503
action retry
exit
status-code httpv2 411,500
action retry-next
exit
exit
message type Heartbeat
re-registration-enabled true
status-code httpv2 400,429
action retry
exit
status-code httpv2 411,500
action retry-next
exit
exit
exit
exit
exit
When an AMF failure occurs, use the following example configuration for the range of error codes with the same retry-action and retry-count in the failure-handling template.
profile nf-client-failure nf-type amf
profile failure-handling FH1
service name type namf-comm
message type AmfCommEBIAssignment
status-code httpv2 100,200,300,400-410
retry 4
action continue
exit
exit
exit
exit
profile failure-handling FH2
service name type namf-comm
message type AmfCommEBIAssignment
status-code httpv2 401
retry 4
action continue
exit
exit
exit
exit
profile failure-handling FH3
service name type namf-comm
message type AmfCommEBIAssignment
status-code httpv2 250-260
retry 4
action continue
exit
exit
exit
exit
profile failure-handling FH4
service name type namf-comm
message type AmfCommEBIAssignment
status-code httpv2 100,200,300,400-410
action continue
exit
exit
exit
exit
profile failure-handling FH5
service name type namf-loc
message type AmfCommEBIAssignment
status-code httpv2 150,160,170-175
action continue
exit
exit
exit
exit
exit