Configuration Example

The following is an example configuration.

profile nf-client nf-type pcf
 oauthenabled { true }
 pcf-profile PP1
  locality LOC1
   priority 30
   service name type npcf-am-policy-control
    endpoint-profile EP1
     capacity   30
     uri-scheme http
     endpoint-name EP1
      priority 56
      primary ip-address ipv4 209.165.201.30
      primary ip-address port 9049
     exit
    exit
   exit
  exit
 exit
exit
group nrf auth oauthep
  service type nrf oauth2
    endpoint-profile EP1
      capacity 30
      uri-scheme http
      endpoint-name EP1
        priority 56
        primary ip-address ipv4 209.165.201.30
        primary ip-address port 9049
      exit
    exit
  exit
exit
profile nf-pair nf-type PCF
 nrf-auth-group      oauthep
 nrf-discovery-group udmdiscovery
 locality client  LOC1
 locality preferred-server LOC1
 locality geo-server GEO
 cache invalidation true timeout 1000
exit