Configuring the NRF Endpoint Group
This section describes how to configure the NRF endpoint groups for the discovery of different NFs using the discovery (nnrf-disc) service.
To enable discovery of the NRF groups, use the following configuration in the Policy Ops Center console:
config
profile
nrf
discovery [ name ]
name discovery_group_name
service
type service_type
nrf [ nrf-service-name ]
nrf-service-name nrf_service_name
endpoint-profile [ name ]
name endpoint_profile_name
capacity endpoint_capacity
priority endpoint_priority
api-uri-prefix uri_prefix_string
api-root api
uri-scheme uri_scheme
version
uri-version [ name ]
name version_name
full-version full_version
endpoint-name
name endpoint_name
priority endpoint_priority
capacity endpoint_capacity
primary ip-address
ipv4 ipv4_address
ipv6 ipv6_address
fqdn fqdn
port port_number
secondary ip-address
ipv4 ipv4_address
ipv6 ipv6_address
fqdn fqdn
port port_number
tertiary ip-address
ipv4 ipv4_address
ipv6 ipv6_address
fqdn fqdn
port port_number
end
NOTES:
-
profile —Enters the profile configuration mode.
-
nrf —Enters the nrf configuration mode.
-
discovery [ name ] —Enters the discovery [ name ] configuration mode.
-
name discovery_group_name —Specify the name of the discovery group. Discovery group is the logical link to the NRF endpoint groups (nrf-group). For each NF type, you can associate a discovery group and the locality information.
-
type service_type —Specify the configured NF service types. The service types vary depending on the configured service. The PCF service supports the nnrf-disc service.
-
nrf-service-name nrf_service_name —Specify the NRF service name.
-
endpoint-name —Specify the endpoint's name and priority for the service to select the appropriate profile using the load-balancing logic. The priority must be an integer in the range of 0-65535. Capacity denotes the node capacity for the endpoint. It must be an integer in the range of 0-65535.
-
api-uri-prefix uri_prefix_string —Specify the {apiName}. If not configured, it takes the standard API name for the service as per the specification.
-
api-root api —Specify the deployment-specific service API prefix that is used within the apiRoot.
-
uri-scheme uri_scheme —Specify the URI scheme as HTTP or HTTPs.
-
uri-version { name version_name | full-version full_version} —Specify the api/Version and the version number. The full version format is <Major-version>.<Minor-version>.<patch-version>.[alpha-<draftnumber>].
-
primary ip-address —Specify the IP address, FQDN, and port number for the primary endpoint.
-
secondary ip-address —Specify the IP address, FQDN, and port number for the secondary endpoint.
-
tertiary ip-address —Specify the IP address, FQDN, and port number for the tertiary endpoint.