Configuring NRF for Subscription and Notification
This section describes how to configure the NRF for subscription and notification.
Note | For the subscription and notification to work, it is mandatory to configure the NRF interface within SBI interface. |
When discovery is done with NRF, a subscription message for the discovered NF instances is sent. The SMF fills the Status Notification URL based on the NRF interface configuration that is specified in the configuration. The notification VIP IP and VIP port are used to frame the status notification URL. The SMF uses the URL that is included in the subscription request message for status notifications.
To configure the NRF interface, vip-ip, vip-port, and loopback port to open the server endpoints for the NF status notification, use the following sample configuration.
config
instance instance-id gr_instance_id
endpoint sbi
replicas replica_num
vip-ip ip_address
interface nrf
vip-ip ip_address
vip-port port_number
loopbackPort port_number
end
NOTES:
-
interface nrf : Specify the interface as NRF.
-
vip-ip ip_address : Specify the virtual IP address of the virtual host. The SMF uses this as the listening IP address for the status notification.
-
vip-port port_number : Specify the port number of the virtual host. The SMF uses this as the listening port for the status notification.
-
loopbackPort port_number : Specify the internal port number of the loopback host. The SMF uses this port for the NF status notification.