NWDAF Analytics (AnLF)
The Network Data Analytics Function’s analytics arm (3GPP TS 23.288). The AnLF answers on-demand analytics requests and drives subscribe/notify across the 5G core — slice load, UE mobility, QoS sustainability, anomaly, energy, dispersion and more — through one dispatch, with a unified typed-KPI exposure on top. It is LIVE-wired on the Service Based Interface and fails closed: an unavailable source returns an explicit non-value, and every subscriber callback URL is SSRF-validated before it is called.
On-demand (AnalyticsInfo)
A consumer NF POSTs an analytics request; RequestAnalytics dispatches through computeByAnalyticsID and returns the analytics synchronously.
Subscribe / notify (Subscription)
CreateSubscription records the consumer; StartNotificationScheduler POSTs fresh analytics to the subscriber’s NotificationURI every reporting_period.
Analytics catalog
anlf/notify.go computeByAnalyticsID — a single dispatch shared by the on-demand and subscription paths
Load level of a network-slice instance
User-plane congestion in an area of interest
Predicted UE location / trajectory
Data / mobility dispersion across an area
Likelihood a QoS level can be sustained on a route
WLAN performance in an area
Redundant-transmission experience
Anomalous NF / network-element behaviour
NWDAF failure / analytics reliability
Energy efficiency of the network
UE communication pattern
Expected UE behavioural parameters
Unified typed-KPI exposure through NWDAF (Xaitel extension). Returns SOURCE_UNAVAILABLE when no KPI source is attached — never a fabricated value.
Callback SSRF guard
shared/api/sanitize.go · ValidateNFCallbackURL — validated before the scheduler will POST analytics to a subscriber
A subscriber cannot trick the AnLF into calling a cloud-metadata endpoint or a loopback service — the notification URI is a controlled egress, not an open one.
Deployment
LIVE-wired · namespace xaitel-ossbss · Nnwdaf AnalyticsInfo / Subscription v2
- Standard
- 3GPP TS 23.288
- NRF capacity
- 200
- Reporting default
- 60s
Service Based Interface
Nnwdaf_AnalyticsInfo + Nnwdaf_AnalyticsSubscription (v2), legacy v1 retained