Skip to content

Test the 5G core in an air-gapped lab

Test a 5G SA core in an isolated lab: one Linux binary, no phone-home, no cloud console, and a licence file checked on the host.

Many 5G core labs have no route to the internet, by design. Operator pre-production, national labs, private networks and vendor integration rooms all keep the core under test on an isolated network. A test tool that needs a cloud console, an activation server or a licence server does not fit there, or needs an exception that takes longer to approve than the test takes to run.

Runik is built for that room. It is one Linux binary that runs the procedure, writes the report and exits. Nothing it needs lives off the host.

What "offline" means here

These are the specific properties:

  • On-prem. One Linux binary for amd64 or arm64. No cloud console and no database to keep.
  • Offline. rk schema, rk vocab, rk describe, rk lint and a signed licence all work with no route off the host.
  • No phone-home. rk connects to the endpoints in your config. It does not send telemetry.
  • Checked locally. A paid edition uses a signed licence file that Runik verifies on the machine. It does not call dflux to activate.
  • No model inside. The binary contains no LLM. Nothing about a run depends on an external model service.

Community needs no licence file at all.

How it works

  1. Bring the binary in. On a connected host, download the Community release archive and its SHA256SUMS from get.dflux.io (the installer, install.sh, shows the paths), check the sum, then move the archive into the lab the way you move any other approved software. It contains rk. Install it with sudo install -m 0755 rk /usr/local/bin/.
  2. Bring the flows in. The flow catalog is plain YAML under Apache-2.0. Clone it outside, review it, and copy it in with the binary. Your own flows live in your own git server inside the lab.
  3. Run and keep the report. Point lab.yaml at the AMF (SCTP 38412) and PLMN, run a flow, and keep the JSON or JUnit report as the record of the test.

A result you can archive

Isolated labs often need test evidence that can leave the room later, on paper or through a review. A Runik verdict is a small, readable JSON file that names every check:

final_checks:
  - name: the UE ended registered
    metric: final_state_counts.registered
    op: equals
    value: 1
{ "flow_name": "registration", "verdict": "pass", "all_passed": true,
  "final_checks": [ { "name": "the UE ended registered", "pass": true } ] }

The exit code carries the decision: 0 pass, 1 fail, 2 usage, 3 unsupported by the core under test. With -trace, a failed run also hands back the bytes it sent and received, so the evidence for a failure stays with the report.

Safe to run on a lab host

Isolated networks still need to know what a tool will do once it is inside. Runik keeps that small:

  • It only connects to the endpoints you list in config.
  • It does not spawn shell commands by default. The cmd action is off unless you enable it, and it takes an argument list, not a shell string.
  • It writes its report and exits. There is no daemon to leave running unless you choose to run workers.

What you can test offline

Everything Runik does, it does on the host. In Community that is individual flows and core NGAP, NAS, and SBI procedures, REST against a vendor's own HTTP API, and the GTP-U user plane after an N2 session, up to 1,000 subscribers. The interface references are TS 24.501 for NAS-5G, TS 38.413 for NGAP, TS 29.281 for GTP-U and the TS 29.500 series for SBI.

Pro adds test suites, fuzzing, failure injection, and advanced procedures, including PFCP on N4 (TS 29.244) and Diameter for EPC interfaces. Enterprise adds the DPDK datapath. Fleet workers (rk running as a worker under Runik Console) are included in Enterprise and in the 30-day trial; they are planned for every edition, with the number of workers set by your Console licence. Paid editions are unlocked by the signed file on the host, so moving from Community to Pro inside an air-gapped lab is a file copy, not a network change. See editions and pricing.

Discovery without a network

Engineers new to Runik, and agents working in the lab, can learn the flow language before touching the core. rk schema prints the JSON Schema for flows and suites, rk vocab lists message builders, check operators and metric keys, rk describe shows the states and checks of one flow, and rk lint validates YAML. All four run with no core, no config and no network.

Fits upgrade and CI work

Air-gapped labs are often where upgrades are staged. The same flows work as an upgrade baseline, see testing a core upgrade before rollout, and as a gate on a self-hosted CI runner inside the lab.

Start

Install Community on a connected Linux amd64 or arm64 host with curl -fsSL https://get.dflux.io/runik/install.sh | sh, or carry the release archive in as above. Tell us if delivery needs to fit an approval process and an engineer will work through it with you.

Get Runik free