Configuring Locality for NF Types
The SMF provides locality aware NF discovery.
A pair profile has the locality values configured with NF type as SMF. A locality has the following values:
-
client—Specify the client locality information.
-
geo-server—Specify the geo-service locality information.
-
preferred-server—Specify the preferred server locality information.
For a profile selection, only the preferred-server and geo-server locality values are considered. Following are the scenarios of these locality values configuration:
-
If both the preferred-server and geo-server locality values are configured, then the profiles, which exist in discovery response, matching these locality values are selected. In addition, the profiles with empty locality value are selected. Any other profile with locality other than preferred-server and geo-server locality values are not considered.
-
If only the preferred-server locality value is configured, then the profiles, which exist in discovery response, matching this value is selected. In addition, the profiles with an empty locality value are selected. Any other profile with locality other than preferred-server locality value is not considered.
-
If only geo-server locality value is configured then the profiles, which exist in discovery response, matching this geo-server locality value is selected. In addition, the profiles with empty locality value is selected. Any other profile with locality other than geo-server locality value is not considered.
-
If both preferred-server and geo-server locality values are not configured then all the profiles, which exist in discovery response, are selected.
To configure the locality for NF types, use the following sample configuration.
config
profile nf-pair nf-type nf_type
locality { client client_name | geo-server geoserver_name | preferred-server prefserver_name }
end
NOTES:
-
client client_name : Specify the client locality information. Client locality is the SMF's locality and is a mandatory parameter.
-
preferred-server prefserver_name : Specify the preferred server locality information. The preferred server locality is the locality that should be considered as the locality of preference during the corresponding NF discovery.
-
geo-server geoserver_name : Specify the geo-server locality information. The geo-server locality is the geo redundant site for the preferred locality and is generally used as the next best server locality after preferred locality, during NF discovery.
Notegeo-server geoserver_name is not fully qualified.