OmniNEF Operations Guide
Overview | Configuration Reference | Metrics and Monitoring | Troubleshooting
This guide describes how OmniNEF behaves as the 5G Core's northbound exposure gateway and how to operate it. OmniNEF is the Network Exposure Function defined in 3GPP TS 23.501 §6.2.5, exposing the T8 API (TS 29.122) / Nnef services (TS 29.522) toward Application Functions.
Table of Contents
- Architecture Overview
- Request Lifecycle
- Authorization and Throttling
- Northbound APIs
- Southbound Interworking
- SBI Endpoints
- NRF Registration
- Operational Notes
Architecture Overview
OmniNEF terminates the northbound API toward external AFs and translates each request into an SBI
operation toward a core producer NF. It registers with the NRF as NFType NEF and uses NRF
discovery to resolve the UDM, PCF or UDR that serves a given request.
Request Lifecycle
Every northbound resource-creation request follows the same path:
- Authorize the calling AF from its API key and check it is entitled to the requested API.
- Throttle it against the AF's per-second request ceiling.
- Validate the request body (target UE identifier, required QoS, routing target, …).
- Discover the target NF (UDM/PCF/UDR) from the NRF and select a load-aware instance.
- Translate and send the corresponding SBI request to the producer NF.
- Store the created resource (owning AF, representation, downstream tear-down URL) and return
201 Createdwith aLocationheader pointing at the individual resource.
GET on the individual resource returns the stored representation; DELETE tears the resource down
in the producer NF (best-effort) and removes the NEF-side record.
Authorization and Throttling
The NEF is the boundary between untrusted third-party AFs and the trusted core, so authorization is mandatory (TS 23.501 §6.2.5).
- Authentication: the AF presents an API key as
Authorization: Bearer <key>orX-Api-Key: <key>. Keys are looked up in the AF registry. A missing or unknown key returns401. - Entitlement: each AF is scoped to
:allAPIs or an explicit list. A known AF calling an API it is not entitled to returns403. - Throttling: each AF has a per-second request ceiling (its own or the configured default). An
AF exceeding it returns
429. The window is a sliding one second.
See the Configuration Reference for how to onboard an AF.
Northbound APIs
| Capability | Northbound resource | Method(s) | Southbound |
|---|---|---|---|
| Monitoring Events (Nnef_EventExposure) | /3gpp-monitoring-event/v1/{scsAsId}/subscriptions | POST, GET, DELETE | UDM (Nudm_EventExposure) |
| Parameter Provisioning (Nnef_ParameterProvision) | /nnef-pp/v1/{afId}/provisionings | POST, GET, DELETE | UDM (Nudm_ParameterProvision) → UDR |
| AF session with QoS (Nnef_AFsessionWithQoS) | /3gpp-as-session-with-qos/v1/{scsAsId}/subscriptions | POST, GET, DELETE | PCF (Npcf_PolicyAuthorization) |
| Traffic Influence (Nnef_TrafficInfluence) | /3gpp-traffic-influence/v1/{afId}/subscriptions | POST, GET, DELETE | PCF or UDR |
Monitoring Events
An AF subscribes to network events for a UE identified by externalId or msisdn. The supported
monitoringType values map to UDM event types:
T8 monitoringType | UDM eventType |
|---|---|
LOSS_OF_CONNECTIVITY | LOSS_OF_CONNECTIVITY |
UE_REACHABILITY | UE_REACHABILITY_FOR_DATA |
LOCATION_REPORTING | LOCATION_REPORTING |
ROAMING_STATUS | ROAMING_STATUS |
COMMUNICATION_FAILURE | COMMUNICATION_FAILURE |
AVAILABILITY_AFTER_DDN_FAILURE | AVAILABILITY_AFTER_DDN_FAILURE |
The external identifier is mapped to a UDM GPSI (extid-<externalId> or msisdn-<msisdn>).
Parameter Provisioning
An AF provisions expected-UE-behaviour or communication-characteristics parameters for a UE
(externalId / msisdn) or a group (externalGroupId). Either an explicit ppData object or the
recognised top-level provisioning fields are accepted; the NEF applies them via Nudm_ParameterProvision,
which the UDM persists to the UDR.
AF session with QoS
An AF supplies the UE address (ueIpv4Addr / ueIpv6Addr), the IP flows to treat, and a
qosReference (or requested QoS). The NEF creates an Individual Application Session Context at the
PCF, which installs the corresponding policy toward the SMF.
Traffic Influence
An AF asks the core to steer selected traffic toward a DNAI / application location. The routing target depends on scope:
- Individual UE (
gpsiorsupipresent) → an application session at the PCF. - Group / any-UE (no individual identifier) → stored as
influenceDataapplication data in the UDR, which the PCF reads when building policy for future matching sessions.
Southbound Interworking
The NEF resolves each producer NF from the NRF (Nnrf_NFDiscovery, service-name filtered) and
selects the lowest-load instance. It then issues the mapped SBI request:
POST …/nudm-ee/v1/{gpsi}/ee-subscriptions(UDM)PUT …/nudm-pp/v1/{gpsi}/pp-data(UDM)POST …/npcf-policyauthorization/v1/app-sessions(PCF)PUT …/nudr-dr/v1/application-data/influenceData/{id}(UDR)
When a producer NF returns a Location, the NEF retains the resolved absolute URL so the resource
can be deleted later. For monitoring events the NEF registers a per-subscription notification
callback URL with the producer NF (…/nnef-eventexposure/v1/notifications/{subId}); when the producer
POSTs an event report to that callback, the NEF maps it to a T8 MonitoringNotification and relays it
to the AF's stored notificationDestination (the event-exposure data path). Relay is best-effort.
The NEF always acknowledges the producer callback with 204. The NEF drops notifications for an
unknown or expired subscription. See
the notification-relay troubleshooting entry.
SBI Endpoints
GET /nnef/v1/status: liveness probe; returns200 {"status":"UP"}.- The northbound resource endpoints in the Northbound APIs table.
Unmatched paths return 404 with a 3GPP ProblemDetails body.
NRF Registration
At start-up OmniNEF registers with the NRF as NFType NEF, advertising four services
(nnef-eventexposure, nnef-pp, nnef-afsessionwithqos, nnef-trafficinfluence) and its SBI IP
endpoint, then heartbeats on the configured interval. Capacity and priority come from the shared
Omni5gEx.NRF.Config helpers.
Operational Notes
- Plain HTTP: the SBI listener serves plain HTTP. Terminate TLS externally (a reverse proxy or service mesh) for any exposure beyond a trusted network.
- Non-persistent state: the AF registry, rate-limiter windows and created-resource store are in-memory. On restart, AFs are re-seeded from configuration and previously created northbound resources are forgotten by the NEF (the underlying core-NF resources persist until they expire or are removed directly).
- Downstream tear-down is best-effort: a
DELETEalways removes the NEF-side record even if the producer NF is briefly unreachable; the failure is logged.