Configuring NRF for Discovery of Network Function
This section describes how to configure NRF to enable discovery of an NF.
To configure NRF for discovering an NF, use the following configuration:
config
nf-services nf_services_name
discovery [ nchf-spendinglimitcontrol | nudr-dr ]
service-repository service_repository
cache-forever [ true | false ]
disable-subscription [ true | false ]
subscription-extension-in-minutes subscription_extension
end
NOTES:
-
nf-services nf_services_name —Specify network functions, such as registration, repository, and service discovery details.
-
discovery —Enters the discovery configuration mode.
-
service-repository service_repository —Specify the name of the repository that you configured in repositories.
-
cache-forever [ true | false ] —Specify the discovery of services as "true" or "false" value. If this parameter is set to "true", then the discovered NFProfile cache does not expire at PCF.
-
disable-subscription [ true | false ] —Specify the services as "true" or "false" to disable a subscription. If this is set to "true", then no subscription request is sent to NRF for the NF profile type.
-
subscription-extension-in-minutes subscription_extension —Specify the duration by when you want to extend the subscription. PCF shows this value as validityTime in resubscription when the subscription validity time expires.