Skip to content
Docs / dflux EdgeGuard
ContactGet started

Producers and profiles

Persistent producer configs, NRF NF profiles, runtime SBI peer ops (weight and drain / restore state), and peer + relay observability.

Persistent producer configs

Define producers in the control-plane store, decoupled from NRF discovery.

GET /admin/producer-configs

POST /admin/producer-configs

GET /admin/producer-configs/{name}

PUT /admin/producer-configs/{name}

DELETE /admin/producer-configs/{name}

NRF NF profiles

Shadow profiles the proxy registers with the NRF on its own behalf.

GET /admin/nrf-profiles

POST /admin/nrf-profiles

GET /admin/nrf-profiles/{name}

PUT /admin/nrf-profiles/{name}

DELETE /admin/nrf-profiles/{name}

Profile changes are hot-reloaded
Every create, update, or delete on /admin/nrf-profiles persists and takes effect immediately: the NRF registration component deregisters, swaps in the new profile set, and re-registers synchronously. No restart is needed.

SBI peer ops

Runtime ops on the producer pool — list, weight, and state (drain / restore).

GET /admin/peers/sbi

List all SBI peers across all NF types.

GET /admin/peers/sbi/{nf_type}

List SBI peers for one NF type.

PUT /admin/peers/sbi/{nf_type}/weight

Update a peer's weight. Body:

JSON

PATCH /admin/peers/sbi/{nf_type}

Set a peer's state. Body is {address, state} where state is "drained" (stop new traffic, let in-flight requests complete) or "active" (restore a drained peer). Patching to the same state is idempotent.

JSON

Peer and relay observability

GET /admin/peers/diameter

List Diameter peer connections and state. Each entry is {uri, state}.

GET /admin/stats/diameter

Diameter relay summary: origin_host, origin_realm, and peer_count.

GET /admin/stats/sbi

Aggregate SBI peer counts (total / healthy / draining), with a by_nf_type breakdown.

Examples

Drain a flapping producer

Bash

Check Diameter peer state

Bash
JSON