Oracle® Communications Network Exposure Function (NEF) Cloud Native Installation and Upgrade Guide Release 1.0 F16986-01 |
|
![]() Previous |
![]() Next |
User may have to update nrf client service related configmap. Following are few scenarios:
The nrf client configmap establish connection between NRF and NEF, in order to register NEF to NRF services and hence it is mandatory to update configmap to use correct nrf service URL and apply some extra settings.
Note:
If no NRF deployed under current kubernetes cluster, then ignore the following settings under this section as there is no need for NEF to register itself to NRF service. The only way to invoke NEF services is to get API service URL manually then send request to it directly.Before updating nrf client service, perform the following:
To update the nrf client service config map:
kubectl get configmap -n
<NEF-Namespace>
Run the following command and then navigate to vim editor with config map content displayed
kubectl edit configmap
<NEF-NAME>-application-config -n <NEF-Namespace>
Update nrfApiRoot to actual deployed nrf service URL. For example, nrfApiRoot=http://ocnrf-endpoint.nrf1-1:80. See Get nrf Service URLto get actual nrf service URL.
At least one of the address parameters such as fqdn, ipv4address or ipv6adress should be populated in the NF Profile under configmap definition. NF Profile here indicates the entrance of current deployed NEF which means it is the API Gateway service URL(FQDN), API Gateway service IP V4 address or IP V6 address.
appProfiles=[{"nfInstanceId":
"fe7d882b-0541-4c7d-ab84-c6d70b1b0123","nfType": "PCF","nfStatus":
"REGISTERED","plmn": null,"nsiList": null, "fqdn": null, "interPlmnFqdn": null,
"ipv4Addresses": null,"ipv6Addresses": null .......
It is recommended to update the fqdn value while keeping ipv4Addresses and ipv6Addresses as it is.
For example, consider ocnef-api-gateway.nef1-1:80 for fqdn value. Following result displays:
appProfiles=[{"nfInstanceId":
"fe7d882b-0541-4c7d-ab84-c6d70b1b0123","nfType": "PCF","nfStatus":
"REGISTERED","plmn": null,"nsiList": null,"fqdn":
"ocnef-api-gateway.nef1-1:80","interPlmnFqdn": null,"ipv4Addresses":
null,"ipv6Addresses": null .......
Refer to Get NEF Profile to get actual fqdn value.
Update the following:Quit vim edit mode and save the changes. Wait for a while to verify whether NEF had been registered to NRF or not.