Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Skip to content

vxedge documentation

Specification, results and user documentation for vxedge.

vxedge is a virtual zonal vehicle for OEM and Tier 1 engineers. Software updates, new functions and faults run as packaged experiments on one machine, and every result ships with its digests. 5G network slicing onto zonal and central software-defined-vehicle (SDV) E/E architectures is one family of its measured cases (H1, H2).

Pre-release (0.x): the manifest schema and vxAPI may change between minor versions; published results are frozen.

DocumentWhat
ARCHITECTURE.mdThe architecture specification: research goals and hypotheses, topology, vxAPI, manifest schemas, network/service/virtualization models, methodology, phased roadmap
RESULTS.mdMeasured results for H1–H4, with numbers, verdicts and caveats
FACTS.mdThe registry of every published number and state. The website and every README quote it
ROADMAP.mdPhase status and what has shipped
GETTING-STARTED.mdFrom zero to a measured experiment
USER-GUIDE.mdConcepts, CLI reference, workflows, SDV vocabulary map
TESTBED-SETUP.mdHost requirements, tiered by experiment class
VERSIONING.mdSemVer and changelog conventions across repos
ACRONYMS.mdGlossary
diagrams/E/E architecture diagrams (draw.io)

Repositories

All repositories below are public.

RepoWhat
vxedgeThe control plane (vxedged), vxAPI, CLI, and vxgateway
vxagentsMeasurement agents: probes and traffic generation
vxtelemetryTelemetry ingestion and results archiving
vxotaOTA server and signing (the H4 workload)
vxperimentsExperiments, analysis, frozen results
vxpartsOCI/ORAS registry of every loadable the platform boots
vxmodelsSysML v2 models and the manifest renderer
vxmcpMCP server over vxAPI
vxvhalAndroid Automotive's gRPC Vehicle HAL, served from Kuksa VSS signals

Getting started

vxedge is a virtual vehicle with environmental parity, for packaged, measured SDV (software-defined vehicle) experiments on one machine: a virtual edge gateway (vxgateway), QEMU/KVM virtual ECUs, containerized AD compute, and a Rust control plane (vxedged) driven entirely by YAML manifests. Read ARCHITECTURE.md for the full picture; this page gets you from zero to a measured experiment; day-to-day usage lives in USER-GUIDE.md, and every acronym is defined in ACRONYMS.md.

Pre-release (0.x). The manifest schema and vxAPI may change between minor versions (VERSIONING.md); published results are frozen and do not change.

Repository status. All nine repositories (docs, vxedge, vxagents, vxtelemetry, vxota, vxperiments, vxparts, vxmodels and vxmcp) are public. The zone bundle step in section 4 builds from the vxparts clone, so it runs as written.

1. Prerequisites

Verified versions as of 2026-10:

ToolVersionInstall
Rust1.99+ (pinned by rust-toolchain.toml; with rustup installed, the first cargo command in the repo fetches the right toolchain automatically)curl https://sh.rustup.rs -sSf | sh
protocany recent (36.x current upstream, as of 2026-10)distro package, or the release zip → ~/.local/bin
buf1.71+ (optional: proto lint/SDK gen)release binary → ~/.local/bin
git + ghany recentdistro package

Later phases additionally need QEMU/KVM + libvirt, Open vSwitch, and an NVIDIA GPU (CARLA/Autoware/Alpamayo workloads); none of that is required to build and run the control plane today.

2. Workspace layout

vxedge is a meta-workspace of independent git repos, cloned side by side (the parent folder is not a git repo):

mkdir vxedge && cd vxedge
for r in docs vxedge vxagents vxtelemetry vxota vxperiments vxparts vxmodels vxmcp; do
  gh repo clone vxedge/$r
done
RepoWhat
docsArchitecture specification (ARCHITECTURE.md), user documentation, results, roadmap and the facts registry (FACTS.md)
vxedgeStart here: control plane (vxedged), vxAPI (gRPC/Protobuf), CLI
vxpartsUnified loadable registry of zone (virtual-ECU) and central-compute images, published via OCI/ORAS
vxota / vxtelemetryOTA and telemetry service code
vxagentsRust measurement agents (latency probes, traffic gen, pcap)
vxperimentsExperiment packages, vehicle manifests, frozen results
vxmodelsSysML v2 system models + vxmodel manifest renderer, track M (ARCHITECTURE.md §6.3)
vxmcpMCP (Model Context Protocol) server over vxAPI, for agent tooling

Every repo has an AGENTS.md (scope + rules) and a CHANGELOG.md; docs/ROADMAP.md is the public phase status.

3. Get the binaries

Prebuilt (CLI and daemon, Linux x86-64 and ARM64): download the latest vxedge release, check it, and run it. Each release carries SHA256SUMS and build provenance.

gh release download -R vxedge/vxedge --pattern '*x86_64*' --pattern SHA256SUMS      # aarch64 on ARM
sha256sum --ignore-missing -c SHA256SUMS                                             # must say OK
gh attestation verify vxedge-*-x86_64-unknown-linux-gnu.tar.gz -R vxedge/vxedge     # needs gh 2.49 or newer
tar xzf vxedge-*-x86_64-unknown-linux-gnu.tar.gz                                     # vxedge, vxedged, LICENSE, NOTICE

The binaries are built on Ubuntu 24.04 (glibc 2.39), so they run on 24.04 and newer. The campaign in §4 also runs vxprobe and vxtraffic (vxagents) and vxtelemetry: download those releases the same way, or build them from source below. vxedged finds them on its PATH.

Or build everything from source

for r in vxedge vxagents vxtelemetry; do (cd $r && cargo build --workspace); done

Quick unprivileged smoke (daemon + CLI over a Unix socket):

cd vxedge
./target/debug/vxedged --listen unix:///tmp/vxedge.sock --runtime-dir /tmp/vxrt &
./target/debug/vxedge --endpoint unix:///tmp/vxedge.sock status
# gateway vxgateway: state=1 detail=no gateway provisioned
./target/debug/vxedge --help          # full command tree

Real provisioning (up, zone up) needs CAP_NET_ADMIN, plus CAP_SYS_ADMIN to enter a node's network namespace: run vxedged under sudo, or sudo setcap cap_net_admin,cap_sys_admin+ep target/debug/vxedged. Without it, up validates the manifest and then fails with an actionable message (by design).

4. Run your first experiment (exp-001)

The flagship walkthrough: the H1 slice-isolation campaign, run from its package. Every experiment in vxperiments is a vxp/1 package, and every campaign runs the same way.

A campaign runs through vxedged, which needs CAP_NET_ADMIN (§3) and finds vxprobe, vxtraffic and vxtelemetry on its PATH. From the workspace root, with vxedge, vxedged and those three on your PATH:

sudo -v                                                 # so the daemon below starts without a prompt
sudo env "PATH=$PATH" vxedged --listen unix:///tmp/vx.sock --runtime-dir /tmp/vxrt &
sudo chown $USER /tmp/vx.sock                           # once the daemon is listening
export VXEDGE_ENDPOINT=unix:///tmp/vx.sock
cd vxperiments/experiments/exp-001-ws
vxedge experiment validate                              # every check, no daemon
vxedge campaign plan --profile quick                    # the trials, checked; touches nothing
vxedge campaign start --profile quick                   # pipeline check: one archive per trial, then the H1 verdict

The explicit env "PATH=$PATH" is what carries your toolchain into the root process. The root daemon creates its socket owned by root with mode 755, hence the chown for a non-root vxedge client.

The quick numbers are pipeline validation only and are never reported. The full campaign is vxedge campaign start --profile repro: 5 repetitions x 5 load levels, 60k samples per point. Keep the machine otherwise idle and prefer the performance CPU governor. Run it from a clone outside your home directory, for example under /var/tmp: the campaign writes its archives into the package folder, and file indexers or sync clients watching your home directory can load the host while trials run (campaign start warns about it). A campaign writes its archives, campaign.json and verdict.json under results/<campaign id>/ in the package folder; vxedge campaign verdict <campaign id> judges it again, and vxedge campaign compare <campaign id> exp-001 --reference-workspace ../.. compares it with the frozen campaign (the package's README says how). The raw archives of the published campaigns are on Zenodo: 10.5281/zenodo.23804197, and scripts/verdict-parity.sh --fetch in vxperiments re-judges them with each package's criteria. Reference result and methodology: RESULTS.md and the experiment-methodology skill.

Zone bundles for a bare vehicle are built on your own host, not pulled from a registry, so no registry login is needed. For vx-vehicle-01, from the workspace root: vxparts/parts/zone/linux/stack/probe-bundle/build.sh "$PWD/vxperiments/vehicles/vx-vehicle-01/bundle" (bundle/ is git-ignored). The bundle embeds your host kernel, so its digest differs per host, and vehicle up stops before provisioning anything if it is missing. On Ubuntu /boot/vmlinuz-* is mode 600, so build.sh fails until the kernel image is readable (copy it somewhere readable and pass KERNEL=). The exp-001 package needs neither the bundle nor a login: its zones are host processes.

5. Zones and VM guest bundles

Container-backed zones work out of the box (vxedge zone up --vxid … after up). The VM backends (qemu-microvm, libvirt, cloud-hypervisor) boot a guest bundle built once per host, and wasm-capsule runs a WebAssembly module through the vxcapsule runner that ships beside vxedged (TESTBED-SETUP.md lists what each needs):

sudo chmod 644 /boot/vmlinuz-$(uname -r)        # Ubuntu ships the kernel root-only
cd vxparts && ./parts/zone/linux/stack/probe-bundle/build.sh   # -> ./bundle + digests

See USER-GUIDE.md §3c for wiring a bundle into a manifest.

6. Poke the API directly

The contract lives in vxedge/proto/vxedge/v1/ (package vxedge.v1). Any gRPC tool works; with grpcurl, from the workspace root:

grpcurl -unix -plaintext -import-path vxedge/proto \
  -proto vxedge/v1/lifecycle.proto \
  /tmp/vxedge.sock vxedge.v1.GatewayService/Status

Proto hygiene: buf lint in the vxedge repo (CI enforces it).

7. Manifests: the only input

Everything the platform does is declared in YAML manifests (schema: ARCHITECTURE.md §6; worked example: §16). The parser is strict (unknown fields are errors) and semantic validation covers slice references, vxid uniqueness, and slice-mode consistency. Experiment manifests live in vxperiments/experiments/, vehicle manifests in vxperiments/vehicles/.

8. Troubleshooting

  • protoc not found during cargo build: install protoc (table above); the proto codegen runs inside the build via crates/vxedge-api/build.rs.
  • cannot reach vxedged at unix:///run/vxedge.sock: the default socket path needs root-writable /run; for development pass a user-writable path to both sides (--listen/--endpoint unix:///tmp/vxedge.sock) or set VXEDGE_ENDPOINT.
  • A verb prints "not wired to the daemon yet (scaffold)": intentionally unimplemented; USER-GUIDE.md §2 lists each verb's state. Check it before assuming a bug.
  • insufficient privileges … CAP_NET_ADMIN: run the daemon under sudo or setcap it (see §3); provisioning refuses to half-apply without privileges.
  • Bundle build: "vmlinuz not readable": Ubuntu ships kernels 0600; sudo chmod 644 /boot/vmlinuz-$(uname -r).

9. Where to contribute

Check docs/ROADMAP.md (phase status) and RESULTS.md (what is measured). The gates of phases 1 to 3 have passed and phase 3 content is in progress (FACTS.md); v0.1.0 was tagged across the delivering repos when the phase-1 gate passed (2026-07-13). To propose work, open an issue on the repository it belongs to, or on vxedge/docs for anything that spans repositories.

Conventions to know before your first PR: manifests are the sole source of truth; no orchestration logic in any frontend; every image is digest-tagged. Details per repo in its AGENTS.md.

User guide

For SDV / automotive engineers running experiments on vxedge. Onboarding lives in GETTING-STARTED.md; the full spec in ARCHITECTURE.md; host requirements in TESTBED-SETUP.md; results in RESULTS.md; phase status in ROADMAP.md; acronyms in ACRONYMS.md.

State banner: vxedge is a research-grade executable virtual prototype of a zonal SDV E/E architecture, not a certified tool and not a "digital twin" of any physical vehicle (that word is reserved for hardware-in-the-loop parity). What is verified today is listed per-verb below; everything else fails loudly rather than pretending.

1. Concepts

  • A workspace is the unit of work: a folder, not a single file. An experiment is a directory holding a vxp.yaml package descriptor (id, version, entry, requires; a legacy <id>.vxp descriptor is refused, with the steps to migrate) plus top-level YAML documents, each declaring its own kind: experiment (the test), vehicle (the system under test), road (the environment, optional), baseline (which software), component, plus an id. Every cross-reference is by id, never by path, so files can be renamed or reorganized without breaking anything; a whole workspace can also be one file of ----separated documents. The CLI/daemon keep no other configuration; every result archive records the workspace's SHA-256.
  • A workspace is a sandbox. It owns its campaign (the experiment's campaign block: repetitions, warmup, measurement window, sweep, arms and profiles), parts/ (its loadables), assets/ (scenario files), tools/ (its own helpers), and results/ (one archive per trial). It is a folder that can be zipped, sent, unzipped and run standalone, or packed into one .vxp file with vxedge pkg pack. vxedge experiment new <id> [--template minimal|slicing] scaffolds one, with its vxp.lock; vxedge experiment validate runs every cross-file check and every model invariant before anything is provisioned. Full schema: ARCHITECTURE.md §6.0.
  • Structure and software are separate files. One vehicle.yaml carries many baseline files, so an A/B arm is two baselines over one unchanged vehicle, not two vehicle files that drift apart. The vehicle names a slice (links[].slice: adas); the experiment defines it (network.slices[].mode: vlan|s-nssai); it is the only reference that crosses the structure/test boundary, and experiment validate checks it.
  • Slices are the network partitions under test: mode: vlan (per-slice VLAN + HTB queue-tree reservation on the virtual gateway; the H1 mechanism, verified) or mode: s-nssai (5G core slices via Open5GS with a simulated UERANSIM radio; the H2 mechanism, verified).
  • vxgateway is the software edge gateway the daemon provisions from the vehicle/experiment: a VLAN-filtering bridge (network.data_plane: kernel-bridge, default) or an OVS bridge (ovs; same plan, pluggable rendering backend), a shaped trunk uplink (the shared bottleneck where slice contention is measured), and one access port per zone-node interface. A link's impairments block (rate/delay/jitter/loss, via netem) and declarative harness block (medium/length/weight, reporting-only) model the physical wiring between two nodes.
  • Zones, nodes, and roles. Zones are the six regions (front-left, front-right, rear-left, rear-right, central-hpc, gateway); a node is a device with a role (zone-controller, hpc, gateway, ecu, sensor, actuator, switch) sitting in one. Each node runs under a packaging backend: container (network namespace), qemu-microvm (raw QEMU, direct kernel boot), libvirt (full VM) or cloud-hypervisor (microVM over a REST API, validated on linux-probe only) or wasm-capsule (a WebAssembly module in a network namespace), with identical network attachment; the packaging choice is itself an experimental variable (H3). ComputeService is role: hpc filtered over that same backend split, not a separate provisioning path.
  • Jobs: every mutating command returns a job with live streamed progress; a job that couldn't finish reports FAILED with the real error, never a hollow success.
  • Results archives (results/<exp>/<run>.zip) are the reproducibility unit: raw metric scrapes, structured samples, agent summaries, environment metadata, the workspace itself. v0.1.0 (2026-07-13) tags the checkpoint where this became true end to end: H1/H3/H4 all reproducible from a tagged manifest, not just runnable once.

2. CLI reference

All lifecycle verbs follow up|down[|status]; operations are idempotent.

CommandStateNotes
vxedged --listen unix://… --runtime-dir …liveneeds CAP_NET_ADMIN and CAP_SYS_ADMIN for real up (sudo or setcap)
vxedge up|down --manifest <workspace-dir>liveprovisions/removes the gateway; sets the daemon's active experiment. --manifest names a §6.0 workspace directory (or one file of ----separated documents)
vxedge statusliveobserved gateway + per-slice state
vxedge zone up|down --vxid <zone-id|device-id>liveruns the nodes of a zone (a region), or a single device by its own id, except hpc devices, which answer to vxedge compute; needs an active experiment
vxedge zone listliveper-node observed state, with each device's host interfaces (port=, peer=)
vxedge zone add/rm/image pushplannedimage store / registry work
vxedge manifest validate --manifest <path> [--json]livelocal-only. Takes a §6.0 workspace (a directory, or one file of ----separated documents) and runs every cross-file check and every model invariant, the same checks up runs. It is the only schema there is (§6.1/§6.2 were retired 2026-07-31)
vxedge events [--kind K]... [--json]livestreams what the daemon is doing: gateway.up, gateway.slice-applied, zone.up/down, service.up/down, traffic.started/stopped, plus job.state. Domain facts about resources, not job progress; lossy by design, so it is a live view rather than a record. For "what happened, in order, without loss", read the audit log
vxedge doctor [--tier N] [--json]livehost preflight against TESTBED-SETUP tiers 0–3, actionable fix hints
vxedge ota up|down [--experiment <path>]livespawns/manages vxota serve from the workspace's services.ota block; cwd-resolved by default like experiment verbs, --experiment overrides. A campaign normally reaches this through experiment up --stage services (what exp-003 actually does) rather than calling it standalone
vxedge ota status [--experiment <path>]livethe OTA service's observed state, wherever the workspace runs it: as a host process, or placed on a device. --json too
vxedge telemetry up|down|collectliveup/down run the workspace's services.telemetry; collect archives what it ingested, with the workspace and image digests, and returns the archive path and sha256
vxedge compute up|down --vxid <id> / listlivea second RPC surface over the same node backends as zone, filtered to role: hpc devices, not a separate provisioning path. add/rm/image push planned
vxedge vehicle up|down|status --manifest <vehicle workspace>livebrings up the gateway, its slices, every zone, central compute, and the signal plane and services a bare vehicle declares (kind: vehicle + kind: baseline, no experiment file), and tears them down again. --stage restricts it, as on experiment. status observes the host, so it stays right after a daemon restart. A second vehicle is refused while one is active. up refuses before provisioning if a local bundle or localhost/ image is missing, and no registry login is needed. Verified 2026-11-01 on vx-vehicle-02, a multi-zone vehicle with probe guests. manifest validate accepts a bare vehicle too, validating it the way vehicle up loads it. vehicle up --unlocked skips the lock check of a vehicle that is a vxp/1 package, as on experiment up
vxedge experiment new <id> [--template minimal|slicing] [--namespace <org>]livescaffolds a vxp/1 package folder (vxp.yaml, id local/<id> unless --namespace names the publisher) and writes its first vxp.lock; no daemon, no network, no GPU
vxedge results verdict|comparelivelocal and offline (ARCHITECTURE.md §6.0.3): verdict --experiment <workspace or file> <archives or folders>… judges the experiment's criteria over results archives, vxarchive/1 or /2, and compare --experiment … --archives … --reference … sets them against reference archives as ResultService.Compare does. A campaign's archives name their trials; for older ones, --name 'rep{repetition}-load{load_mbps}' (or rep{repetition}-{arm}) reads each trial from its file name. --json prints the full verdict
vxedge pkg new|validate|lock|pack|unpack|inspect|vendorlive (0.6.1; vendor 0.8.0)local and offline (ARCHITECTURE.md §6.0.7). validate adds the package checks to experiment validate and names each file the lock does not match; lock [--check]; pack [--out <dir>] refuses a stale lock and writes <name>-<version>.vxp beside the folder with its sha256: digest; unpack <file> [--into <dir>]; inspect [<file>] prints descriptor, lock and digest from either form; vendor <dir> [--as <owner>/<repo>/<path>] [--replace] copies another folder's documents in, such as a reference vehicle, with the local part folders they reference that git tracks (such as an attach adapter), records each copy's source and digest in the lock, and lists the scripts and build outputs it left behind and the local references the package still needs; vendor --check reports a copy edited here or changed at its source
vxedge experiment validatelivelocal-only; loads the workspace here and runs every cross-file check, reporting all problems at once
vxedge experiment up|down|statusliveacts on the workspace in the current directory (its vxp.yaml); no name, no --manifest. --chdir <dir> to run from elsewhere. up provisions gateway → zones → signal plane → services and does not start traffic; use vxedge traffic up. --stage gateway|zones|compute|signal-plane|services (repeatable) restricts it, so --stage services alone does not start a declared signal plane: a campaign measuring on the host-side veth peers stages only the gateway, and one whose isolation contract is a single arm at a time stages the gateway then brings each arm up with zone up --vxid. On a vxp/1 package up refuses with ERROR_REASON_LOCK_MISMATCH, naming each difference, when the package does not match its vxp.lock (0.7.0); --unlocked runs it anyway while authoring, and the run records that it was unlocked
vxedge traffic up|down --manifest …livedrives the declared profiles; kept separate from experiment up because load is time-bounded and a campaign sweeps it over a fixed topology. A profile whose source node's zone is up runs inside that node: the load or probe starts in the node's network namespace from its pinned address, to a target node or to the far side of the uplink. A profile whose source is not a node needs host-side traffic, experiment up --stage gateway, and is refused otherwise
vxedge measure start|stop|statusliveruns the experiment's declared measurements (rtt-probe) in the workspace of the current directory, once the experiment is up: the daemon starts vxprobe inside each end's network namespace, or on the far side of the uplink for to: internet. --id (repeatable) selects measurements, and --duration-s overrides method.duration_s. Samples reach the ingest as measurements/<id>. A VM or attached end is refused by Plan with ERROR_REASON_MEASUREMENT_INVALID
vxedge campaign plan|start|status|verdict|comparelivethe experiment's campaign in the workspace of the current directory: plan lists the trials (every sweep point and every arm) with their windows and any problem, start runs them one after another as a campaign.run job and follows it (--profile, --request-id to resume, --unlocked), status [<campaign id>] shows each trial's state, phase and archive and the recorded verdict, and verdict <campaign id> judges the experiment's criteria over the campaign's archives (ResultService.Verdict), criterion by criterion. compare <campaign id> <reference id> sets each metric's median at each point against the reference's median and IQR, and each criterion's outcome against the reference's (ResultService.Compare). A campaign needs the experiment's own telemetry service; its archives and campaign.json go to results/<campaign id>/
vxedge runs [status|down]livelists the runs on this host, each with its instance slot and run id; runs status and runs down (--all) act on several runs at once
One run by id, planning, host capabilities, job list and cancel, traffic statuslive in vxAPI, CLI plannedRunService.Get, WorkspaceService.Plan, HostService.Capabilities, JobService.List/Cancel and TrafficService.Status have no CLI verb yet. Agents reach them through vxmcp (run_get, workspace_plan, host_capabilities, job_list, job_cancel, traffic_status)

Global flags: --endpoint (default local Unix socket, or VXEDGE_ENDPOINT), --json, --chdir, --run.

The command-line contract

Every vxedge command-line tool is meant to follow these rules, so a script or an agent can drive one the same way as another. Not every tool follows them yet: the main differences are listed at the end of this section.

Naming the target.

  • A command that acts on a workspace, an experiment or vehicle package, takes it from the working directory. --chdir <dir> runs the command as if it were started in <dir>.
  • A command that acts on something the daemon already holds names it by id: a campaign id, a node's --vxid, or --run <run id> when the host runs several.
  • Every tool that talks to the daemon finds it through --endpoint, or VXEDGE_ENDPOINT, and otherwise uses unix:///run/vxedge.sock.
  • A command that checks a file or folder, such as manifest validate, takes its path as an argument, and defaults to the working directory.

Output. With --json, stdout carries only JSON: one document, or one JSON object per line for a command that follows a job or a stream. Progress, warnings, errors and logs go to stderr. An error also prints {"error": {"message": …, "reason": …}} on stdout, so a caller reading JSON sees it. Without --json, the output is for people and may change between releases, so scripts use --json.

Exit codes.

CodeMeaning
0The command succeeded and, where it judges something, every criterion or check passed
1The command ran, and a criterion or check failed or was inconclusive. The output says which
2Usage error: an unknown command or flag, or a missing or invalid argument
3The tool, the daemon or the host failed: the daemon is unreachable, a job failed for a host reason, a file cannot be read

campaign start follows the campaign to its end and exits 1 when the campaign's verdict failed, and 3 when vxedge or the host failed.

Help. Every command, flag and argument has a description. A default shown in help is the real one. Help lists no command or flag that does not work yet. --version prints the tool's name and version and exits 0.

Where the tools differ today. The main known differences:

  • vxedge:
    • a verdict or comparison that fails or is inconclusive still exits 0: campaign verdict, campaign compare, results verdict and results compare. Read the outcome field of their --json output. campaign start exits 0 whenever every trial ran, whatever the verdict;
    • every error exits 1, including an unreachable daemon and a failed job, and an error under --json prints no JSON;
    • zone and compute add, rm and image push are listed in help but not built. They print a notice and exit 0, and will be removed;
    • several subcommands and flags have no description in help;
    • the scripts/run.sh that experiment new writes calls traffic up and traffic down without the --manifest they need today.
  • vxedge target naming: the gateway verbs up and down, and vehicle, traffic, telemetry collect and manifest validate, take --manifest; ota, telemetry up and down, nos-check and results take --experiment; manifest validate takes its path through --manifest, not as an argument.
  • vxedged and vxcapsule have no --version. vxmcp has no --help, ignores unknown arguments, and exits 1 on every failure.
  • The measurement, OTA, telemetry, model and VHAL tools have no --json flag. vxprobe, vxtraffic, vxota-probe and vxtelemetry always print JSON, while vxota and vxvhal write their logs to stdout. None of them exits 3 on a host failure, vxtelemetry verify uses 3 for an identity it cannot check, and vxmodel exits 1 on a usage error.

The work to close these is planned in vxedge#215 (vxedge exit codes and help), vxedge#216 (naming the target), and each tool's own issue: vxagents#28, vxtelemetry#57, vxota#23, vxmodels#15 and vxvhal#7.

3. Typical workflows

a) Slicing sandbox (no measurement)

sudo -E env "PATH=$PATH" ./target/debug/vxedged --listen unix:///tmp/vx.sock --runtime-dir /tmp/vxrt &
vxedge --endpoint unix:///tmp/vx.sock up --manifest exp.yaml     # bridge + VLANs + HTB
vxedge --endpoint unix:///tmp/vx.sock status                     # per-slice observed state
vxedge --endpoint unix:///tmp/vx.sock zone up --vxid vxzone-front-left-01
vxedge --endpoint unix:///tmp/vx.sock zone list
vxedge --endpoint unix:///tmp/vx.sock down --manifest exp.yaml

b) A measurement campaign (the exp-001 pattern)

A campaign is declared in the experiment (campaign: repetitions, warmup outside the probe window, sweep or arms, profiles) and run by vxedged, one archive per trial. Every experiment in vxperiments is a package run this way:

cd vxperiments/experiments/exp-001-ws
vxedge campaign plan --profile repro      # the 25 trials, checked; touches nothing
vxedge campaign start --profile quick     # pipeline validation -> results/<campaign id>/
vxedge campaign start --profile repro     # the published protocol, on an idle host
vxedge campaign verdict <campaign id>     # the H1 criteria over the campaign's archives

Each campaign writes to its own results/<campaign id>/ in the workspace. vxedge results verdict --experiment . <archives> judges archives offline, with no daemon, and scripts/verdict-parity.sh --fetch in vxperiments re-judges every published dataset with its package's criteria.

Numbers from quick campaigns are pipeline validation only and are never reported. Reference result (2026-08-03 corrected campaign, superseding the original 2026-07-10 run; see RESULTS.md's Phase 1 row for why): ADAS slice p99 held at 0.91x baseline under 1.2x offered overload from the infotainment slice, zero loss (see RESULTS.md).

c) VM-backed zones (guest bundles)

VM backends boot a bundle (kernel + initramfs with an autostarting payload), built once:

sudo chmod 644 /boot/vmlinuz-$(uname -r)      # Ubuntu ships the kernel root-only
cd vxparts && ./parts/zone/linux/stack/probe-bundle/build.sh # -> ./bundle (digests in meta.json)

Point a node's image.url at the bundle dir with kind: rtimage and backend: qemu-microvm, backend: libvirt or backend: cloud-hypervisor. Guest network comes from the manifest's ip: via the kernel cmdline; the payload (a vxprobe reflector) starts automatically.

4. Measurement agents & telemetry (standalone today)

  • vxprobe reflect|send: RTT p50/p95/p99, jitter, loss; live Prometheus /metrics; JSON summary on stdout (stdout is machine-readable; logs go to stderr).
  • vxtraffic: rate-accurate UDP load (--pps or --bandwidth-mbps).
  • vxtelemetry ingest|collect: scrapes manifest targets, archives results/<exp>.zip with metadata (experiment id, manifest SHA-256, tool versions, ingest completeness).

5. Reading results

Every archive contains metadata.json (reproducibility fields), manifest.yaml, ingest/raw/**.prom (timestamped scrapes), ingest/samples.jsonl (structured samples), agent summaries, and run-env.json (kernel, RT flag, governor, pinning, timestamping method, load level, repetition). Analysis reads archives only; figures must regenerate headlessly. Report medians with IQR across repetitions; state sample counts next to tail percentiles; keep the recorded caveats attached (shared-host gateway, non-PREEMPT_RT kernel, userspace timestamps).

6. Mapping to production SDV vocabulary

vxedgeProduction counterpart
vxgateway (bridge/VLAN/HTB)zonal gateway / central switch QoS (automotive Ethernet)
slices mode: vlan → s-nssaistatic VLAN partitioning → 5G network slicing (S-NSSAI/URSP)
zones + backendszonal ECUs under a Type-1 hypervisor
type: can links (phase 3)CAN/LIN drops behind zonal controllers (restbus, DBC, Kuksa/VSS)
harness impairments (delivered) + harness block100/1000BASE-T1 PHY characteristics (rate/delay/jitter/loss) + declarative length/weight for harness-reduction reporting; TSN variant = 802.1Qbv/Qav + gPTP (phase 2, open)
results archivestest-bench evidence packages

7. Getting help / contributing

Each repo carries AGENTS.md (scope + rules) and CHANGELOG.md; docs/ROADMAP.md is the public phase status. Quality bars are codified per repo: rust-patterns, testbed-quality, experiment-methodology, gateway-verification (vxedge), sysml-authoring (vxmodels). A verb that prints "not wired to the daemon yet (scaffold)" is unimplemented: check the CLI reference in §2 before assuming a bug.

Results

What vxedge has measured so far, one row per hypothesis, with the caveat that matters most for each. Hypotheses are defined in ARCHITECTURE.md §2; methodology in §12. Acronyms are defined in ACRONYMS.md. Every number below comes from a frozen summary in vxperiments/results/, which records the input manifest's sha256 alongside it. Each one is registered in FACTS.md, which also holds the full per-load and per-arm tables. This page explains the numbers; that file is where they are quoted from. The raw per-run archives behind the summaries are a dataset on Zenodo: 10.5281/zenodo.23804197.

Reproduce. Each experiment is a vxp/1 package in vxperiments/experiments/, with its campaign and acceptance criteria in the package. vxedge campaign start --profile repro, from the package's folder, runs the published protocol (GETTING-STARTED.md §4). scripts/verdict-parity.sh --fetch in vxperiments downloads the published archives and requires each package's criteria to give the published verdict on them. exp-010's archives hold probe summaries only, so its H2 verdict is checked by notebooks/analyze_exp010.py instead. The verdicts were first computed by analysis notebooks that the packages replaced; they are kept at the vxperiments v0.2.1 tag.

Summary

HypothesisExperimentVerdictHeadline number
H1 (isolation): VLAN + tc queue-tree reservations keep ADAS p99 near baseline under infotainment loadexp-001HoldsADAS p99 at 600 mbit load: 81.9 µs vs 89.6 µs baseline (0.91×; threshold 2.0×)
H2: real S-NSSAI slicing vs static VLAN mappingexp-010Holdsp99 growth, baseline → 600 mbit: S-NSSAI 0.95× vs VLAN 0.91× (tolerance 1.1×)
H3: virtual-ECU packaging affects zone-to-compute latencyexp-002 → exp-002bHoldsVirtio transport is the dominant factor: MMIO → PCI Δp50 −26.0 µs (IQR 2.2 µs)
H4: co-located OTA does not compromise the ADAS sliceexp-003HoldsADAS p50: 52.2 µs baseline vs 51.9 µs under OTA burst (Δ −0.3 µs, inside the 6.0 µs IQR)

Every campaign above is 5 repetitions per arm or load point, 1000 pps × 60 s per point (60 000 probes), with a 10 s warmup discarded. Each result has been reproduced by an independent second campaign (the repro protocol) that reached the same verdict.

H1: isolation (exp-001)

The ADAS tail does not grow with load: p99 is 89.6 µs idle and 81.9 µs at 600 mbit, and loss is 0.0 % at every level. Full table: FACTS.md § H1.

Caveat: the gateway shares its host with the zones it serves, and timestamps are taken in userspace (SO_TIMESTAMPING is a tracked follow-up). An earlier version of this campaign measured loopback delivery instead of the gateway path, because probe and reflector sat in the same network namespace. That defect was fixed with real netns isolation and is now covered by a CI regression test. The numbers above are the corrected re-run. Summary: vxperiments/results/exp-001/exp-001-summary.md

Repeats on a newer kernel. Two further runs on kernel 7.0.0-38-generic (input sha ac2496e3f58e…, 25 archives each) keep the verdict: p99 at the highest load is 0.94× and 1.00× of idle, against 0.91× in the frozen run, and the second repeat sits inside the first's IQR on 12 of 15 metric × load pairs (values in FACTS.md § H1). Both read a few microseconds below the frozen run at the two highest loads. The cause is not isolated; the kernel change is the leading suspect and has not been tested. The frozen numbers stay the published ones; these are supplementary checks.

Workspace hashes. A workspace's input hash covers every file in it, comments included, so it changes with any edit. The hash of a current checkout of exp-001-ws therefore matches neither the frozen campaign's nor the repeats': a header comment in run.sh was edited after the repeats (vxperiments#3). Compare against the commit the archive names, not against the hash of whatever is checked out.

H2: real slicing vs static mapping (exp-010)

S-NSSAI PDU sessions through Open5GS + UERANSIM, compared against exp-001's VLAN arm. The S-NSSAI path has a higher absolute floor (p99 ≈ 317–337 µs, since it crosses a software UPF and GTP-U), but its tail grows no faster under load than the VLAN path does, which is what the hypothesis tests.

Caveat: the first campaign did not hold, because nothing in the 5G path applied per-slice QoS. The fix was real HTB enforcement on the slice path. Configuring 5QI/AMBR alone was checked first and changed nothing. The campaign was then re-run with host-noise mitigations (CPU governor, core pinning, randomized load order). All intermediate campaigns are kept in the results directory. A second campaign on 2026-10-30, on a newer kernel with other VMs on the host, reached the same verdict by a small margin: S-NSSAI p99 grew 1.00× against VLAN's 0.91×, inside the 1.1× tolerance, with p99 at 339–356 µs. Summary: vxperiments/results/exp-010/exp-010-summary.md

H3: virtualization choice (exp-002b)

Six packaging arms, from container to microvm-mmio, with p50/p99, CPU and RSS per arm: FACTS.md § H3.

Decomposition: virtio transport (MMIO vs PCI) −26.0 µs; libvirt vs raw QEMU −17.3 µs, likely because libvirt enables vhost/optimized virtio settings that a bare QEMU invocation does not; vhost-net alone −9.5 µs. Machine type (q35 vs microvm) has no measurable effect (−0.3 µs, within IQR).

Caveat: exp-002's original conclusion ("microVMs are slowest") was right about the ranking but wrong about the cause. exp-002b was designed specifically to separate the factors. Summary: vxperiments/results/exp-002b/exp-002b-summary.md

H4: OTA co-location (exp-003)

Both arms, with p50/p95/p99 and OTA deliveries (361 ok, 0 failed per repetition): FACTS.md § H4.

Caveat: the v1 OTA transport binds a plain host address. That means this measures host-level CPU and scheduling contention between OTA and the ADAS probe, not gateway-QoS-enforced network contention. A second campaign on 2026-10-30, on a newer kernel with other VMs on the host, kept 3 of 6 absolute medians inside the first campaign's IQR and moved the rest outside it, but it did not change the comparative verdict. Summary: vxperiments/results/exp-003/exp-003-summary.md

Other completed experiments

  • exp-005: cold-start / first-packet latency after zone boot. The effect was confirmed in 20 of 20 repetitions. It explains the inflated first-arm tails seen incidentally in exp-001/002/003.
  • exp-014: wiring-harness topology as a variable: star vs daisy-chained zones. The expected hop-count effect holds.

Phase-3 gate

vxedge vehicle up brought up a full vehicle from one workspace: vx-vehicle-02, with zones on two backends, central compute and a service placed on a slice. This is a provisioning result, not a measurement: nothing was timed, and the guests are probes.

Methodology caveats that apply to everything above

These are properties of the host class used for phase 1–2, not of one machine:

  • Shared-host gateway: vxgateway runs on the same host as the zones.
  • Non-PREEMPT_RT kernel, performance CPU governor, measurement cores pinned.
  • Userspace monotonic timestamps.

Host requirements per experiment tier are in TESTBED-SETUP.md.

Facts registry

This file is the single registry of published facts: measured numbers, verdicts, phase states, the parity ledger and what has been delivered. The website (vxedge.dev) builds every number and state it shows from this file and nothing else. The GitHub READMEs and RESULTS.md quote it.

Each measured value is copied from a frozen summary in vxperiments/results/. Those summaries record the input manifest's sha256. This file does not replace them; it is the one place they are quoted from. RESULTS.md explains the numbers: what each hypothesis tests and the caveat that matters most.

To change a fact: edit it here first, in the same change as the summary or state that moved. Then run python3 scripts/facts.py check from this repo. The website picks the change up on its next build. Its CI fails if the vendored copy is stale, or if a page shows a number that is not registered here.

Format. Every table whose first column is Key is machine-read by scripts/facts.py. A table with a Value column holds one fact per row. Any other keyed table is a row table: each cell becomes <key>.<column>, where the column name is the first word of its header, lowercased (p99 µs (IQR) → p99). Keys are lowercase and never change meaning once published. A fact that is retired is deleted, not renamed.

State words are fixed. For deliveries: measured (frozen, reproduced results), live (works today, no frozen number), building (partly landed), planned (specified, not built). For the parity ledger: real (the production software or kernel path itself), emulated (real software on modelled hardware), planned, caveat (works, with a stated limit on what it can tell you).

1 · Project

KeyValueSource
project.namevxedge—
project.summaryA virtual vehicle with environmental parity, for packaged, measured SDV experiments.The one-line description of vxedge; each README's first paragraph and the website quote it
project.descriptionvxedge is a virtual zonal vehicle for OEM and Tier 1 engineers. Software updates, new functions and faults run as packaged experiments on one machine, and every result ships with its digests.The short description of vxedge; README.md and the CITATION.cff abstract quote it
project.version0.2.3CITATION.cff: the citable release that Zenodo archives, not a software version (see Releases)
project.released2026-10-30CITATION.cff
project.doi10.5281/zenodo.23802762CITATION.cff: Zenodo concept DOI, resolves to the latest version (0.2.3 is 10.5281/zenodo.23802763)
archives.doi10.5281/zenodo.23804197https://doi.org/10.5281/zenodo.23804197: Zenodo concept DOI of the raw result archives, resolves to the latest version (2026-11-v2, in vxarchive/2, is 10.5281/zenodo.24192950; 2026-11, in vxarchive/1, is 10.5281/zenodo.23810053)
project.stagepre-releasepre-1.0: the manifest schema and vxAPI may change between minor versions; published results are frozen (VERSIONING.md)
project.statusGates of phases 1–3 passed, phase 3 content in progressROADMAP.md
project.phase3ROADMAP.md
project.licence_codeApache-2.0LICENSE
project.licence_docsCC BY 4.0LICENSE-DOCS
project.hypotheses4ARCHITECTURE.md §2
project.hypotheses_hold4§2 below
project.reproduced4§2 below: each verdict re-reached by an independent second campaign
project.repos10README.md: docs and nine code repositories
project.mcp_spec2026-07-28vxmcp targets this MCP specification revision

Phases

KeyPhaseGateState
phase.1Slicing core, API-firstReproducible H1/H3/H4 numbersdone
phase.2Real slices and workloadsH2: S-NSSAI vs static VLANdone
phase.3Production SDV alignmentvxedge vehicle up boots a full vehicle end to enddone

Releases

The latest tagged release of each code repository.

KeyRepositoryVersionReleased
vxedgevxedge0.35.02026-11-22
vxagentsvxagents0.2.32026-11-12
vxmcpvxmcp0.8.02026-11-19
vxmodelsvxmodels0.1.02026-10-29
vxotavxota0.1.22026-11-12
vxpartsvxparts0.1.02026-10-29
vxperimentsvxperiments0.2.12026-11-13
vxtelemetryvxtelemetry0.11.02026-11-16
vxvhalvxvhal0.1.12026-11-08

Tracks

KeyTrackStatus
track.mM: SysML v2 model governanceM0–M3 closed; M4 waits on a GPU host
track.cC: containerizationcomplete through C3.2
track.pP: vxparts unificationcomplete

2 · Results

The tables under each hypothesis heading (H1–H4) and under Other completed experiments are measurements. The website paints those values, and only those, in its measured-value colour. The method, parameters and verdicts are not measurements and are not painted.

Method and parameters

The same method for every campaign, and the parameters each hypothesis was tested with. These are configuration, not measurements.

KeyValueSource
method.reps5 repsper arm or load point
method.rate1000 ppsprobe rate
method.duration60 sper point
method.probes60 000 probesper point
method.warmup10 sdiscarded before probing
method.campaign_time~35 minfull exp-001 campaign on an idle host, GETTING-STARTED.md
h1.max_load600 mbitH1: highest offered infotainment load
h1.uplink500 mbitH1: root rate of the shared uplink, exp-001-ws/main.yaml
h1.overload1.2×H1: max load ÷ uplink
h1.loads5 loadsH1, H2: load levels swept
h1.threshold2.0×H1: pass threshold for p99 at max load ÷ p99 idle
h2.tolerance1.1×H2: S-NSSAI p99 growth may exceed VLAN growth by at most this factor
h3.arms6 armsH3: packaging arms compared
h3.probes1.8M probesH3: probes across all archives
h4.artifact5 MBH4: artifact size, delivered back to back
h4.arms2 armsH4: baseline and OTA burst
repro.kernel7.0.0-42-genericH2, H4: host kernel of both 2026-10-30 second campaigns, exp-010-summary.md, exp-003-summary.md

Verdicts

KeyHypothesisExperimentVerdictManifest sha256Archives
h.1Isolation: VLAN + tc reservations keep ADAS p99 near baseline under infotainment loadexp-001holds2666fbf561ae…25 archives
h.2Real S-NSSAI slicing vs static VLAN mappingexp-010holds4fa24418b7a1…25 archives
h.3Virtual-ECU packaging affects zone-to-compute latencyexp-002bholds625840eeeb0c…30 archives
h.4Co-located OTA does not compromise the ADAS sliceexp-003holds1efebdef615f…10 archives

H1: isolation (exp-001)

KeyValueSource
h1.p99_max81.9 µsADAS p99 at the highest load
h1.p99_idle89.6 µsADAS p99 at zero load
h1.ratio0.91×p99 at max load ÷ p99 idle
h1.loss0.0 %packet loss at every load level

Supplementary repeats on a newer host kernel. The frozen campaign above is unchanged; these two repeats confirm the verdict on kernel 7.0.0-38-generic (the frozen run used 7.0.0-28-generic). Source: vxperiments/results/exp-001-repro-2026-10-13-run2/exp-001-repro-check.md.

KeyValueSource
h1r.kernel7.0.0-38-generichost kernel of both repeats
h1r.shaac2496e3f58e…input manifest sha256 of both repeats (differs from the frozen 2666fbf561ae… by a tolerance fix in the pinning helper and comment edits)
h1r.ratio_run10.94×repeat 1: p99 at max load ÷ p99 idle
h1r.ratio_run21.00×repeat 2: p99 at max load ÷ p99 idle
h1r.within12 of 15metric × load pairs of repeat 2 whose median lies inside repeat 1's IQR
h1r.archives25 archivesper repeat

Per load level. Latency in µs with the IQR across repetitions in brackets. Source: vxperiments/results/exp-001/exp-001-summary.md.

Keyload (mbit)p50 µs (IQR)p95 µs (IQR)p99 µs (IQR)loss %
h1.load.0049.9 (0.8)71.4 (6.7)89.6 (6.4)0.0
h1.load.10010051.1 (3.0)72.0 (6.1)87.5 (7.0)0.0
h1.load.25025049.8 (1.9)70.1 (3.3)84.5 (4.7)0.0
h1.load.40040050.6 (1.3)72.3 (3.1)85.2 (4.2)0.0
h1.load.60060051.4 (1.8)69.2 (2.8)81.9 (5.0)0.0

H2: real slicing vs static mapping (exp-010)

KeyValueSource
h2.ratio_snssai0.95×S-NSSAI p99 growth, idle → max load
h2.ratio_vlan0.91×VLAN p99 growth over the same sweep (exp-001)
h2.floor317–337 µsS-NSSAI p99 across all loads: software UPF and GTP-U
h2.repro_ratio1.00×S-NSSAI p99 growth in the 2026-10-30 second campaign
h2.repro_floor339–356 µsS-NSSAI p99 across all loads in the 2026-10-30 second campaign
h2.repro_inside3 of 15metric × load pairs of the 2026-10-30 second campaign inside the first campaign's IQR; the verdict held
h2.live_ratio0.97×S-NSSAI p99 growth in the 2026-11-13 live run of the exp-010 package (vxedge 0.27.0, 5G images pinned by digest, judged by campaign verdict against a 1.006× bound); the verdict held, exp-010-summary.md
h2.live_floor291–320 µsS-NSSAI p99 across all loads in the 2026-11-13 live run

Per load level, S-NSSAI path. Source: vxperiments/results/exp-010/exp-010-summary.md.

Keyload (mbit)p50 µs (IQR)p95 µs (IQR)p99 µs (IQR)loss %
h2.load.00269.3 (7.3)305.2 (11.5)335.1 (14.1)0.0
h2.load.100100254.1 (3.6)299.5 (2.6)324.1 (6.9)0.0
h2.load.250250261.6 (4.0)313.1 (4.7)336.6 (12.7)0.0
h2.load.400400260.9 (1.9)294.7 (7.4)318.7 (23.0)0.0
h2.load.600600260.7 (4.7)293.4 (5.9)317.2 (10.8)0.0

H3: virtualization choice (exp-002b)

KeyValueSource
h3.transport−26.0 µsΔp50, virtio MMIO → PCI (microvm-pci vs microvm-mmio)
h3.transport_iqr2.2 µsIQR of that comparison
h3.management−17.3 µsΔp50, libvirt vs raw QEMU (libvirt-q35 vs q35-pci)
h3.management_iqr2.0 µsIQR of that comparison
h3.vhost−9.5 µsΔp50, vhost-net on vs off (q35-vhost vs q35-pci)
h3.vhost_iqr2.5 µsIQR of that comparison
h3.machine−0.3 µsΔp50, q35 vs microvm (q35-pci vs microvm-pci): no measurable effect

Per packaging arm. CPU and RSS are means across repetitions. Source: vxperiments/results/exp-002b/exp-002b-summary.md.

Keyarmp50 µs (IQR)p99 µs (IQR)CPU %RSS MB
h3.arm.containercontainer54.6 (1.3)94.4 (2.8)4.37.3
h3.arm.libvirt-q35libvirt-q3570.3 (1.6)117.6 (2.4)8.2166.2
h3.arm.q35-vhostq35-vhost78.1 (2.5)122.9 (4.4)9.1150.6
h3.arm.q35-pciq35-pci87.6 (2.0)138.6 (2.6)11.3150.9
h3.arm.microvm-pcimicrovm-pci87.9 (2.2)138.2 (3.2)11.4150.2
h3.arm.microvm-mmiomicrovm-mmio113.9 (2.0)165.0 (6.3)15.0146.4

H4: OTA co-location (exp-003)

KeyValueSource
h4.p50_baseline52.2 µsADAS p50 without OTA
h4.p50_ota51.9 µsADAS p50 during the OTA burst
h4.delta−0.3 µsdifference of the two
h4.iqr6.0 µsbaseline IQR, the one-sided threshold
h4.deliveries361 deliveriessigned deliveries per repetition (median)
h4.failed0failed deliveries
h4.loss0.0 %packet loss in both arms
h4.repro_inside3 of 6metric/arm pairs of the 2026-10-30 second campaign inside the first campaign's IQR; the verdict held
h4.probe_builddebugbuild profile of the vxprobe that measured the frozen campaign
h4.release_p5035.3 µsADAS p50 in both arms of the 2026-11-13 rerun with release builds of vxprobe 0.2.3 and vxota 0.1.2, exp-003-summary.md
h4.release_delta+0.03 µs2026-11-13 release rerun: the burst's rise in median p50, against a 1.41 µs threshold; the verdict held

Per arm. Source: vxperiments/results/exp-003/exp-003-summary.md.

Keyarmp50 µs (IQR)p95 µs (IQR)p99 µs (IQR)OTA deliveries ok/fail
h4.arm.baselinebaseline52.2 (6.0)80.7 (4.9)97.7 (5.6)n/a
h4.arm.ota-burstota-burst51.9 (1.7)79.9 (6.3)93.1 (5.5)361 / 0

Other completed experiments

KeyValueSource
exp005.confirmed20 of 20exp-005: cold-start first-packet effect, repetitions confirming it
exp014.verdictholdsexp-014: star vs daisy-chained zones, hop-count effect
exp018.verdictholdsexp-018: DDS, SOME/IP and CAN-signal traffic on the infotainment slice keep the ADAS slice's p99 within 2x of idle, live on vxedge 0.29.0. exp-018-summary.md
exp018.p9953.4–55.7 µsexp-018: ADAS p99 under the three protocol loads, against 53.7 µs idle, device to device, no probe lost. exp-018-summary.md
exp014.ringholdsexp-014 0.3.0: a ring harness bounds the farthest zone at two hops; its front-right sits 60.0 µs below the chain's rear-left at p50, live on vxedge 0.27.0. exp-014-repro-2026-11-13
exp014.hop_p50+60 µsexp-014: p50 added per daisy-chain hop in the 2026-11-13 live run (30 µs / 5 µs netem per hop, a stated assumption). exp-014-repro-2026-11-13
exp016.slice_publish+8 µsexp-016: kuksa-databroker 0.7.1 publish-to-subscriber p50 across the broker's slice, minus the same on the broker's device; out and back, never one-way. broker-slice-main-2026-11-04
exp016.slice_actuate+11 µsexp-016: actuate-to-provider p50, the same difference. broker-slice-main-2026-11-04
exp016.load+1 µsexp-016: 600 mbit/s on another slice, publish and actuate p50, loaded minus idle, inside the spread between repetitions. broker-slice-main-2026-11-04

3 · Deliveries

Parity ledger

How close each part of the virtual vehicle is to production today, and what closes the gap (p3, p4: the phase that does).

KeyPartTodayStateCloses the gap
parity.networkNetwork pathLinux kernel: OVS or bridge, tc HTB per slice, VXLAN, WireGuardrealBlueField offload · p4
parity.core5G coreOpen5GS with real S-NSSAI PDU sessionsreal—
parity.radio5G radioUERANSIM gNB and UE in softwareemulatedAerial RAN · p4
parity.zonesZone ECUsReal guest OS under container, microVM or KVMemulated—
parity.harnessHarnessPer-link rate, delay, jitter, loss; 100BASE-T1 length and weightemulatedTSN 802.1Qbv · p3
parity.mcuMCU firmwareUnmodified firmware on register-level modelsplannedRenode · p3
parity.sensorsSensorsWorld streams carried as slice trafficplannedCARLA · p3
parity.computeCentral computeAutoware and ROS 2 in containersplannedDRIVE AGX · p4
parity.cockpitCockpitAndroid Automotive 26Q2 framework and its gRPC Vehicle HAL path, on x86_64 CuttlefishemulatedAAOS on arm64 · p3
parity.timingTimingUserspace timestamps on a shared hostcaveatKernel timestamps · open

Zones

State of each zone of the reference vehicle (vx-vehicle-01 family, ARCHITECTURE.md §3 topology figure). parity.zones above is the ledger row for the zone ECUs as a class; this table is per zone. The front zones run the ADAS slice and are planned.

KeyZoneRoleState
zone.front_leftfront-leftRTOS, ADASplanned
zone.front_rightfront-rightRTOS, ADASplanned
zone.rear_leftrear-leftcomfort, BMS, clientsemulated
zone.rear_rightrear-rightcomfort, BMS, clientsemulated
zone.centralcentralmaps to central computeemulated
zone.gatewaygatewayuplink into vxgatewayemulated

Zone backends

How a zone node runs. Every backend but attach gets its port from the gateway; an attach node's port is the interface its own platform creates, adopted by the gateway.

KeyBackendRunsStateValidated on
backend.containercontainera network namespace, or an OCI image in a container grouplivevxprobe, OCI payloads
backend.qemu_microvmqemu-microvma guest bundle under raw QEMU: x86_64 on microvm, aarch64 on virtlivelinux-probe (x86_64, KVM; aarch64, TCG only), the FreeRTOS and Zephyr probe bundles
backend.libvirtlibvirta guest bundle as a libvirt domainlivelinux-probe
backend.cloud_hypervisorcloud-hypervisora guest bundle under Cloud Hypervisorlivelinux-probe only
backend.wasm_capsulewasm-capsulea WASI 0.2 component in a vxcapsule processlivereflector-capsule only
backend.attachattacha guest on its own platform's host stack, through an adapterliveAAOS 26Q2 on Cuttlefish only
backend.qemu_mcuqemu-mcumicrocontroller firmware on QEMU's mps2-an385 (Cortex-M3), TCG onlylivethe FreeRTOS and Zephyr probe-mps2 firmware

Probe parts

The probe guests published in vxparts under ghcr.io/vxedge/parts/. Each declares org.vxedge.reflector: udp/9800: a UDP reflector on port 9800 that a measurement can target inside the guest. The x86-64 Linux bundle also declares org.vxedge.virtio-pci: true, so it boots with a PCI virtio transport. Pin a part by its digest.

KeyPartVersionDigest
part.linux_probe_bundlezone/linux/stack/probe-bundle0.1.2sha256:7d7f0c0c2d5c70f94661d67f5221b16093591aa01144a4d4dc2d99572a1e53b0
part.linux_probe_bundle_aarch64zone/linux/stack/probe-bundle-aarch640.1.1sha256:bfe13a9628689618a0a3203bb0ad4db854012e205228692663d58fb877857276
part.freertos_probe_bundlezone/freertos/stack/probe-bundle0.1.1sha256:5c1a314c658c2e1ebdb71761c1d0aecdb2d8ae0ae792840b77964c7ec0fa6e0d
part.zephyr_probe_bundlezone/zephyr/stack/probe-bundle0.1.1sha256:f613afb32a87a9fc78b455ad2f15ed4b168c755b5acdaae2c14736ebc558e34d
part.freertos_probe_mps2zone/freertos/firmware/probe-mps20.1.1sha256:ca728131ca8a2d0b0f6253c258c91abdb47d9666926e79474b01907571dd4a9f
part.zephyr_probe_mps2zone/zephyr/firmware/probe-mps20.1.1sha256:3114361b2c184d5a0f58512147135007178e6f131d5def5fdf344dd77eb54156

Frontends

The clients of the vxAPI (ARCHITECTURE.md §5.1 layers figure). Every one is a thin client: no orchestration logic lives in a frontend.

KeyFrontendRoleState
frontend.clivxedge CLIprimary frontend, Rustreal
frontend.mcpvxmcpMCP server for AI agent toolinglive
frontend.sdkGenerated SDKsRust built; TypeScript plannedbuilding
frontend.webWeb dashboardTypeScriptplanned

Use cases

KeyUse caseStateEvidence
case.isolationSlice isolationmeasuredH1, H2
case.topologyZonal topology studiesmeasuredexp-014, exp-005
case.packagingECU packaging and fidelitymeasuredH3
case.otaOTA beside safety workloadsmeasuredH4
case.agentsAgent-operated experimentsbuildingvxmcp, vxmodels
case.autonomyAutonomy closed loopplannedexp-011
case.signalsSignals and diagnosticsbuildingkuksa-cases-2026-11-04
case.reproduceReproduce anythingliveevery archive

Agent path

How a generated experiment reaches the bench.

KeyStepState
gate.proposePropose a SysML v2 modellive
gate.typecheckGate 1: model type checklive
gate.validateGate 2: vxedge manifest validate --jsonlive
gate.confirmMulti-round-trip confirmation before a state changelive
gate.runIdempotent up, streamed as a job, auditedlive
gate.archiveEvidence archived with digestslive

vxmcp tools

KeyToolServiceState
mcp.statusexperiment_statusExperimentServicelive
mcp.listzone / compute listZoneService · ComputeServicelive
mcp.watchjob watch · eventsJobService · EventServicelive
mcp.resultsresults summaryresults archiveplanned
mcp.mutateup · down · traffic · collect · cancelbehind confirmationlive

Other deliveries

KeyValueSource
retarget.validatelivean experiment retargets to another vehicle by id and validates
vehicle.uplivethe vehicle verbs (up, down, status) on a full vehicle: gateway, zones, central compute, and a service and signal plane placed on a slice, with an idempotent second up, a clean down and other vehicles refused. Verified 2026-11-03 on vx-vehicle-03, with zones on container, qemu-microvm, cloud-hypervisor and wasm-capsule, and 2026-11-01 on vx-vehicle-02, the phase-3 gate, with zones on container and qemu-microvm. libvirt has not run in a full vehicle. Android Automotive 26Q2 ran as an attach zone of vx-reference-sedan-03, 2026-11-08 (vehicle.aaos). The other guests are probes: no RTOS or Autoware workload ran
vehicle.aaoslivean Android Automotive 26Q2 guest as a zone of a full vehicle: AOSP Cuttlefish build 16644040 on its own host stack, joined by backend: attach (the gateway adopts Cuttlefish's tap as the slice port). CarService in the guest reads the vehicle's signals through the production gRPC Vehicle HAL path, vxvhal on the cockpit gateway ECU reading Kuksa, across the slice. 10 of 10 vxAPI gate runs on vx-reference-sedan-03 with vxedge 0.9.1, 20 of 20 CarService readings matched (verified 2026-11-08, gate). Rung aaos-26q2-x86_64-cf: x86_64 under Cuttlefish, not the production instruction set, hypervisor or hardware; two read properties, no write path or HMI
service.placedlivea service runs on a container device with on:, answering on that device's slice only; ota only
signal.planelivethe Kuksa databroker as a stage of vehicle up and experiment up, in its device's container group. On kuksa-databroker 0.7.1, real kuksa.val.v2 providers and subscribers on its slice: published values reached subscribers in order, actuation reached a provider, a CAN dump replayed by kuksa-can-provider fed a consumer on another device, and every client on another slice was refused (verified 2026-11-04 on vx-vehicle-03, VSS 6.0 scenarios in vss-scenarios-2026-11-04). Released in vxedge 0.5.0. The providers and consumers are test clients: no plant model or vehicle application ran. Its time across the slice was measured with kuksa-perf, in broker-slice-main-2026-11-04, exp016.* under Results; each of those numbers crosses the slice twice, on one shared host. Signals are unauthenticated, so slice isolation is their only protection
api.agentslivean agent runs a trial through vxmcp alone on typed fields: plan, up, typed status, events with resume, traffic, collection, daemon restart, cancel and down, 10 of 10 consecutive runs on vx-vehicle-03 and libvirt on exp-002-ws (verified 2026-11-04, release gate), and the core sequence 10 of 10 on vx-reference-sedan-03 with its AAOS zone, on vxedge 0.9.1 and vxmcp 0.2.4 release builds (verified 2026-11-08, gate). One run per host; apart from the AAOS zone, guests are probes

Roadmap

Where vxedge stands, phase by phase. This page lists what is done and shipped. The measured results are in RESULTS.md, and acronyms are defined in ACRONYMS.md.

References elsewhere in this repository to numbered work items (#14, #28, …) and dated state snapshots point to the maintainers' internal working board.

Phase status

The phase, track and delivery states below are registered in FACTS.md; change them there first.

PhaseGateStatus
1: slicing core, API-firstReproducible H1/H3/H4 numbersGate passed. All three hold and were independently reproduced. See RESULTS.md
2: real slices & workloadsH2: S-NSSAI vs static VLANGate passed. H2 holds and was reproduced. The OVS data plane, per-link harness impairments, the SONiC-VS NOS twin and the full Open5GS/UERANSIM lifecycle are delivered
3: production SDV alignmentvxedge vehicle up boots a full vehicle end to endGate passed on vx-vehicle-02: three zones on two backends, central compute and a service placed on a slice, with probe guests. Phase-3 content is still in progress

Cross-cutting tracks:

  • M (SysML v2 model governance, vxmodels): M0–M3 are closed.
  • C (containerization): complete through C3.2. The 5G stack and platform services run in containers, and the measured path stays on the host.
  • P (vxparts unification): complete. The earlier zone and compute repositories are merged into the unified OCI/ORAS loadable registry.

What has shipped

The latest release of each repository is in FACTS.md under Releases, and the deliveries since phase 3 opened are under Other deliveries. Each repository's CHANGELOG.md lists what changed in every release.

Contributing

Open an issue on the repository the work belongs to. For anything that spans repositories, open it in vxedge/docs.

Architecture

The architecture specification for vxedge: research goals, topology, vxAPI, manifest schemas, the network, service and virtualization models, methodology, and the phases.

vxedge is a research-grade orchestration and experiment platform that evaluates 5G network-slice mapping onto zonal and central software-defined-vehicle (SDV) E/E architectures, entirely in software. In short:

  • Gateway. vxgateway, built on the Linux networking stack, replaces physical edge gear.
  • Zones. KVM/QEMU VMs managed through libvirt provide zonal ECUs (Zephyr, FreeRTOS, Android Automotive).
  • Compute. Containerized central compute runs Autoware/ROS 2 and NVIDIA AD workloads (Alpamayo, DeepStream, TensorRT).
  • Control plane. A Rust daemon (vxedged) orchestrates manifest-driven vehicles, experiments, services and telemetry, and exposes a versioned gRPC/Protobuf API (vxAPI).
  • Frontends. Thin clients of that API: the vxedge CLI and an MCP server (vxmcp) for AI agent tooling, over a local Unix socket.

Qt/QML is not an operator-dashboard frontend here; see §5.1 for its role as an in-vehicle embedded IVI loadable.


Table of contents

  1. Executive summary
  2. Research goals & hypotheses
  3. High-level architecture (topology & components)
  4. Repositories & single-source rules
  5. vxedge control plane & API (vxedged, vxAPI, frontends, CLI)
  6. Manifests (experiment & vehicle schemas)
  7. Network model, vxgateway (SDN slicing)
  8. Service model (OTA, telemetry, extensibility)
  9. Virtualization & zone provisioning (libvirt, QEMU/KVM, RTOS, containers)
  10. Compute model (Autoware/ROS2, Alpamayo, inference, OTA hosting)
  11. Edge agents & telemetry collection (vxagents / vxtelemetry)
  12. Experiment methodology, metrics, and analysis plan
  13. Reproducibility, CI/CD, artifact publication
  14. Safety, security, licensing, and industrialization notes
  15. Implementation policy & phases
  16. Appendix: example manifests, gateway snippets, run sequence

1: Executive summary

vxedge is a virtual vehicle with environmental parity, for packaged, measured SDV experiments: a reproducible, modular framework to define and run experiments that combine zone virtual ECUs, central compute, a software-defined virtual edge gateway with 5G-style slicing, and services (OTA, telemetry). Manifests declare the whole system, up to and including a complete software-bootstrapped vehicle (vxedge vehicle up). The Rust CLI orchestrates the lifecycle using a simple up|down model across all subsystems.

The platform is designed to:

  • generate publishable results (latency/jitter percentiles, OTA reliability, isolation metrics);
  • stay production-representative: the same middleware (Eclipse SDV: Kuksa/VSS, Zenoh, uProtocol), network stack (OVS/tc/FRR/WireGuard, SONiC as production NOS twin), and AD workloads (Autoware, NVIDIA Alpamayo) used or converged on by OEMs;
  • run on a single host;
  • be API-first: all orchestration lives behind vxAPI (gRPC/Protobuf) served by the vxedged daemon. The CLI and the vxmcp MCP server are interchangeable thin clients, human-operated or agent-operated, same rule either way.

No physical router is required: the edge-gateway role is fully absorbed by vxgateway.


2: Research goals & hypotheses

Primary goal: Quantify whether a software-defined virtual gateway, built from the production Linux SDN stack (OVS/Linux bridge, tc queue trees, VXLAN, WireGuard, FRR) and running co-located with virtualized zonal ECUs and central compute, can provide slice isolation and deterministic performance for SDV workloads mapped to logical 5G slices.

Hypotheses to test:

  • H1 (isolation): Per-slice VLAN/VXLAN mapping with hierarchical tc queue-tree reservations in vxgateway can keep p95/p99 latency for ADAS (URLLC-like) traffic near baseline under heavy infotainment load.
  • H2 (real slicing vs. static mapping): True 5G slicing (S-NSSAI PDU sessions via Open5GS + UERANSIM) provides measurably different, and under contention, stronger, isolation than static VLAN-to-slice mapping.
  • H3 (virtualization choice): Virtual ECU packaging (full VM via libvirt vs. container vs. microVM via raw QEMU/QMP or cloud-hypervisor) measurably affects latency/jitter observable at zone-to-compute flows.
  • H4 (service co-location): OTA service co-located in central compute (deployed on demand) does not compromise ADAS slice SLAs when slices and queue reservations are correctly configured.

Deliverables: Reproducible experiment artifacts, datasets, scripts, and publishable analysis, plus a reference "vehicle-in-software" composition demonstrating the full stack end to end.

Framing note: unlike physical edge gear, the virtual gateway shares the host with the workloads it isolates. Determinism controls (PREEMPT_RT kernel, isolcpus, CPU pinning, hugepages) are part of the method, and their effect is itself reported.


3: High-level architecture (topology & components)

vxedge topology: an operator edge with the 5G core, an emulated backhaul, and one host where vxgateway trunks VLAN slices to zone controllers and to central compute. Solid boxes are built today; dashed boxes are specified and not built yet.

Figure 3.1: the topology (click for full size). Box states follow the parity ledger in FACTS.md: solid is built today (real, emulated or building), dashed is specified and not built yet. Source: diagrams/topology.py.

Key components:

  • vxedged (Rust): control-plane daemon: orchestration + provisioning core behind vxAPI (gRPC/Protobuf). See §5.
  • vxedge CLI (Rust): thin vxAPI client; the primary frontend.
  • vxgateway: the software-defined edge gateway: Linux-native data plane (OVS or Linux bridge, tc, VXLAN, WireGuard, FRR), provisioned declaratively by the CLI. See §7.
  • Zone and compute loadables (zone manifests, VM images for Zephyr, FreeRTOS and AAOS, RTOS builds, central compute manifests, Autoware/ROS2 images, Alpamayo/AlpaSim, inference): see vxparts below.
  • vxota: OTA server & signing tooling (artifact store).
  • vxagents: performant Rust agents for measurements and metrics.
  • vxtelemetry: telemetry ingestion & Prometheus export (VSS-aligned; see §11).
  • vxperiments: manifest-driven experiments, vehicle manifests, and results.

4: Repositories & single-source rules

Canonical repos (under vxedge org):

  • vxedge/vxedge: Rust workspace: vxedge-core (domain lib), vxedged (daemon, vxAPI), vxedge-cli (thin client), proto/ (vxAPI Protobuf IDL, the source for all generated SDKs: Rust/tonic, TypeScript/connect-es), plus gateway provisioning templates (netlink/OVS/nftables/tc, libvirt domain XML templates).
  • vxedge/vxparts: the unified loadable registry: zone VM/kernel/RTOS bundles, central-compute container images, gateway/TCU images, agent binaries, and platform-service images, every loadable the platform boots, published to ghcr.io/vxedge/parts/... via OCI/ORAS, classified by class/subtype/layer (see §13's own artifact-publication rules). Supersedes the earlier zone-image and compute-container repos (Track P, decided 2026-07-26): those two repos split loadables by deployment mechanism (VM vs. container) rather than by domain, which is exactly the kind of implementation detail this workspace's own single-source-of-truth discipline exists to keep out of repo topology. Both were archived 2026-08-04 (GitHub archive, not deleted, their history stays reachable to the owner, read-only) once their content was confirmed fully present in vxparts.
  • vxedge/vxota: OTA server, signing, manifests.
  • vxedge/vxagents: Rust agents, metrics exporters.
  • vxedge/vxtelemetry: telemetry ingestion and exporters.
  • vxedge/vxperiments: experiment manifests, vehicle manifests, notebooks, results.
  • vxedge/vxmodels: (track M) SysML v2 system models: requirements/traceability (H1–H4 verify-linked to frozen result archives), vehicle structure models, the analysis-case/variant library, and the vxmodel renderer (Rust) that generates manifests from models. See §6.3 and §15 (track M).
  • vxedge/docs: papers, slides, reproducibility guide.

Single-source rules:

  • A zone/compute's manifest is authoritative for its images and node IDs.
  • Services declared under services in an experiment manifest are the authoritative runtime descriptors for that experiment (image + config). The code lives in vxota or vxtelemetry as appropriate.
  • A vehicle manifest is the authoritative composition of zones + compute + network + services for a software-bootstrapped vehicle; experiments reference a vehicle rather than restating it.
  • CLI uses manifests as sole input; state stored in ephemeral runtime directories and vxedge logs.
  • Exactly two cross-language interfaces exist: manifests (YAML content) and vxAPI (Protobuf IDL under vxedge/vxedge/proto/, authoritative; client SDKs are generated, never hand-written). No bespoke ad-hoc RPC.
  • Model governance (track M, when vxmodels lands): the SysML v2 model is the design authority upstream of manifests; manifests remain the sole execution contract, the daemon/CLI never read models. A model-rendered manifest records the digest of the model version that produced it and must pass vxedge manifest validate like any hand-written manifest. The model never duplicates what zone/compute manifests are authoritative for (images, node IDs). See §6.3.

5: vxedge control plane & API (vxedged, vxAPI, frontends, CLI)

Principle (API-first): the split every production SDV toolchain converges on, Tesla-style fleet tooling, NVIDIA DriveWorks tools, AUTOSAR Adaptive development tooling, is a headless core behind a strongly-typed IDL, with every UI a disposable thin client. vxedge adopts it outright: no orchestration logic lives in any frontend.

5.1 Layers & frontends

vxAPI layers: thin frontends call the vxAPI through generated SDKs; on the host, vxAPI fronts the vxedged daemon, which sits on vxedge-core and its backends. Solid boxes are built today; dashed boxes are specified and not built yet.

Figure 5.1: layers and frontends (click for full size). Box states follow the parity ledger in FACTS.md. Source: diagrams/layers.py.

  • vxedge-core (Rust lib): pure domain logic; no user-facing I/O.
  • vxedged (Rust daemon, tonic + tonic-web): hosts vxAPI. Every mutating verb is an async job with server-streamed progress; the reconciler compares desired (manifest) vs observed state, that is what makes up|down idempotent.
  • Frontends (all thin clients of the same API): platform administration, live status monitoring, and experiment operation, for two kinds of operator: OEM engineers and SDV researchers directly, and (via vxmcp) AI agent tooling acting on their behalf. None of these are the in-vehicle HMI, that role belongs to Android Automotive (AAOS), already the infotainment zone's guest OS, or an embedded Qt/QML IVI loadable (running under a QEMU ARM zone node; both are real, alternate in-vehicle-HMI baselines, §9). Frontends here are external tooling that operates the testbed, not something running inside a simulated vehicle. Correction (2026-08-06): there is no Qt/QML operator dashboard, any platform monitoring dashboard is web-based (TS) or the CLI, never Qt.
    • vxedge CLI (Rust): unchanged UX; local Unix socket by default, --endpoint for remote; auto-spawns an ephemeral local daemon for single-host lab use.
    • Web dashboard (TypeScript; connect-es-generated SDK over gRPC-Web): not built.
    • vxmcp (Rust, rmcp, the official MCP Rust SDK): an MCP server exposing vxAPI to AI agent tooling (any MCP client), for the same reason every frontend above exists: a thin, 1:1 client over the same RPCs, this time addressed by an LLM agent's tool-call surface instead of a terminal or a GUI. Every MCP tool is a direct wrapper over one vxAPI RPC (GatewayService/ZoneService/ComputeService/VehicleService/ExperimentService/ TrafficService/SvcService/NosCheckService/TelemetryService/LogService/RunService/ WorkspaceService/HostService/JobService/EventService), never a multi-step workflow baked into the server, the hard rule stated explicitly for this frontend too. Sits directly on vxedge-api's generated tonic bindings (a Rust-to-Rust dependency, not a second codegen pipeline the way the TS SDK is). Targets MCP spec 2026-07-28: stateless request-response (no initialize handshake), with Multi Round-Trip Requests (InputRequiredResult/InputRequest::Elicitation) as the mechanism for the one thing a thin wrapper still needs, a mutating tool (up/down/traffic up) asking its caller to confirm before it runs, the same posture a human operator gets from the CLI's own explicit verbs, not something an LLM can chain unsupervised into a destructive sequence. Read tools (status/list/events subscribe/results-archive summaries) carry no such question. Mutating tools run behind that confirmation (mcp.mutate in FACTS.md). Repo: vxedge/vxmcp.

5.2 API surface (vxAPI, proto/vxedge/v1/)

ServiceRPCs (declarative, manifest-in)
GatewayServiceApply, Up, Down, Status
ZoneService / ComputeServiceApply, Up, Down, List, Remove, PushImage (client-streaming)
SvcService (ota, telemetry)Up, Down, Status
VehicleServiceUp, Down, Status
ExperimentServiceUp, Down, Status
TrafficServiceUp, Down, Status
MeasurementServiceStart, Stop, Status (an experiment's measurements, run inside each end's network namespace)
CampaignServicePlan (a campaign's trials, each point's bound document checked; touches nothing), Start (runs the trials serially as one job), Get, List, Watch (status as it changes)
ResultServiceList (a host's results: campaigns' trial archives and a workspace's results/), Get, Fetch (an archive's bytes, server-streaming), by digest; Verdict (an experiment's criteria judged over a campaign's archives, with the reference campaigns they read), Compare (a campaign against a reference campaign, run on this host or recorded in a workspace's results/)
PackageServiceInspect (a package's descriptor, digest, lock state, requirements, typed intent, measurements and entities; touches nothing), List (the host's package cache), Pull, Import (client-streaming)
NosCheckServiceUp, Down, Status, Verify
JobServiceGet, Watch (server-streamed progress; every mutating RPC returns a Job), List, Cancel
EventServiceSubscribe (state transitions, audit events; resumable with after_id)
TelemetryServiceCollect (archive job), StreamRecords (live records, resumable with after), StreamMetrics (live samples)
LogServiceFollow (live log lines per entity and stream, resumable with after)
RunServiceGet, List, Status (every run's status in one call), Down (several runs, or every run, as one job)
WorkspaceServicePlan
HostServiceCapabilities

Rules: mutating RPCs carry manifest documents (or references to them), the API introduces no second source of truth beside manifests; daemon state stays in ephemeral runtime dirs + logs.

Not built. Apply, Remove and PushImage on ZoneService and ComputeService answer UNIMPLEMENTED, and are to be deprecated: manifests define the topology, and parts come from the registry.

Versioning. vxAPI stays in the vxedge.v1 package, and wire changes are additive: new RPCs, fields and values, with old ones kept and marked deprecated. Behaviour may change between releases when the changelog says so. A version roadmap is defined once vxedge can simulate real software use cases for SDV OEM engineers.

Agent surface (built in vxedge 0.5.0). An agent must be able to plan, run, observe and recover a run on its own, branching on typed fields and never on detail or message, which stay for people. All of this is additive to vxedge.v1:

  • Runs. A run is one provisioned workspace on the host, identified by a run id and its workspace identity (§13). It starts when the gateway comes up, survives a repeated up and a daemon restart, and ends when the gateway goes down. A read-only RunService (Get, List) reports runs. Resource verbs take an optional RunRef; empty means the only run, and a mismatch is refused. Before vxedge 0.31.0 the host ran one at a time, so List returned zero or one.
  • A run is read from its record (X0.8). Ships in vxedge 0.34.0. up writes the manifest it provisioned to the run's directory, runs/<s>/manifest.yaml, beside active.json, and fails rather than run without it. For a bare vehicle that is the experiment synthesized from it, and active.json records the vehicle's id. down, status, RunService.Status and .Down, and a restarted daemon read the run from that record, never from its workspace again:
    • A workspace edited since up comes down as what is running, not as the edited file. A moved or deleted workspace, and an inline manifest, come down by run id or through RunService.Down. ERROR_REASON_WORKSPACE_CHANGED is no longer returned.
    • With no run named, the manifest on a down or status picks the run. It must still resolve, and an inline one must declare that run's workspace, or the verb is refused with ERROR_REASON_WRONG_WORKSPACE: a mistyped path never takes down the one run up.
    • A run whose manifest was not recorded refuses its down with ERROR_REASON_WORKSPACE_INVALID.
    • The experiment verbs refuse a bare vehicle's run, and the vehicle verbs an experiment's, with ERROR_REASON_WRONG_WORKSPACE.
    • down removes the manifest after active.json and leaves a campaign's reserved.json alone.
  • Several runs (Track F). Ships in vxedge 0.31.0, with vxtelemetry 0.11.0. The host runs several runs at once, each in its own instance slot (§6.0.5), and List returns every run. Which run a verb acts on:
    • A verb that names a run acts on it. A named run that is not up is refused with ERROR_REASON_NO_ACTIVE_RUN when nothing is up, and with ERROR_REASON_RUN_MISMATCH otherwise.
    • A verb that names no run acts on the run of the workspace it names, and with no workspace either, on the only run on the host. VehicleDownRequest, VehicleStatusRequest, GatewayDownRequest, GatewayStatusRequest, ExperimentDownRequest and ExperimentStatusRequest gain a RunRef run, so each run of a workspace that runs twice can be addressed. The CLI takes --run <run id> on every verb, and vxedge runs lists the runs.
    • When that rule matches no run, the verb is refused with ERROR_REASON_NO_ACTIVE_RUN, including a verb whose workspace has no run while other runs are up: it never acts on another run. When it matches more than one, including a bare up of a workspace that has two runs, it is refused with a new reason, ERROR_REASON_RUN_AMBIGUOUS, whose error lists the runs. Nothing is chosen silently.
    • ERROR_REASON_WRONG_WORKSPACE no longer refuses another workspace's up while a run is up: that up starts a run in another slot. It is kept for a verb whose run and workspace disagree.
    • The stages a composite verb (experiment, vehicle, a campaign's trial) sends name their slot, so they never fall back to "the only run".
    • Lifecycle operations still run one at a time across the host, and an interactive one is refused as ERROR_REASON_BUSY while another runs. Runs coexist; their up and down do not overlap. Concurrent runs are for functional work: a timed campaign still takes the host on its own.
  • The fleet view (Track F). Ships in vxedge 0.33.0, with vxmcp 0.7.0. RunService gains two RPCs, so an agent reads and clears every run on the host in one call:
    • Status (RunStatusRequest { repeated RunRef runs }) returns a RunStatus per run, every run when runs is empty. A RunStatus holds the Run, its rollup status, its components, its gateway and its typed nodes: what VehicleStatus or ExperimentStatus holds for that run, read once. A status reports absence rather than refuse: a named run that is not up, and a run whose status cannot be read, get an entry with error_reason (ERROR_REASON_NO_ACTIVE_RUN, ERROR_REASON_RUN_MISMATCH, or the read's own reason) and error_message, and no status. The call still answers for every other run, so a fleet poll does not break when one run goes down.
    • Down (RunDownRequest { repeated RunRef runs; bool all }) takes the named runs down, or every run with all. Exactly one of the two is set, or the call is refused with ERROR_REASON_INVALID_REQUEST. all with nothing up succeeds and does nothing. A named run that is not up is refused as any verb's is.
      • It is one lifecycle operation, run.down, refused as ERROR_REASON_BUSY while another runs. It takes the runs down one after another, each with its kind's down (experiment.down, vehicle.down) from the manifest the run recorded, as a child job carrying the run's run_id. JobService.List with the parent's id gives each run's outcome.
      • It is best effort: a run that fails does not stop the others. A run whose down cannot start, such as one whose manifest was not recorded, still gets a failed child job with the refusal's reason, and the parent fails with the first failure's reason.
      • When a running campaign holds the slot of a named run, or with all any slot, even one empty between two trials, the whole call is refused before anything is touched, with ERROR_REASON_HELD_BY_RUN naming every such slot and its campaign, as a single run's down is refused. Skipping those runs would leave the campaign to bring its next trial up after the call reports the host cleared. Cancel the campaign (JobService.Cancel) or wait for it to end.
    • Only the run a lifecycle operation acts on reads RESOURCE_STATE_STAGING in Get, List and Status; the other runs are observed as usual. An operation that names no single run, such as run.down, makes every run read STAGING while it runs.
    • The CLI adds vxedge runs status [RUN…] and vxedge runs down (--all | RUN…).
  • Typed status. NodeStatus carries the zone, role, backend, port, peer, VLAN and payload (kind, reference, digest) that detail holds as text today. RESOURCE_STATE_UNPROVISIONED marks a declared device nothing provisions. observed_unix_ms says when a status was read, and since_unix_ms is 0 when the transition time is unknown.
  • Planning. A read-only WorkspaceService.Plan returns typed problems, nodes, services, images and host checks without touching the host. It runs the same checks as up, so the two cannot disagree. HostService.Capabilities reports what this host supports.
  • Errors. Refusals carry google.rpc.ErrorInfo. The ErrorReason enum in common.proto defines the reasons, its value names are the wire reason strings, and domain is vxedge.v1. Job.error_reason does the same for a job that fails after it starts.
  • Jobs. Job gains parent_job_id, run_id and a typed artifact. JobService gains List and a cooperative Cancel, which takes effect between steps and leaves partial state for down to clear. One lifecycle operation runs at a time: a duplicate returns the running job, and any other is refused as busy. Verbs that do not converge (TrafficService.Up, NosCheckService.Verify) accept a request_id, so a retry returns the original job. Job history is bounded, and job ids carry a per-boot prefix, so an id from before a restart is reported as unknown, never as another job.
  • Events. Event gains run_id, and Subscribe takes after_id to resume from a bounded history. Event ids carry the same per-boot prefix. A subscriber that falls behind gets a typed error instead of a silent gap. run.up and run.down report vehicles and experiments.
  • Stages. ExperimentStage gains COMPUTE and SIGNAL_PLANE, vehicle up and down accept stages, and ResourceKind gains SIGNAL_PLANE, so status reports the databroker as itself.
  • Traffic and evidence. TrafficService.Status reports each profile as running, finished or failed. TelemetryService.Collect runs as a job and returns the archive with its digest. StreamMetrics stays unbuilt.

Why gRPC/Protobuf (not SOME/IP, not bare REST): SOME/IP–ara::com is the in-vehicle service plane, the wrong tool for an orchestration/tooling plane; bare REST lacks first-class streaming and codegen rigor. One Protobuf IDL generates every SDK, gRPC-Web covers browsers, and Protobuf is what Eclipse uProtocol already speaks, schema reuse for the signal plane.

5.3 Transport, security, deployment modes

  • Local (default, live today): Unix domain socket only, vxedged --listen rejects any other scheme outright, and vxedge --endpoint rejects any non-unix:// value the same way (neither side has ever accepted anything else). The access boundary today is filesystem permissions on the socket path, not a per-call identity check, no SO_PEERCRED/UCred peer-credential extraction exists anywhere in the code yet. "Peer-credential auth" below is the target for this mode, not its current behavior; stated here per this doc's own fidelity rule (§14 / testbed-quality) rather than implying it already gates local connections.
  • Remote and cloud-hosted modes do not exist today: there is no TCP listener, no authentication beyond socket permissions, and Audit::record(rpc, detail) (vxedged/src/audit.rs) carries no caller identity.

5.4 CLI: commands & semantics

Location: vxedge/vxedge (Rust workspace: vxedge-core, vxedged, vxedge-cli, proto/). Binaries: vxedge (thin client), vxedged (daemon). Global behavior: all lifecycle commands follow up|down semantics. Where staging is required, up performs staging + start; down stops + cleanup. All operations are idempotent.

Commands (canonical)

# Daemon / control plane
vxedged serve [--listen unix:///run/vxedge.sock]

# Client endpoint (applies to every command below; defaults to the local Unix socket)
vxedge [--endpoint <url>] ...

# Gateway (vxgateway, virtual edge gateway)
vxedge up|down|status

# Zones
vxedge zone up --vxid <vxid>
vxedge zone down --vxid <vxid>
vxedge zone list
vxedge zone add --manifest <zone-manifest>.yaml                      # not built, see §5.2
vxedge zone rm --vxid <vxid>                                         # not built, see §5.2
vxedge zone image push --vxid <vxid> --from <path> --registry <url?> # not built, see §5.2

# Compute
vxedge compute up --vxid <vxid>
vxedge compute down --vxid <vxid>
vxedge compute add --manifest <compute-manifest>.yaml                      # not built, see §5.2
vxedge compute rm --vxid <vxid>                                            # not built, see §5.2
vxedge compute image push --vxid <vxid> --from <path> --registry <url?>    # not built, see §5.2

# Services (OTA, telemetry)
vxedge ota up [--experiment <path>]      # cwd-resolved by default, like `experiment up`;
vxedge ota down [--experiment <path>]    # --experiment overrides with an explicit workspace
vxedge telemetry up|down --experiment <path>   # SvcService, like `ota up|down`
vxedge telemetry collect --manifest <path> [--out <zip>]   # TelemetryService.Collect: the
                                          # results archive, returned with its sha256

# Vehicle (software-bootstrapped SDV: gateway + zones + compute + signal plane + services)
vxedge vehicle up --manifest vxperiments/vehicles/<vehicle>.yaml
vxedge vehicle down --manifest vxperiments/vehicles/<vehicle>.yaml
vxedge vehicle status --manifest vxperiments/vehicles/<vehicle>.yaml

# Experiments (manifest-driven; may reference a vehicle manifest)
vxedge experiment up      # from the workspace directory; --chdir <dir> from elsewhere
vxedge experiment down

# Traffic generation
vxedge traffic up --manifest ...

# Measurements (in the workspace's folder; the experiment must be up)
vxedge measure start [--id <measurement>] [--duration-s <s>]
vxedge measure status
vxedge measure stop

# Production-NOS config-parity check (never part of `experiment up`, §7)
vxedge nos-check up|down|status|verify [--experiment <path>]

vxedge vehicle up is sugar for the ordered composition: gateway up → zones up → compute up → signal plane up (Kuksa, phase 3) → services up. vehicle down tears down in reverse. A vehicle with no signal_plane block (§6.0.1) has no such stage, and it is not reported as done. A declared signal plane that does not stay running fails the job. vxedge vehicle up|down and vxedge experiment up|down run the same order, and --stage gateway|zones|compute|signal-plane|services restricts them to the stages named, so --stage services alone does not start the databroker. vehicle status reads the workspace it is pointed at and observes each declared component on the host (netlink, nftables, QEMU, Podman), so its answer survives a daemon restart and never comes from vxedged's memory.

Every CLI verb is a 1:1 wrapper over a vxAPI RPC, anything the CLI can do, every other frontend (scripts against the generated SDK) can do identically.


6: Manifests, final schemas (YAML)

6.0 The workspace model (Track D)

An experiment is a folder. Every file declares its kind and id; the loader indexes on that pair, and every cross-reference is by id, never by path, so files can be renamed or reorganised without breaking anything.

h1-slice-isolation/
  vxp.yaml                 # package descriptor: schema, id, version, entry, requires
  vxp.lock                 # generated by `vxedge pkg lock`, never hand-edited (§6.0.7)
  .vxpignore               # optional: further identity exclusions (§13)
  main.yaml                # kind: experiment  — the test
  vehicle.yaml             # kind: vehicle     — the system under test
  road1.yaml               # kind: road        — the road network (omit if unused)
  scenario.yaml            # kind: scenario    — what happens on the road (omit if unused)
  parts.yaml               # kind: baseline    — which software
  scripts/run.sh           # the campaign: repetitions, warmup, measurement window
  parts/                   # this experiment's own loadables
  assets/                  # OpenDRIVE roads, OpenSCENARIO storyboards, traces, maps
  tools/                   # analysis specific to this experiment
  results/                 # archives, one per run

A workspace is a sandbox. It owns everything the experiment needs, so it can be zipped, sent, unzipped and run, which is what makes an experiment shareable at all. A workspace whose parts live three directories up is not something a recipient can unpack. Only the top-level *.yaml are workspace documents; the subdirectories are content, and the loader ignores them (a part.yaml inside parts/ describes a loadable, not an experiment).

Kinds: experiment | vehicle | road | scenario | baseline | component. Loading is: read the descriptor, glob *.yaml (non-recursive, so a results/ archive is never absorbed), index by (kind, id), resolve references by id. No includes, no import boilerplate, no ordering rules. Files exist only when the experiment needs them. vxp.yaml is the descriptor, not a document, and the glob skips it.

Descriptor name. The descriptor is vxp.yaml (§6.0.3), a fixed name as Cargo.toml is, and .vxp names the packed, shareable file (§6.0.7). A folder whose descriptor is a legacy <name>.vxp YAML file, the form vxedge 0.5.x read, is refused with the steps to migrate it, and a folder holding both names is refused. A packed .vxp found in a source folder is refused as such: a file whose bytes are a tar archive is never parsed as YAML.

A file may hold several documents, ----separated, and a whole workspace may be one file. That follows from every reference being by id: the file boundary carries no meaning, so it is free to move. Separate files stay the scaffold default because they teach the model, but an engineer who wants one file, or a caller with no directory to point at, such as an inline manifest over vxAPI, has one.

Structure and software are separate files. One vehicle.yaml with many baselines is what an OTA campaign is, what an RxSWIN identifies, and what makes an A/B arm two baselines rather than two vehicle files that drift apart.

The vehicle names a slice; the experiment defines it. links[].slice: adas in the vehicle, network.slices[].mode: vlan|s-nssai in the experiment. H2's comparison is therefore one block changed over a provably unchanged vehicle, enforced by the schema rather than asserted in a README. This is the only reference that crosses the structure/test boundary, and vxedge experiment validate checks it.

network: (and everything under it, slices, tunnels, data_plane, nos_check) lives in the experiment document only, never inside a vehicle document, for a second reason beyond H2: there is exactly one vxgateway per experiment run (one bridge, one HTB tree, a deliberate fidelity choice, one vehicle has one gateway ECU, not an oversight). When an experiment references multiple vehicles (vehicles: [car1, car2]), they share that one gateway, so they share one network: block too, a per-vehicle network: would imply each vehicle gets its own separate gateway, which the system doesn't build. Vehicles that need distinct, isolated segments still get them: the experiment declares every slice either vehicle needs (car1-adas/car2-adas on separate VLANs, say), and each vehicle's own links references only the slice IDs that belong to it, car2.yaml never has to mention car1-adas at all.

Local-first. Every ref has a local form (./images/foo) and a published form (ghcr.io/… + digest), same key, resolved by shape. digest is optional for local refs (content-hashed into the results archive) and required for published ones, a moving tag is not reproducible for anyone else. So a run is always reproducible for its author, and publishing is what makes it reproducible for others. vxedge experiment up must work offline with zero published artifacts.

Tooling: vxedge experiment new <id> [--template minimal|slicing] scaffolds a workspace; vxedge experiment validate [path] runs every cross-file check and reports all problems at once. vxedge pkg new | validate | lock | pack | unpack | inspect work on packages (§6.0.7), locally and offline, as experiment validate does, since vxedge 0.6.1. experiment new and pkg new scaffold the same vxp/1 package, with id local/<id> until --namespace names the publishing organisation, and write its first lock.

6.0.1 kind: vehicle

kind: vehicle
id: car1
class: road                          # taxonomy spine: kind > class > subtype
subtype: car

zones:                               # REGIONS of the entity, not devices
  front-left: {}
  central: { name: central compute bay, reference: <external zoning std> }

devices:                             # units LOCATED IN zones
  zonefl: { role: zone-controller, zone: front-left, backend: container }
  hpc1:   { role: hpc, zone: central, backend: container, resources: { cpu: 4, memory: 8 } }
  gw1:    { role: gateway, backend: container }

functions:                           # units of BEHAVIOUR, deployed onto devices
  adas:    { deployed_on: zonefl, asil: B }
  percept: { deployed_on: hpc1 }

links:                               # transport: how bytes move (the harness)
  - { id: trunk-fl,  endpoints: [gw1:eth0, zonefl:eth0], slice: adas }
  - id: arm-cont                     # object form, when an attachment needs a fixed address
    endpoints: [{ node: zonefl, port: eth0, ip: 10.101.0.11/24 }]
    slice: adas
  - id: seg-t1                       # a slice-bound link may emulate its PHY
    endpoints: [node-sensor-01:eth0]
    slice: adas
    impairments: { rate_mbps: 100, delay_us: 250, jitter_us: 40, loss_pct: 0.01 }
    harness: { medium: 100BASE-T1, length_m: 2.4, weight_g: 85 }

channels:                            # interaction: what is exchanged, between FUNCTIONS
  - id: adas.object-list
    from: percept
    to:   [adas]
    protocol: dds | zenoh | someip | udp
    qos: { reliability: reliable, deadline_ms: 50 }
    carried_by: [trunk-hpc, trunk-fl]

services:                            # what the vehicle hosts, each placed on one of its devices
  ota:
    id: ota-01
    type: ota
    image: { url: localhost/vxedge/ota:1, kind: container }
    on: hpc1                         # required here: joins that device's container group
    config: { listen: "0.0.0.0:9900", artifacts: ./ota-store }   # or a published store, below

signal_plane:                        # the vehicle's signals, placed the way a service is
  kuksa:
    image:
      url: ghcr.io/eclipse-kuksa/kuksa-databroker@sha256:529d8c6d3cc223362667672978bcb8f92c4d356b25aedd336e7a2e004d7279bd
      kind: container
    on: hpc1
    config: { listen: "0.0.0.0:55555" }

Zone, device, function are three different things. A zone is a place, a named region (front-left, cabin, nacelle-2, an ATA zone), not an enum, which is what lets a non-road entity have zones at all. A device is a unit located in one. A function is behaviour deployed onto a device: AUTOSAR calls it a software component, and separating it from the ECU it runs on is the whole point of the Virtual Function Bus. parts: targets functions, and channels connect functions, a topic flows between behaviours, and which devices they sit on is a deployment decision a study should be able to vary without rewriting the interaction topology.

role is zone-controller | hpc | gateway | ecu | sensor | actuator | switch. backend is container | qemu-microvm | libvirt | cloud-hypervisor | wasm-capsule | attach | qemu-mcu and is required for any device attached to a slice: the planner has to know whether to build a veth or a tap, or to adopt an interface another stack made (attach, §9), and guessing produced a workspace that validated and then could not boot.

An endpoint's ip is one CIDR, or a list of them on the same port: the first is the device's address, and a container device also carries the rest, as a multi-homed ECU does (ip: [10.120.0.60/24, 192.168.98.1/24]). A VM guest is given the first only.

Addressing is <id>[:<port>]. Ids are flat and unique workspace-wide (zonefl, not zones.front-left): structural paths break when the model is restructured, and flat ids do not. Uniqueness is an enforced check, and so is the zone/device collision it makes possible.

A link endpoint takes two forms. The bare zonefl:eth0 is right whenever nothing has to be reachable at a known address, which is most attachments. The object form { node, port, ip } pins a host address on that attachment, for the case with no other expression: exp-002's three arms share one VLAN and are told apart only by address. An address belongs to the attachment rather than the device, a device on two slices has two, and it lives in the vehicle rather than the experiment because it states a structural fact ("this ECU answers here"), which is what keeps one vehicle usable by many baselines.

One attachment per device, for now. The schema can express a device on two slices; the planner cannot provision one yet, so it refuses the workspace and names the device. A silently missing second NIC would pass every check and then measure the wrong topology. role: gateway is the same kind of limit in the other direction: vxgateway is implicit in every slice, and a device with that role runs as an ordinary node, not as a gateway. resources is recorded but no backend enforces it yet.

carried_by binds a channel to the links carrying it, and validation requires the channel's endpoints to be reachable over those links. This is what makes latency and loss attributable per topic per slice rather than only per link, the measurement §12 exists to produce. Without the reachability check, carried_by would be an unchecked assertion.

A slice-bound link may add impairments (tc netem: rate_mbps/delay_us/jitter_us/ loss_pct) to emulate the PHY it stands for, the mechanism behind §7's "Harness modeling." Every value is per traversal, one direction: a round trip pays the declared delay twice. Exactly one of the link's access ports renders it, in both directions (the reverse direction rides an IFB, since a qdisc only shapes egress); which port is not observable in a measurement, only that the segment's declared characteristics apply once per crossing. Any link, impaired or not, may separately carry harness (medium, length_m, weight_g), the declarative record a zonal-versus-domain harness-reduction study reports on, distinct from impairments' emulated half: nothing about a length in meters is a tc argument.

Behaviour splits in two: interaction (channels) belongs to the vehicle; stimulus (traffic_profiles, scenario) belongs to the experiment and the road. The vehicle is the same vehicle whether it is driven hard or gently.

A service a vehicle hosts is placed on a device. Each entry under services has the §8 shape plus on: <device>, which is required here. The device must use the container backend and run a container payload; the service becomes one more member of that device's container group, in its network namespace. It therefore answers at the device's address, on the device's slice, and is unreachable from any other slice by the same VLAN rule that isolates the device itself. The alternative, giving the host an address on the slice, would put a shared host inside every slice's isolation claim. Declaring one service type in both a vehicle and the experiment that wraps it is refused: two owners for one service would leave svc status answering for neither.

The signal plane is placed the same way. signal_plane.kuksa runs the Kuksa databroker as a member of the on: device's container group, under the rules a placed service follows: a container device with a payload, and a localhost/ or digest-pinned image. Its signals are therefore reachable on that device's slice and nowhere else. It is a block of its own, not a services entry, because it has its own stage: it comes up after compute and before services, so a service can depend on it. vehicle status reports it as a component. A vehicle with no signal_plane block has no such stage.

The databroker runs with --insecure, so signals are unauthenticated. It has no TLS and no tokens here, and any client that reaches it can read and write every signal. Slice isolation is the only protection: a study that needs more than that cannot rely on this signal plane.

6.0.2 kind: baseline

kind: baseline
id: bl-2026-07
rxswin: RX-VXE-0001-0003             # optional; UN R156, a property of the vehicle TYPE

parts:
  - ref: ghcr.io/vxedge/parts/zone/linux/stack/probe-bundle:0.1.0
    digest: sha256:…                 # required for published refs
    target_ids: [zonefl, zonefr]     # scalar or list — declared once, however many nodes
  - ref: ./images/my-autoware        # local; no digest required
    target_ids: hpc1
  - ref: localhost/vxedge/probe:1    # this host's Podman image store; no digest required
    target_ids: zonefr
  - ref: ghcr.io/vxedge/parts/agent/load/app/dds-perf:0.1.0
    digest: sha256:…
    target_ids: hpc1
    run:                             # optional; how a container payload is started
      args: [pub, 1000Hz, size, 1k]  # replaces the image's command, not its entrypoint
      env: { CYCLONEDDS_URI: "<peer list>" }
      cap_add: [NET_ADMIN]           # NET_ADMIN only

Each entry carries ref, digest, target_ids, and, only where the reference is silent about it, kind: container | bundle | wasm | attach. Class, subtype, layer, name and the VXPN part number are all derivable from the ref path; restating them is the drift the computed-part-number design exists to prevent.

kind exists because a part knows what it is and a device knows how it is run, and the two have to agree: a container backend boots a container image, libvirt, qemu-microvm, cloud-hypervisor and qemu-mcu boot a guest bundle, wasm-capsule runs a .wasm module, and attach runs the platform adapter an attach part declares (§9). The local/… namespace is conclusive on its own (a host process, never a bundle), and a published vxparts ref is deliberately not read for this, its class says what kind of node the part loads onto, not how it is packaged, and a zone guest is legitimately a container under the netns backend. A localhost/… ref is conclusive the other way: a container image already in this host's Podman store, run as the device's payload like a published one. It is built per host, so a run records its image ID, and up refuses a missing image and names it rather than letting Podman reach for a registry. Only a bare path is ambiguous, and there kind is how the author says so. A stated kind is validated against the device's backend, so a baseline pointing an H3 libvirt arm at a container image is rejected with both halves named rather than silently accepted and failed at boot. A planned vxedge manifest bom (not built) will derive them for display, SBOM export and the RxSWIN roll-up.

run says how a container payload starts, for a part whose image does nothing useful on its image defaults (a load generator needs its mode, a client the address of its server). It is valid only on a part a container device runs as its payload, a published or localhost/ container image, and refused anywhere else with the entry named. args replaces the image's command (CMD) and keeps its entrypoint, as podman run <image> <args> does. env adds environment variables, strings only. cap_add adds Linux capabilities to the payload container, and accepts NET_ADMIN only, the one a load part needs for its own routes (a multicast route for SOME/IP service discovery); anything else is refused. Every target in the entry starts the same way, so two roles of one part, a publisher and a subscriber, are two entries. run is part of the baseline document, so it counts toward the workspace identity and the package digest, and a changed argument is a changed input. The archive records it with the rest of the documents. Ships in vxedge 0.29.0.

target_ids declared once for many components is deliberate: repeating a shared part per-component is how fleet baselines silently drift when one copy is bumped and the others are not.

6.0.3 kind: experiment and the package descriptor

kind: experiment carries network (slices, tunnels, nos_check, shaping, time_sync), traffic_profiles, telemetry, services and results, plus vehicles: [<id>…], baseline: <id>, scenario: <id> (below; world: <id> is its legacy name and still reads as it), and a method block (duration_s, repetitions, warmup_s). It may also carry typed intent, hypothesis, parameters, metrics, criteria and campaign (below). It carries no zones/compute inline: structure is the vehicle's, and software is the baseline's.

baseline: <id> selects the software. A workspace may hold several kind: baseline documents over one vehicle, and only the named one's parts run; with more than one, an experiment that names none is refused. Every baseline must give every function a part. An A/B arm that changes software is a string parameter that binds baseline, so the vehicle stays one unchanged document:

parameters:
  load: { type: string, default: bl-idle, binds: baseline, values: [bl-idle, bl-dds] }
campaign:
  arms:
    idle: { load: bl-idle }
    dds:  { load: bl-dds }

pkg lock pins the references of every baseline, so a pulled or offline package can run any arm, and Plan builds each arm's bound documents, so an unknown baseline is refused before a trial starts. Before vxedge 0.29.0 every baseline document was read, whatever the experiment named.

services declared here run as host processes (§8). A service placed inside a slice belongs to the vehicle (§6.0.1).

Every one of those blocks is typed and validated when the model is built, a malformed services: entry is one error against the file the author wrote, not a surprise at svc up.

network.tunnels (docs/ROADMAP.md #16) declares a point-to-point link the gateway itself terminates, reaching a remote peer (another site's gateway), distinct from network.slices, which partitions the local bridge fabric zone nodes attach to. Two kinds today, each with only the fields it needs:

network:
  tunnels:
    - id: ota-uplink
      kind: wireguard                  # an encrypted, routed L3 endpoint
      listen_port: 51820
      address: 10.200.0.1/24           # this side's address on the tunnel's own overlay subnet
      peer:
        public_key: <base64>           # the peer's key, known out of band — never this side's own
        endpoint: 198.51.100.7:51820   # omit if this side only listens (WireGuard roaming)
        allowed_ips: [10.200.0.0/24]
    - id: site-b-adas
      kind: vxlan                      # extends a local slice's L2 domain across hosts
      vni: 100                         # 24-bit VXLAN network identifier
      remote: 198.51.100.7             # the remote gateway's reachable address (bare IP)
      dstport: 4789                    # optional; defaults to the IANA-assigned VXLAN port
      slices: [adas]                   # which of this experiment's own slices this link carries

wireguard carries no local key material, deliberately: a manifest is a versioned document, and a private key does not belong in one. The gateway mints its own identity on first up, piped straight from wg genkey into wg set's stdin, never written to disk, and vxedge status reports the resulting public key back, which is what an operator hands to the peer out of band. Re-applying an already-existing tunnel reconfigures its peer/listen-port declaratively without touching that identity, so a routine reconcile pass can never silently invalidate what the peer already trusts.

vxlan has no key material at all, an unencrypted L2 extension, the same trust model as a physical inter-switch link, and is structurally the opposite of wireguard: a WireGuard interface is a routed L3 endpoint, never enslaved to the bridge/OVS switch, while a VXLAN interface joins the bridge as a trunk-like port, so slices (not an address/peer block) is what a vxlan tunnel actually needs, which local slice(s) it extends, validated against network.slices the same way a links[].slice reference is. Model and validation only (docs/ROADMAP.md #16, delivered 2026-08-04), GatewayPlan refuses to plan a kind: vxlan tunnel today (PlanError::VxlanTunnelNotYetProvisionable), loudly rather than silently dropping it, since provisioning it is a separate, not-yet-built follow-on.

network.nos_check (docs/ROADMAP.md #16/#31, schema settled 2026-08-04) opts an experiment into checking its network.slices VLAN intent against a real production network OS, alongside, never instead of, the actual measured path (network.data_plane). Absent by default; most experiments don't declare it:

network:
  nos_check:
    kind: sonic-vs                     # the only kind today
    trunk_port: Ethernet0              # validated against the pinned image's actual port list
    # part_ref / digest: optional, default to the pinned build vxparts/parts/gw/nos/os/sonic-vs

Deliberately not named "twin": the whole testbed already is one (an executable virtual prototype of a vehicle), so reusing that word for one internal field would describe nothing. What this does is a check, boot a real instance of the named NOS, hand it the same VLAN declaration network.slices already expresses, and confirm it accepts and reports back exactly that. It never carries measured traffic (§7: SONiC-VS is functional but not timing-representative), and it is not part of experiment up's provisioning sequence, a missing or misconfigured nos_check block never blocks or changes what an experiment actually measures.

kind names which NOS is being checked against, sonic-vs today, the shape a second kind would extend rather than a reason to design one now (network.data_plane's own kernel-bridge | ovs precedent). trunk_port is not a name vxedge invents: it is one of the pinned image's own, fixed port names (SONiC-VS's default reference platform exposes exactly 32, Ethernet0/Ethernet4/.../Ethernet124, confirmed by booting it, not assumed), validated at vxedge experiment validate time against that concrete list rather than a free-form string or a loose pattern.

network.shaping and network.time_sync add a time-aware gateway, the TSN variant of §7. Both are optional, and an experiment without them keeps the HTB tree it has today. shaping ships in vxedge 0.28.0, and vxtelemetry 0.9.0 records its kind in each archive. time_sync ships in vxedge 0.30.0, and vxtelemetry 0.10.0 records it in each archive.

network:
  slices:
    - { id: adas, mode: vlan, vlan: 101 }
    - { id: infotainment, mode: vlan, vlan: 103 }
  shaping:
    kind: gate-schedule                # the only kind; absent means the HTB tree
    windows:                           # one cycle, repeated; the cycle is the sum of the windows
      - { id: adas, open: [adas], duration_us: 10000 }
      - { id: rest, open: [infotainment, default], duration_us: 90000 }
  time_sync:
    kind: gptp                         # IEEE 802.1AS, run by linuxptp
    followers: [zonefl, hpc1]          # devices that follow the gateway's clock

shaping replaces the HTB tree with an IEEE 802.1Qbv gate schedule (tc taprio) on the same port and in the same direction: the uplink, for frames leaving the bridge. kind names the schedule, not the Linux qdisc that renders it.

  • One class per slice. Each vlan slice is one traffic class. default is one more, for frames that match no slice, as HTB's default class is today. An 802.1Q port has 8 traffic classes, so a schedule takes at most 7 slices. An s-nssai slice has no VLAN on the uplink, so it is not a class and does not count.
  • Windows. Each window has an id, unique in the schedule, and opens the gates of the classes it lists for duration_us, a whole number of microseconds from 1 to 4294967 (the kernel holds an interval in 32-bit nanoseconds). The windows run in order and the cycle is their sum. The schedule starts on the TAI epoch, so its phase is the same in every run. A parameter reaches a window by id path, binds: network.shaping.windows[adas].duration_us. The smallest window tested is 10 ms; a shorter one is accepted, but software gates on a stock kernel have timer jitter, so its result says so.
  • Comparing HTB with TSN takes two experiments, since a parameter cannot switch a block on: the TSN one reads the HTB one through references, as exp-010 reads exp-001.
  • What validation refuses, with ERROR_REASON_WORKSPACE_INVALID:
    • a class that no window opens, since it could never send;
    • an unknown slice id in open, an s-nssai slice in open, or two windows with the same id;
    • more than 7 slices, or a slice named default;
    • a slice qos or network.defaults.bandwidth beside shaping. They are HTB's parameters, so they are refused rather than ignored;
    • shaping with network.data_plane: ovs, which has not been tested.
  • Host. Plan, up and GatewayService.Up refuse with ERROR_REASON_HOST_REQUIREMENT_UNMET on a host whose kernel has no taprio, and HostService.Capabilities reports whether it has. A daemon that predates these keys refuses them, as it refuses any unknown manifest key, so a package that uses them sets requires.vxedge to the first release that reads them, as requires.simulator does.
  • Rendering.
    • The planner creates the uplink with one transmit queue per class.
    • A clsact egress filter per slice sets a frame's priority from its VLAN tag (flower vlan_id <vlan> action skbedit priority <p>), the match the HTB filters use. A matchall filter after them sets priority 0, default's, on every other frame, whatever priority it arrived with.
    • taprio maps each priority to its slice's class, in software mode, timed by the kernel's TAI clock.
    • The clsact qdisc is created before taprio. Installed the other way round, the gates held no traffic when tested.
    • A running gateway is not switched between the HTB tree and a gate schedule: up refuses and asks for down first, since the uplink's queue count is fixed when it is created.
  • Slice telemetry. The vxedge_slice_* series (§12) are read from the slice's taprio class instead of its HTB class. vxedge_slice_overlimits_total has no meaning without a rate and is not served.
  • Fidelity.
    • No line rate. HTB's root rate is what makes slices contend for bandwidth. The veth uplink has no rate of its own, so a gate schedule decides when a class may send, not how much fits in a window.
    • Guard band. Software taprio holds back a frame that would not fit before its gate closes, computed from the port's reported speed, which on a veth is nominal.
    • Classification. Frames are classed by VLAN id, where an 802.1Q bridge classes them by the priority in the tag.
    • The run record and the archive's metadata.json carry the shaping kind and, with time_sync, software timestamping and free-running followers, so Compare and a verdict show which mode each campaign ran in.

time_sync makes the gateway the grandmaster of an IEEE 802.1AS (gPTP) domain over the followers' access ports:

  • The gateway is the grandmaster, with one master port per follower's access port, in one ptp4l. It runs as root from the linuxptp image: vxedged keeps a rootless container of that image, vxgptp-<bridge>, holding the image's file system, and starts ptp4l in it with sudo -n nsenter --mount --pid, in the bridge's network namespace. That is the passwordless nsenter the 5G pods already need, so Podman itself never runs as root, and removing the container ends the grandmaster.
  • Host. Plan, up and GatewayService.Up refuse with ERROR_REASON_HOST_REQUIREMENT_UNMET on a host where sudo does not run nsenter without a password and vxedged is not root, and HostService.Capabilities reports gptp.
  • Frames do not cross the bridge. gPTP frames go to 01:80:C2:00:00:0E, a link-local address a Linux bridge passes to the receiving port and does not forward. Each follower therefore hears the gateway only, as each port of a time-aware bridge would.
  • Data plane. time_sync needs network.data_plane: kernel-bridge. With ovs it is refused, because the OVS data path takes every frame on its ports and has not been tested for gPTP.
  • Followers. A follower is a container device. Its ptp4l joins the device's container group, as a placed service does (§6.0.1), in a time-sync stage after compute, which reports time-sync.up and time-sync.down events and lists each follower in status. Refused with ERROR_REASON_WORKSPACE_INVALID: no followers or the same one twice, an unknown device, a VM device (its guest runs its own follower, and vxedge has no way into it), a device without a container image or an access port, and a service named gptp on a follower.
  • Names. Every ptp4l's management socket, pidfile and log lives under the run's runtime directory, never at linuxptp's defaults (/var/run/ptp4l), so two runs on one host cannot collide.
  • One image. The gateway's ptp4l and every follower's run the same vxparts linuxptp part, pinned by digest. A package that uses time_sync lists it in the lock's images, and the archive's image_digests records it.
  • Container followers measure, they do not steer. They share the host's clock, so they run free and report their offset from the grandmaster and the peer delay. That measures the time-sync path, not clock discipline.
  • Offsets are telemetry. vxedged's exporter (§12, host-side measurements) serves vxedge_gptp_offset_seconds and vxedge_gptp_path_delay_seconds for each follower, with the follower as entity, read from that follower's ptp4l over its management socket: the offset is CURRENT_DATA_SET.offsetFromMaster, and the peer delay PORT_DATA_SET.peerMeanPathDelay, since with peer-to-peer delay the current data set's meanPathDelay stays 0. They land in the run's samples beside the latency they help explain. A follower whose ptp4l does not answer, or that follows no grandmaster, leaves a gap.
  • Run record. Run.time_sync and the archive's metadata.json carry the time sync: its kind, its followers, software timestamping and free-running followers.
  • Profile. linuxptp's generic 802.1AS settings, with best-master election, which the gateway wins on priority1, and neighborPropDelayThresh at 100000 ns instead of the standard's 800 ns. Software timestamps on a veth put the peer delay close to 800 ns, and a follower dropped out at that value. In-vehicle networks fix the roles instead of electing.

Spiked on a veth pair and on a VLAN-aware Linux bridge between network namespaces, outside vxedge, with linuxptp 4.2 and software timestamps:

  • a gateway ptp4l on two bridge ports held a follower in each namespace, at a mean offset of 0.4 to 0.7 µs;
  • taprio on an uplink, classified by slice VLAN, held each class to its windows. With a 100 ms cycle, frames of the class open 10 ms waited up to 88 ms, and frames of the class open 90 ms up to 9.8 ms.

Typed intent. A kind: experiment can say what it tests and how a result is judged, in fields a machine can check before any trial runs. Every block below is optional: an experiment without them runs exactly as before.

hypothesis:
  id: H1
  statement: A VLAN slice keeps control-traffic p99 within 2x of idle under uplink saturation.
parameters:                          # the only knobs a caller may turn
  load_mbps: { type: integer, unit: Mbit/s, default: 0, min: 0, max: 1000,
               binds: traffic_profiles[bg].bandwidth_mbps }
metrics:                             # what criteria and observability clients read
  - { id: ctl_p99_seconds, kind: gauge, unit: s, entity: measurements/ctl-rtt,
      series: vxprobe_rtt_seconds, labels: { quantile: "0.99" } }
  - { id: ctl_lost, kind: counter, unit: "1", entity: measurements/ctl-rtt,
      series: vxprobe_lost_total }
  - { id: ctl_sent, kind: counter, unit: "1", entity: measurements/ctl-rtt,
      series: vxprobe_sent_total }
  - { id: ctl_loss_pct, kind: gauge, unit: "%", entity: measurements/ctl-rtt,
      ratio: [ctl_lost, ctl_sent], factor: 100 }
criteria:
  - id: h1
    all:
      - id: h1-p99-bound
        lhs: { metric: ctl_p99_seconds, aggregate: median, select: { arm: saturated } }
        op: le
        rhs: { metric: ctl_p99_seconds, aggregate: median, select: { arm: idle }, factor: 2.0 }
        min_samples: 5
      - id: h1-loss-bound
        lhs: { metric: ctl_loss_pct, aggregate: median, select: { arm: saturated } }
        op: le
        rhs: { metric: ctl_loss_pct, aggregate: median, select: { arm: idle }, offset: 0.5 }
campaign:
  arms:
    idle: { load_mbps: 0 }
    saturated: { load_mbps: 600 }
  sweep: { load_mbps: [0, 100, 250, 400, 600] }
  repetitions: 5
  warmup_s: 10
  duration_s: 60
  profiles:
    quick: { repetitions: 1, duration_s: 12 }
    repro: { repetitions: 5 }
  • hypothesis has an id and a one-sentence statement. It is for people and for citing a result; nothing evaluates it.

  • parameters are the only values a caller may change between trials. Each has a type (integer, number, boolean or string), a unit for numbers, a default, and optional min, max or values (an allowed list). binds names the manifest field the parameter sets, by id path: traffic_profiles[bg].bandwidth_mbps is the bandwidth_mbps of the traffic profile whose id is bg. There is no text templating, so every document still validates as plain YAML with the defaults in place. A path must name an existing field of a matching type, and two parameters may not bind the same field.

  • metrics names what a criterion or a client reads: an id, a kind (counter, gauge or histogram), a unit, and the entity it is measured on, such as the measurements/<id> of the measurement that produces it (below). A metric gives each trial one value. It names a series (with the labels that pick one of its lines), and its value in a trial comes from the series' samples on the entity inside the trial's measure phase, or in the whole archive when the archive records no phases. When the campaign declares windows (below), a series metric names the window it reads, and only that window's samples count. Or a metric is the ratio of two such metrics in the same trial, times an optional factor, such as a loss percentage from the lost and sent counters, or a cold window's slowest round trip over the steady window's median.

  • reduce on a series metric sets how its samples become the trial's value:

    • last (the default) is the last sample.
    • delta is the last sample less the first. It spans the first sample to the last, not the phase's edges.
    • rate is that delta per second between the same two samples.
    • mean, min and max are the samples' mean, least and greatest.

    delta and rate need two samples. A counter or histogram that goes down has restarted: it is counted on from 0, as Prometheus's increase reads it, and the value says how many times. A gauge's delta is plain last less first, such as memory growth. rate reads a counter or a histogram's cumulative series; mean, min and max read a gauge. A reduction other than last refuses two lines of the series that labels do not tell apart. A node's cost over the window, as exp-002b reports it per arm, is two metrics:

    - { id: cpu, kind: counter, unit: "1", entity: vx-h3-vehicle/front-left/node-cont-01,
        series: vxedge_node_cpu_seconds_total, reduce: rate }    # share of one CPU
    - { id: rss, kind: gauge, unit: B, entity: vx-h3-vehicle/front-left/node-cont-01,
        series: vxedge_node_memory_bytes, reduce: mean }
    
  • references name the other campaigns a criterion reads, each <name>: { campaign: <id> } with an optional statement: exp-010's H2 holds when its p99 growth from 0 to 600 Mbit/s stays within 1.10x of exp-001's. A reference's trials are read with this experiment's metrics, as Compare reads a reference, and its arms are its own campaign's. A criterion that reads a reference the verdict cannot find is inconclusive, and says which.

    references:
      vlan: { campaign: exp-001, statement: "the static VLAN mapping, frozen" }
    criteria:
      - id: h2
        op: le
        lhs: { ratio: [{ metric: p99, aggregate: median, select: { load_mbps: 600 } },
                       { metric: p99, aggregate: median, select: { load_mbps: 0 } }] }
        rhs: { ratio: [{ metric: p99, aggregate: median, select: { load_mbps: 600 }, reference: vlan },
                       { metric: p99, aggregate: median, select: { load_mbps: 0 }, reference: vlan }],
               factor: 1.10 }
    
  • criteria are structured, never an expression string, so a caller composes one without writing a parser and a bad one is caught by type. Each has an id, an op (lt, le, gt, ge, within or outside) and two operands, lhs and rhs. An operand is one of:

    • a metric: metric, an aggregate over the values of the trials it selects, an optional select by arm or by parameter values, and an optional factor and then offset. With reference: <name>, the trials are those of a declared reference campaign instead (below);
    • a constant: value with a unit;
    • a combination: ratio: [a, b] (a / b, in unit 1), diff: [a, b] (a − b), or max or min of a list of operands, each with an optional factor and offset. The combined operands' units must agree.

    The aggregates are mean, median, min, max, sum, count, iqr, stddev, p50, p90, p95 and p99. Percentiles are nearest-rank. median averages the middle two of an even count. iqr is the third quartile minus the first, by the exclusive method of Python's statistics.quantiles, and the range below four values. stddev is the sample standard deviation. within holds when the operands differ by no more than its tolerance, and outside when they differ by more. A tolerance is a number in the operands' unit, or an operand, such as the larger of an arm's IQR and a noise floor. all: [...] and any: [...] group criteria. min_samples is the fewest trial values each metric operand needs. guards are criteria that must pass for a criterion to be conclusive: exp-002b and exp-003 guard each latency comparison with a loss bound, so a lossy arm makes it inconclusive rather than failed. exp-001's loss bound above is a member of all instead, because its notebook fails H1 on it.

  • Each criterion evaluates to pass, fail or inconclusive. It is inconclusive when an operand has fewer than min_samples trial values, a selected trial has no value or incomplete telemetry (a gap on the metric's entity while the trial measured), a ratio divides by zero, or a guard does not pass. An archive that is not vxarchive/2 is refused, not read (§11). inconclusive is never reported as a pass. A group is pass only when its rule holds over conclusive members, and inconclusive when the outcome depends on an inconclusive one. A one-line text rendering of a criterion is for people; nothing parses it.

  • campaign says which trials to run: named arms (each a set of parameter values), an optional sweep over one or more parameters, repetitions, warmup_s and duration_s, and profiles, named overrides such as quick and repro. An arm or a sweep sets only declared parameters, within their bounds. campaign replaces method for an experiment that declares it, and an experiment may not declare both.

  • windows split a trial's measure phase into named windows that run one after another, for a protocol that measures twice in one trial: exp-005 probes a short cold burst the moment the zone is up, then a steady window on the same zone. Each window has an id, a duration_s, and an optional set of parameter values for that window only. A window may set only a parameter that binds a measurement's field (measurements[<id>].…), since the rest of the trial is already up. The measure phase lasts the windows' sum, so a campaign with windows has no duration_s, and a profile does not change it. Every series metric then names its window.

    campaign:
      repetitions: 20
      windows:
        - { id: cold, duration_s: 3, set: { probe_pps: 20 } }
        - { id: steady, duration_s: 60 }
    

Trials. CampaignService.Plan expands a campaign into the trials it runs:

  • Points. Every point of the sweep is a trial, and a sweep over several parameters is their product. Every arm is a trial too. A sweep point whose values equal an arm's carries the arm's name instead of running twice: the example above is five points, with 0 labelled idle and 600 saturated. A parameter neither sets takes its default.
  • Order. Points run in order within each repetition, and every point of one repetition runs before the next.
  • Provisioning. Each trial is provisioned and torn down on its own, as exp-001's campaign always has been, so a trial cannot inherit another's state.
  • Profiles. A profile overrides the repetitions, warmup and duration. With windows, it changes a window's length through its own windows, by window id (quick: { repetitions: 1, windows: { steady: 12 } }); the windows and what each sets stay the campaign's, and a profile duration_s beside windows, or a window id the campaign does not declare, is a problem.
  • No campaign. An experiment without one is a single point at its defaults, with its method's repetitions and windows.
  • What a trial carries. An id (r<repetition>-<point>, where the point is the arm's name or the parameters off their defaults, such as load_mbps=100), its arm, every parameter's value, its warmup and measure durations, and its measure windows with each window's values. The plan also gives the estimated wall time.
  • Checked per point. Plan builds each distinct point's document with its values written to the fields they bind, in memory: the package is never written, so its digest and lock hold for the whole campaign. A value the parameter allows but the document cannot run, such as a probe rate of 0, is a typed problem naming the point. A trial with windows is checked window by window, with each window's values, and a problem names the window.

Running a campaign. CampaignService.Start runs the trials serially as one campaign.run job.

  • Each trial, in five phases:
    1. provision: experiment up with the trial's values bound, in memory, as in Plan;
    2. warmup: the traffic profiles start for the trial's windows, then the warmup passes;
    3. measure: the measurements run for the trial's duration. With windows, each window starts the measurements with its own values, runs them for its duration and stops them, so the next window's senders start from nothing; each window has its own measure phase record, which names the window;
    4. cooldown: measurements and traffic stop;
    5. teardown: the telemetry service stops, the trial is archived, and experiment down runs.
  • Stages and markers: every step is a stage of the campaign job, so it shows as a child job. Each phase starts with a phase record in the trial's records (§11).
  • Archives: each trial's archive is vxarchive/2, and its metadata.json names the campaign, the trial, its arm, repetition and parameter values.
  • Requirements: a campaign archives through the experiment's own telemetry service, so Plan and Start refuse an experiment without one.
  • Failures: a failed trial is recorded and the next one runs. down runs after every trial that started provisioning.
  • State: the campaign's state, with each trial's phase, archive and digest, is kept in campaign.json beside the archives (results/<campaign id>/ in the workspace by default) and under the daemon's runtime folder. Get, List and Watch read it, after a restart too.
  • Resuming: a retry with the same request_id resumes that campaign and skips the trials whose archives exist. While the campaign runs, the retry gets its job. A retry with another profile is refused as ERROR_REASON_PARAMETER_INVALID, never merged.
  • Cancelling: JobService.Cancel stops it between trials.
  • One at a time: another campaign is refused as ERROR_REASON_BUSY, with active_campaign and retry_after_ms in ErrorInfo.metadata. An unknown campaign id is ERROR_REASON_CAMPAIGN_UNKNOWN.

Results through vxAPI. ResultService names each archive by the digest of its bytes and describes it from its own metadata.json only:

  • the archive format, the experiment, and the package with its lock state;
  • the trial: campaign, arm, repetition and parameter values;
  • the collection time, the vxtelemetry version and the kernel.

List gives a host's campaign trial archives, and those under a workspace's results/, newest first. Get returns one by digest, and Fetch streams its bytes, so a client on another filesystem can rerun from it. An unknown digest is ERROR_REASON_RESULT_UNKNOWN.

Verdicts. ResultService.Verdict judges the experiment's criteria, as its workspace holds them, over a campaign's archived trials. It reads them from the archives again on every call, so it says only what the archives hold.

  • Trials: each trial the campaign archived counts once, with its arm and parameter values from the campaign's record. A trial that failed or was never archived is not judged.
  • What it returns: the verdict (pass when every criterion passes, fail when one fails, else inconclusive) and every criterion's outcome. With each: its operands' and tolerance's values, every metric it read with the trials and values behind it, its members and guards, and why it is inconclusive when it is. It also returns each trial's value of each metric.
  • References: each campaign the experiment's references declare is read from the reference_workspace given, as results/<campaign>/campaign.json with its archives hash-checked (as for Compare). With none given, it is a campaign this host ran, or a record in the judged campaign's own workspace's results/. A read names the reference it came from.
  • Recorded: when a campaign finishes, its verdict goes into campaign.json and CampaignStatus.verdict, and the full verdict into verdict.json beside the archives. An experiment without criteria records none. CampaignStartRequest.reference_workspace names where the references are recorded, and is recorded with the campaign: the verdict judged when it finishes reads them there, and so do a later Verdict and Compare's criteria that name no workspace of their own. Without it, a criterion on a reference recorded elsewhere is inconclusive until Verdict is called with the workspace.
  • Offline: vxedge results verdict and results compare take --reference-workspace and read the references from it the same way, hash-checked; without it, a criterion on a reference is inconclusive and says so.
  • Errors: an unknown campaign is ERROR_REASON_CAMPAIGN_UNKNOWN, and an archive that cannot be read is ERROR_REASON_RESULT_UNKNOWN.

Comparing. ResultService.Compare sets a campaign against a reference campaign, both judged by the first campaign's experiment and read from their archives. A trial's point is its id without the r<repetition>- prefix, so the repetitions of a point are compared together.

  • Per metric, at every point both archived: each side's median and IQR over its repetitions, the difference of the medians, and whether that difference is within the reference's IQR. This is the reproducibility check exp-001's reruns use.
  • Per criterion: its outcome in each campaign. Also each campaign's verdict, and how many metric points are within the reference's IQR. A criterion that reads a declared reference (references) reads the same one on both sides, found as Verdict finds it, in the reference_workspace when one is given.
  • A reference this host did not run: with reference_workspace, the reference is that workspace's results/<reference_campaign_id>/campaign.json, such as a frozen campaign published with its archives. Such a record needs only campaign_id and its trials (id, arm, repetition, parameters, state, archive, sha256). Each archive is read from the record's folder: a relative path below it, or an absolute path by its file name. Each must hash to the record's sha256, else ERROR_REASON_CHECKSUM_MISMATCH. A record or an archive that is missing, or a path outside the folder, is ERROR_REASON_CAMPAIGN_UNKNOWN or ERROR_REASON_RESULT_UNKNOWN.

Checked by Plan, before any trial. WorkspaceService.Plan, experiment validate and up check typed intent with the rest of the workspace. A parameter whose type, bounds or binds path is wrong is a problem with ERROR_REASON_PARAMETER_INVALID. A criterion that names an unknown metric, compares operands whose units disagree, selects an arm or a parameter value that does not exist, uses an unknown aggregate, or names a metric with neither a series nor a ratio of two metrics that have one is a problem with ERROR_REASON_CRITERION_INVALID. An arm, sweep or profile that sets an undeclared parameter or a value out of bounds is ERROR_REASON_PARAMETER_INVALID too. Plan names every problem with the document and the field it is in, and up refuses on the first, so a bad criterion fails in a second, not after an hour of trials.

Scenarios and roads. A scenario is what happens on the road during a trial. vxedge invents no road or manoeuvre format: a package carries ASAM OpenDRIVE (.xodr) and OpenSCENARIO (.xosc) files unchanged in assets/, and two kinds point at them with what a reproducible trial needs:

kind: road
id: town-grid-small
network: assets/town-grid-small.xodr       # ASAM OpenDRIVE, unchanged
---
kind: scenario
id: urban-stop-line
road: town-grid-small                      # by id
storyboard: assets/urban-stop-line.xosc    # ASAM OpenSCENARIO XML, unchanged
simulator: esmini                          # esmini | carla
clock: { tick_ms: 10, mode: synchronous }  # the simulator is the master clock
seed: 42
actors:
  Ego: { vehicle: vx-vehicle-02 }          # storyboard entity -> the vxedge vehicle it is
parameters:                                # the storyboard's ParameterDeclarations
  EgoTargetSpeed: { unit: m/s, min: 0, max: 22.2 }
  • The experiment names its scenario with scenario: <id>. A package has at most one.
  • Actors: only the entities named under actors are vxedge vehicles, each a vehicle of the package. Every other entity of the storyboard is traffic, driven by the storyboard. Campaigns run serially, so a scenario has one ego.
  • Parameters name the storyboard's ParameterDeclarations and give a number a unit and bounds. An experiment parameter turns one by id path, binds: scenario.parameters.EgoTargetSpeed, so a campaign sweeps it like any other parameter. The scenario must declare it, and the experiment parameter's bounds must lie inside the scenario's, in the same unit. The value travels with the trial's parameters, for the simulator that runs the scenario. The experiment document is not changed.
  • Ownership: a scenario used by one package lives only in it. A reusable one lives once in vxperiments/scenarios/<name>/ and is vendored with vxedge pkg vendor, as vehicles are, which also copies the road and storyboard files its documents name.
  • What vxedge reads: the storyboard's entity names and parameter declarations, and that the road is an OpenDRIVE file. Checking the storyboard itself is the simulator's job.
  • Checked by Plan, experiment validate and up: each file exists and has the right root element, the road id resolves, the simulator is one vxedge knows, every actor is an entity of the storyboard and a vehicle of the package, and every parameter is declared there (a string parameter takes no bounds). Each problem is ERROR_REASON_SCENARIO_INVALID, and up refuses on the first.
  • Inspect: PackageService.Inspect returns the scenario typed: road, storyboard, simulator, clock, seed, actors, the storyboard's entities, and each parameter with its bounds and the value the storyboard declares.

Measurements. A kind: experiment declares what it measures by node id, and the daemon runs it; no script places a probe:

measurements:
  ctl-rtt:
    kind: rtt-probe          # the one kind so far
    from: node-adas-probe-01 # a device, or `host`: where the probe sends from
    to: internet             # a device, or `internet`: the far side of the shared uplink
    slice: adas              # the slice its packets use
    rate_pps: 500            # default 100
    payload_bytes: 64        # default 64
  • rtt-probe sends paced UDP probes from from to a reflector at to and records round-trip time, jitter and loss. Both ends are on slice, and on a VLAN slice a node end needs an ip pinned on its link there.

  • A UE end. On a mode: s-nssai slice a node's link pins no address: the node's end is the slice's UE, whose PDU-session address the 5G core assigns at up. Such a measurement runs between the UE and the data network, so its to is internet. When it starts, the daemon learns the UE's address, runs the reflector in the UE bound to it, and runs the sender on the host, which reaches the UE through the core's uplink: the path the core routes, as TrafficService probes a UE. The figures are round trips, so they read the same either way round. The UE's reflector stays until the 5G core comes down.

  • A probe runs inside its node's network namespace. MeasurementService.Start runs the host's vxprobe as the sender in the from node and as the reflector in the to node, for duration_s (the request's, else method.duration_s). For to: internet the reflector runs on a VLAN subinterface of the uplink's peer for the slice, in the run's uplink-side namespace vxh<s> (§6.0.5), at the first host address of the sender's subnet, so the probe crosses the slice's queue on the shared uplink.

  • from: host. The sender runs on the uplink side, in the run's vxh<s>, and reaches the to node over the slice's VLAN, from the first host address of the to node's subnet: the far side a to: internet probe answers on, used the other way round. to is then a device.

  • A guest as to. A node that boots a guest (qemu-microvm, libvirt, cloud-hypervisor, qemu-mcu) has no namespace on the host to enter, but its guest may run a reflector of its own. Its part declares it, org.vxedge.reflector: udp/<port> in the bundle's meta.json (and as a manifest annotation when published), and the probe is aimed at that port; nothing is started in the guest. A part that declares none cannot be a to. Plan reads the declaration from a local bundle, or a published one already in the part cache; a published bundle not yet fetched is read when the measurement starts, after up has fetched it. A guest cannot send a probe, and an attached platform, whose software vxedge does not place, is no end at all.

  • The reflector answers first. Before the sender starts, the reflector must echo a datagram sent from where the sender runs, within 90 s, so a guest still booting is waited for. One that never answers fails the measurement, naming its address and port, rather than recording a window of pure loss.

  • Samples. Each sender serves its metrics on 127.0.0.1 inside its own namespace. The daemon's exporter reads them there and serves them with entity="measurements/<id>" (§12), so a scrape never crosses the slice it measures. When the sender finishes, its summary stays in the runtime folder.

  • Checked by Plan. An end that is not a device (or host, for from, or internet, for to), a guest as from, a guest to whose part declares no reflector, an attached platform, a device end other than the device the experiment isolates, a slice that is not declared or that an end has no link or (on a VLAN slice) pinned address on, a to other than internet on an s-nssai slice, a to: internet measurement whose far side would take one address on two slices (with another measurement, or with a traffic profile sending to the uplink), or a rate or payload out of bounds is a problem with ERROR_REASON_MEASUREMENT_INVALID, and up and Start refuse it. A parameter can bind a measurement's field: binds: measurements[ctl-rtt].rate_pps.

  • Load runs where the node is. TrafficService.Up runs a traffic_profiles entry inside its source node in the same way once the node's zone is up, to a target node or to the far side of the uplink, so a campaign's load and its probes share the path they measure.

  • One device up: isolate. An experiment's isolate: <device> makes up start that device alone, every other device staying down, and down stops whatever is up. A campaign whose arms are packagings of one ECU runs one arm at a time this way: concurrent guests contend for host CPU and show as loss that is not the packaging's. Per arm, a string parameter binds isolate and another binds the measurement's to:

    isolate: node-cont-01
    measurements:
      rtt: { kind: rtt-probe, from: host, to: node-cont-01, slice: adas, rate_pps: 1000 }
    parameters:
      arm_device: { type: string, default: node-cont-01, binds: isolate,
                    values: [node-cont-01, node-microvm-01, node-libvirt-01] }
      arm_target: { type: string, default: node-cont-01, binds: "measurements[rtt].to",
                    values: [node-cont-01, node-microvm-01, node-libvirt-01] }
    campaign:
      arms:
        container: { arm_device: node-cont-01, arm_target: node-cont-01 }
        microvm: { arm_device: node-microvm-01, arm_target: node-microvm-01 }
    

    A device that is not one of the vehicles' is a workspace error.

  • Stop ends a measurement's processes and removes a far-side interface no other measurement or running profile uses. experiment down and vehicle down stop every running measurement and traffic profile before they take the nodes down.

Functional checks. Some experiments are suites, not measurements: exp-015 and exp-017 judge whether a Kuksa databroker does what kuksa.val.v2 documents, with a client that prints one JSON line per event. A kind: experiment declares such a suite in checks: the tools it runs, the steps a trial runs in order, and the cases that judge each step's output. No script drives a client:

checks:
  tools:
    kv2: { image: localhost/vxperiments/kv2:1, args: [--server, "10.100.0.50:55555"] }
    broker: { image: "ghcr.io/eclipse-kuksa/kuksa-databroker@sha256:…" }
  steps:
    - { id: state-before, observe: member, on: hpc1, member: kuksa-databroker }
    - { id: sub, tool: kv2, on: cabin1, args: [subscribe, Vehicle.Speed, --count, "3"],
        background: true, ready: { op: subscribe, result: open } }
    - { id: pub, tool: kv2, on: hpc1, args: [publish, Vehicle.Speed, "10"] }
    - { wait: sub, timeout_s: 30 }
    - { id: rx0, observe: port, on: zone-rl }
    - { id: denied, tool: kv2, on: zone-rl, args: [--connect-s, "5", get, Vehicle.Speed] }
    - { id: rx1, observe: port, on: zone-rl }
    - { id: drop, tool: kv2, on: hpc1, args: [actuate, X, "false"],
        until: { op: actuate, code: UNAVAILABLE }, every_s: 0.5, attempts: 20 }
    - { id: b61, tool: broker, on: alone, args: [--vss, /vss/vss.json],
        files: { /vss/vss.json: assets/vss-6.1.json }, background: true }
    - { sleep_s: 2 }
    - { id: list61, tool: kv2, with: b61, args: [--server, "127.0.0.1:55555", list] }
    - { stop: b61 }
  cases:
    - { id: seen, step: sub, where: { op: update }, field: value, ends_with: [10] }
    - { id: refused, step: denied, where: { op: connect }, field: result, equals: refused }
    - { id: reached-bridge, compare: { lhs: { step: rx1, field: rx_packets }, op: gt,
                                       rhs: { step: rx0, field: rx_packets } } }
    - { id: actuate-code, step: drop, where: { op: actuate }, field: code, observe: true }
criteria:
  - { id: kuksa-v2, cases: [seen, refused, reached-bridge] }
  • tools are OCI images, each pinned by digest (<reference>@sha256:<digest>) or a localhost/ image built on the host that runs the package, as a device payload may be. A tool's args go before each step's own, and entrypoint replaces the image's to run another program it holds. Every image is made present before the first step, so no step's time includes a download.

  • A step does one thing. A tool step runs a tool on a container node, in that node's group and so in its network namespace, as the node's own software sees the network; on: alone gives it a namespace of its own with loopback only, for a throwaway server; with: <step> joins a background step's namespace, for a client of that server. files mounts package files read-only. The output of every step before it is readable at /vx/checks/<step>.log. A step runs in the foreground for at most timeout_s (60 s by default), or, with until, again every every_s until a line of the attempt matches, attempts times at most. A background step is started and left running, the next step waiting for its ready line when it names one; a later wait waits for it to exit and stop stops it, and any still running is stopped after the last step. An observe step reads the host's side: member a node's group member (running, restarts, started_at), port a node's bridge port (rx_packets, tx_packets, rx_bytes, tx_bytes). sleep_s pauses.

  • Output is recorded. Each tool or observe step's output, one line per event, is a log stream of the entity checks/<step> (§12), so it lands in the trial's archive under logs/checks/<step>.jsonl.zst, on the trial's clock, with everything else. After each step's own output the daemon adds one line, {"op": "vx.step", …}: its exit code, whether it timed_out, the attempts it took and whether until matched, whether a background step was ready and running_at_stop, and elapsed_s. A line that is not a JSON object reads as {"text": <line>}.

  • Where checks run. A campaign trial runs its steps in its measure phase, within the measure duration (campaign.duration_s, or method.duration_s): the phase lasts as long as they take, and a step is cut short by the time left. Steps the duration does not reach are skipped. An experiment with checks therefore declares a duration and no windows.

  • A case selects the JSON lines of one step whose fields equal those its where names (a null wants a field unset; a field is a dotted path), and expects one thing of them: the last selected line's field equals a value, is one_of a list, contains a value (a substring, a list element or a map value), or is present; a count of selected lines (a number, or a rule such as { ge: 1 }); the selected lines' field values in order are a sequence, ends_with a list, or includes one in order; or a compare of two steps' last selected values (eq, ne, lt, le, gt, ge). With no expectation, a line must match. Numbers compare by value, so 10 is 10.0.

  • Judging. Each case is pass or fail in each trial, and inconclusive when its step did not run in that trial: a case that never ran never passes. A criterion { id, cases: [...] } fails when one of its cases fails in any trial, is inconclusive when none fails but one could not be judged, and passes otherwise. A case marked observe records what it found, such as what the documentation under test does not say, and is never judged; the verdict lists it under observations, and a criterion may not name it. The verdict reports each case of a cases criterion, per trial, with the value it read and why it did not pass.

  • Checked by Plan. A tool not pinned, a step that does not do exactly one thing or runs on a node that is not a container node of the vehicles, a with, wait or stop naming a step that is not a background step started earlier and still running, a file the package does not hold, a case that reads a step recording nothing or expects more than one thing, samples on a step that is not a tool step, a bad series or label name, a series declared twice on one step, an empty value or unit, a metric on checks/<step> whose step does not declare its series in its unit with every label it picks, and checks with windows or with no duration are problems with ERROR_REASON_CHECK_INVALID. A criterion naming a case that is not declared, or an observe one, is ERROR_REASON_CRITERION_INVALID.

  • Samples. The same lines can carry numbers a tool measures itself, such as kuksa-perf's latency percentiles, and a tool step's samples reads them as series a metric aggregates:

    steps:
      - id: publish-idle
        tool: perf
        on: cabin1
        samples:
          - { series: kuksa_perf_latency_us, where: { op: latency }, value: us, unit: us,
              labels: [quantile] }
    metrics:
      - { id: publish_idle_p50, kind: gauge, unit: us, entity: checks/publish-idle,
          series: kuksa_perf_latency_us, labels: { quantile: "50" } }
    

    Each line its where selects that holds a number at value (a dotted path) is one sample of series on the step's entity checks/<step>, at the time the line was recorded, labelled with the values of its labels fields, each under the field's name. A line whose value is not a number, or that lacks a label field, gives none. A metric then reads the series as it reads a probe's, reduced over the measure phase as its reduce says, and criteria aggregate it across trials. The samples are read from the step's archived output when a trial is judged, so an offline verdict reads the same values as the daemon's.

The descriptor holds packaging rather than content, so a version bump never touches an experiment file. vxp/1 (ships in vxedge 0.6.0):

schema: vxp/1                       # discriminator, required
id: vxedge/h1-slice-isolation       # namespace/name, required
version: 1.2.0                      # SemVer 2.0.0, required
entry: main.yaml                    # required: the file holding the one kind: experiment
title: Slice isolation under background load
license: Apache-2.0                 # SPDX expression
authors: [{ org: vxedge }]
requires:
  vxedge: ">=0.6.0, <0.8.0"         # SemVer range the daemon's version must satisfy
  gpu: none                         # none | tier2
  kvm: true
  kernel: { preempt_rt: preferred } # required | preferred | any
  backends: [container, qemu-microvm]
  simulator: [esmini]               # esmini | carla: what the package's scenario runs on
provenance:                         # optional, written by generators such as vxmodel render
  generated_by: { tool: vxmodel, version: 0.3.0, model_digest: "sha256:…" }
x-oem-acme: { cost_centre: 4711 }   # x- keys are carried and ignored
  • schema decides how the rest is read. Within a known schema, an unknown key is refused, except keys prefixed x-, which are carried and ignored, so an organisation can annotate its packages without forking the format. A schema this build does not know is refused with ERROR_REASON_PACKAGE_SCHEMA_UNSUPPORTED, naming the schemas it does know (HostService.Capabilities lists them too), never with a parse error.
  • id is namespace/name. The namespace is the publishing organisation, the same string as its registry org, so an id never needs a mapping table and two organisations cannot collide. Each component is lower-case letters, digits and -, starting with a letter or digit. The name component must equal the kind: experiment id, and names the packed file (§6.0.7). Catalogue aliases such as exp-002 are kept by the catalogue that lists the package (vxperiments/catalog.yaml), not by the descriptor, so papers and FACTS.md keys keep resolving without the package carrying its history.
  • version is SemVer 2.0.0, checked. It versions the package, not the software it runs.
  • requires is checked by the daemon's preflight, which up and WorkspaceService.Plan run; pkg validate and experiment validate are local and check only its shape. A daemon whose version is outside requires.vxedge refuses with ERROR_REASON_VXEDGE_VERSION_UNSUPPORTED. kernel.preempt_rt: preferred runs on any kernel, and every run records which kernel it ran on (§13); required refuses a kernel without it.
  • requires.simulator lists the simulators the package's scenario runs on. A simulator is available on a host when one of its executables is on vxedged's PATH (esmini; for CARLA, CarlaUE4.sh or CarlaUnreal.sh), and HostService.Capabilities lists them. A host without one refuses with ERROR_REASON_SIMULATOR_UNAVAILABLE. A scenario's simulator must be listed here, or it is a scenario problem. vxedge reads requires.simulator from 0.15.0, so a package that declares it sets requires.vxedge to >=0.15.0.
  • authors lists { org } or { name, org } entries. Packages vxedge publishes name organisations only.

entry must hold exactly one kind: experiment, and its id must equal the name component. Both are checked by pkg validate, experiment validate, manifest validate, WorkspaceService.Plan and up, and a malformed descriptor fails validation.

Legacy descriptor. A vxp.yaml without schema is refused: the file name already declares the format. A legacy <name>.vxp YAML descriptor is not read: every verb that reads a workspace (experiment and pkg verbs, Plan, up, PackageService.Inspect) refuses it with ERROR_REASON_WORKSPACE_INVALID and the steps to migrate: rename it to vxp.yaml, add schema: vxp/1, make id namespace/name, give it a version and an entry, and run vxedge pkg lock. vxtelemetry collect refuses it too.

6.0.4 Requirements vs. allocation

Two different things that both sound like "resources":

  • requires on a part (part.yaml in vxparts), what the software needs: arch, libc, cpu, memory_gb, gpu.vram_gb, gpu.compute_capability.
  • resources on a component (in a vehicle), what the node is allocated.

vxedge manifest validate checks part → component → host and fails early, so "this host cannot run this workspace" is reported before build time is spent rather than after. depends_on between parts is metadata only: validated for presence in the same baseline, never version-solved, a resolver is a package manager, and that would be a separate, deliberate decision.

6.0.5 Interface naming

A device's host interfaces are derived from its id: vz-<stem> for the bridge access port (the veth host side, or the tap itself) and vzp-<stem> for the veth peer. The stem is the sanitised id, shortened to a readable head plus a hash of the whole id when it does not fit the kernel's 15-byte IFNAMSIZ limit, node-cont-01 becomes vz-node-c-32cc.

This is a contract, not an implementation detail: campaign scripts address these names directly (ip addr replace … dev vzp-node-a-c06a, qemu … ifname=vz-node-q-691e). Names used to be positional, vz0, vz1, … in traversal order, which made ordering load-bearing in the worst way: adding a device renumbered the rest, and two views of the same topology could number it differently. exp-002 declares its arms cont, microvm, libvirt and sorts to cont, libvirt, microvm, so two H3 arms swapped interfaces between the two schema paths, the campaign would have measured libvirt and reported microvm, passing every test on the way.

A name now depends on its own device and nothing else: not declaration order, not sorting, not how many other devices exist. Two ids that shorten to one name are refused with both named. vxedge zone list prints each device's port= and peer=, so the mapping is always answerable without recomputing a hash.

Instance slots (Track F). Ships in vxedge 0.31.0. Several runs share one host, so a name also carries its run's instance slot <s>: one character from 0–9 then a–z, so a host holds at most 36 runs. Every host object a run creates carries its slot:

ObjectName
Bridge, uplink, uplink peervxbr<s>, vxup<s>, vxup<s>p
Uplink-side namespace (below)vxh<s>
Access port, veth peer, ingress IFBvz<s>-<stem>, vp<s>-<stem>, vi<s>-<stem>
WireGuard and VXLAN tunnelsvxwg<s>-<stem>, vxln<s>-<stem>
Node netns, container group, VM domain, pidfile, VMM socketvx<s>-<node>
5G podsvx5g<s>, vx5g<s>-ran
Check step containervx<s>-check-<id>
Run directory<runtime-dir>/runs/<s>/

The peer and IFB prefixes shrink to two letters, so a stem keeps today's 11 characters and stays the same: node-cont-01 in slot 0 has vz0-node-c-32cc and vp0-node-c-32cc. A VM guest's command line carries vx.slot=<s> beside vx.node=<id>, and vxcapsule takes --slot <s>, so a guest is found by its node and its slot.

A run's directory holds everything that is the run's own: its record, its manifest, its 5G and gPTP config, its check output, its measurement and traffic pidfiles, and its telemetry ingest with collect.log and tools.json. The daemon's socket, audit log and jobs stay at the root.

  • Choosing a slot. Every verb that starts a run (VehicleService.Up, GatewayService.Up, experiment up) takes an optional instance. Without it, a workspace with no run takes the lowest free slot, and a repeated up keeps its run's slot. With it, the run takes that slot, so the same workspace can run twice and a script knows its names before it starts. A campaign takes its instance, or the lowest free slot at start, and keeps that slot for every trial. Run.instance reports the slot, and campaign.json records the campaign's.

  • A campaign holds its slot. From start to end, so another up between two trials skips it and another caller's lifecycle verbs on it are refused with ERROR_REASON_HELD_BY_RUN; what its workspace holds host-wide counts as held between trials too. The hold survives a daemon restart, so a retry with the same request id resumes in the same slot, and is released at the end, on failure and on cancel; a hold no retry can resume is released when the daemon starts. A campaign takes no lifecycle claim of its own: each trial's up and down waits its turn for it, so another run's up delays a trial instead of failing it.

  • Telemetry per run. The exporter serves each run its own page, /runs/<s>/metrics, and a run's host entity scrapes <addr>/runs/<s>, so one run's series never reach another's archive; /metrics serves the only run. CollectRequest.instance names the slot whose ingest to archive (a campaign collects after its trial's run is down); empty means the workspace's live run's, else the slot it last ran in. vxtelemetry records the slot as metadata.json's instance.

  • A run sees only its own slot. down removes only its own slot's objects, and a daemon restart restores every run it holds a record for. Another slot's objects are not foreign workload (ERROR_REASON_FOREIGN_WORKLOAD), and objects that carry no slot still are.

  • The uplink side is the run's own (Track F). Ships in vxedge 0.32.0. Each run's uplink side lives in a network namespace of its own, vxh<s>. It holds:

    • the uplink peer vxup<s>p and its VLAN subinterfaces;
    • every far side on them: a to: internet reflector, a from: host sender, and a traffic profile's far side;
    • the processes that run on those far sides, including the senders' metrics endpoints.

    The uplink vxup<s> stays on the bridge, so a slice's queue still shapes everything that crosses it. up creates the namespace and moves the peer into it, and a repeated up or a daemon restart finds it there. down stops the namespace's processes first, then deletes the namespace.

    Two things stay in the daemon's own namespace:

    • an s-nssai slice's data-network side: the bridge's own 5G port and the routes to the UE subnets. With one 5G vehicle per host, it cannot clash.
    • a traffic address the host puts on a container device's veth peer while its zone is down (see "Host-wide resources"). Its traffic leaves through that veth and crosses the bridge, the access port and the uplink to the far side in vxh<s>.

    A traffic profile whose end is a VM's tap is refused at Plan and up with ERROR_REASON_WORKSPACE_INVALID. A tap is the bridge port itself, so an address on it would send into the guest, and vxedge runs no generator inside a guest. Until this change, such a profile and a container device whose zone was down put both of their addresses on the host, so their traffic went over loopback and never crossed the slice.

    Every up enters the namespace, so the daemon needs CAP_SYS_ADMIN, as a real up already does (GETTING-STARTED.md). Without it, up fails with ERROR_REASON_HOST_REQUIREMENT_UNMET before it creates anything. Processes in vxh<s> run as the daemon's user, never as root, and a failed metrics read inside the namespace is reported, not dropped. Registering the namespace may need sudo -n ip netns add, as a node namespace does. When that sudo rule is missing, up fails with the same reason, naming the rule.

    A far side's address is therefore the run's alone. Two runs may use the same subnets, so two copies of one measuring experiment run at once. The host no longer reaches a far side directly: scripts enter the namespace with ip netns exec vxh<s>, and leak checks list vxh names too.

  • Host-wide resources. Some things a manifest names exist once per host, whatever the slot:

    • a mode: s-nssai slice, whose 5G attach subnets and UE routes live in the host's tables;
    • a host-side traffic address: a traffic profile whose container device's zone is down puts that end's address on the device's veth peer on the host, in the host's routing table. up brings zones up, so this is checked when the traffic starts: TrafficService.Up refuses the profile with ERROR_REASON_HELD_BY_RUN when another interface on the host has an address in that /24;
    • a WireGuard listen_port;
    • a VXLAN vni and dstport pair;
    • an adopted host_interface, such as the Cuttlefish tap;
    • the listen port of a host-process OTA service.

    The first run to declare one of these holds it, and a second run that declares it is refused with a new reason, ERROR_REASON_HELD_BY_RUN, naming the run that holds it. So is a slot that another run holds. ERROR_REASON_BUSY keeps its meaning: another lifecycle operation is running. Far sides are not on this list: they live in the run's vxh<s>.

  • CPU pins are not arbitrated between runs. Two runs that pin the same CPU share it, and a timed run takes the host on its own.

6.0.6 Migration status

§6.0 is the only authored schema, and the only runnable one (2026-07-31). Every planner takes the domain model, which is built from a workspace; vxedge up, vxedge experiment up and vxtelemetry ingest|collect all read a workspace directory. All five experiments (exp-001, exp-002, exp-002b, exp-003, exp-010) have workspaces, each verified to produce plans identical to the frozen §6.1 manifest it replaced.

§6.1 and §6.2 are deleted, structs, adapter and lowering alike. vxmodel render (track M) emits workspaces too, so vxedge manifest validate has one shape to check and CI asserts it.

The frozen vxperiments/experiments/exp-*.yaml files are kept as provenance for the results already recorded against them, not as inputs. Pointing a tool at one now reports what the document is and where to go instead.

6.0.7 Packages: lock, packed form, digest

vxedge 0.6.0 reads vxp/1 descriptors; 0.6.1 adds the lock, the packed form and the pkg verbs; 0.7.0 checks the lock at up and records the package digest; 0.8.0 adds pkg vendor. A package has two forms of the same content:

FormWhat it isUsed for
SourceA folder: vxp.yaml, vxp.lock, documents and content (§6.0)Authoring, git, review
PackedOne file, <name>-<version>.vxp, deterministicSharing, signing, publishing, offline transfer

One package per hypothesis. Variants are arms, parameters and profiles inside one package, never sibling folders, so each verdict belongs to exactly one package.

Lock. vxp.lock is written by vxedge pkg lock and never edited by hand. It is YAML with its keys in a fixed order, so a re-lock with nothing changed rewrites identical bytes:

schema: vxp-lock/1
package: { id: vxedge/h1-slice-isolation, version: 1.2.0 }
locked_with: 0.6.0                  # the vxedge version that wrote this lock
files:                              # every identity input except vxp.lock, sorted by path
  main.yaml: "sha256:…"
  parts/probe/probe.bin: "sha256:…"
parts:                              # every published bundle, wasm or config part a document references
  - { ref: ghcr.io/vxedge/parts/zone/zephyr-ecu, digest: "sha256:…" }
images:                             # every published container image a document references
  - { ref: docker.io/library/alpine, digest: "sha256:…" }
vendored:                           # documents copied from elsewhere (`pkg vendor`)
  - { file: vehicle.yaml, source: vxedge/vxperiments/vehicles/vx-vehicle-03, digest: "sha256:…" }

files covers the same set as the workspace identity (§13) minus the lock itself, which cannot list its own digest. parts and images record each published reference as the documents pin it, read from the documents alone, so pkg lock stays offline (decision X-10): the digest already fixes the content, and the lock records no media type. A container image named by tag has no digest to record, and the entry carries only its ref. The 5G core, RAN and subscriber database are no document's reference: vxedged starts its own digest-pinned images for them (§15, containerization policy), and when any slice is s-nssai the lock lists those three under images too, as an archive's image_digests records them. Local references (./parts/…, local/…, localhost/…) are content in files, not references. Because the lock records the vxedge version that wrote it, re-locking under another version changes the lock and so the package digest; a package is packed from its committed lock, not re-locked per host. vxp.yaml and vxp.lock are inputs to the workspace identity, nothing excludes them: a version bump or a re-lock is a different input, and §13's question did every repetition run from the same input? answers it. up on a vxp/1 package recomputes files and the referenced digests and refuses with ERROR_REASON_LOCK_MISMATCH when a file was added, removed or changed, or a reference disagrees, naming each. A missing vxp.lock is a mismatch too; pkg new writes the first one. up --unlocked (unlocked on GatewayUpRequest, ExperimentUpRequest and VehicleUpRequest, and on WorkspacePlanRequest so Plan answers for the same run) skips the check while authoring; the run record and the archive record that it ran unlocked (§13), so an unlocked result is never mistaken for a locked one. Locked or not, up refuses a vxp/1 package that cannot be packed (a symbolic or hard link, a special file, a path ustar cannot hold) with the same error pkg pack gives, since a run of a vxp/1 package always records its package digest. Inline manifests are not lock-checked. vendored records where a copied document came from, so CI can flag drift from its source.

Vendoring (decision X-5; vxedge 0.8.0). pkg vendor <dir> copies the vxedge documents of another folder, such as a reference vehicle in vxperiments/vehicles/, into the package root, so the package stays self-contained without a dependency resolver. It copies the documents and the local part folders they reference (a ./… part ref or artifact store) whose files the source's git checkout tracks, such as a vehicle's committed attach adapter. It never copies the folder's other scripts, its build outputs or a package descriptor, and lists what it left behind: a script is a host recipe that may reach outside its folder, and a file git does not track is a build output, not content. Outside a git checkout no part folder is copied. A package keeps no file modes, so a copied script runs only through a command that names its interpreter (§9). Each copied file is recorded in vendored with file (its path in the package), source and digest (the SHA-256 of the bytes copied). source names the folder as <owner>/<repo>/<path>, read from the source's git checkout (vxedge/vxperiments/vehicles/vx-reference-sedan-01), or as given with --as when there is none. A destination that exists and was not vendored from the same source is refused unless --replace is given; vendoring the same source again updates the copy. The lock is rewritten with the new entries even when the package no longer builds, for example when main.yaml still names the vehicle the copy replaced, and the command says what to fix before pkg lock. Local references the copied documents make and the package lacks (a ./ bundle or artifact directory, a localhost/ image) are listed, since up refuses without them. pkg vendor --check reports a vendored file edited in the package and, when the source resolves (the same repository checked out around the package, as in vxperiments CI), a source that changed since it was copied. A document from a private repository is never vendored into a public package.

Packed form. The packed file is a POSIX tar archive, uncompressed, built so that the same source always gives the same bytes on any host and with any vxedge version:

  • Its entries are exactly the workspace identity's inputs (§13), in the same sorted path order, as regular files only. Directories are implied by paths. results/, .git and everything else the identity excludes are therefore never packed.
  • Paths are relative, /-separated UTF-8, with no . or .. component. Each entry is a plain ustar header: mode 0644, uid and gid 0, empty user and group names, mtime 0, type 0 (regular file), empty link name and device numbers, magic ustar\0 and version 00. Numeric fields are zero-padded octal ending in NUL; the checksum is six octal digits, NUL, space. A path of up to 100 bytes is the name, with an empty prefix; a longer one is split at the shortest prefix, ending before a /, that leaves both prefix (up to 155 bytes) and name (up to 100) in their fields, as GNU tar and Python's tarfile split it. No PAX or GNU extension headers are written, so a path with no such split is refused, by pkg validate and pkg lock as well as pkg pack. Each file's data is padded with zeros to a 512-byte block. The archive ends with two zero blocks and no further padding; Python's tarfile writes the same bytes up to its own padding to a 10 KiB record.
  • Every entry is 0644, executable or not. The workspace identity ignores modes, and so does the package digest: a checkout that drops the executable bit, as some filesystems and core.fileMode=false do, packs to the same bytes. Scripts in a package run through their interpreter.
  • A symbolic link, hard link, device, socket or non-UTF-8 path among the inputs is refused by pkg validate, pkg pack and up, not silently skipped or followed, so every run of a vxp/1 package has a package digest.

pkg unpack writes the entries into a new or empty directory and refuses an archive that breaks any of these rules: a reader accepts exactly the bytes a writer would produce from the same entries, and nothing else. The unpacked folder has the source's workspace identity, since its inputs are exactly the packed entries, and re-packing it gives the same bytes. pkg pack writes outside the source folder by default; a packed file inside it would be an input to its own next pack.

Package digest. The SHA-256 of the packed bytes, sha256:…. It is the identity for sharing and for reproducibility claims ("this result came from package sha256:…"), and anyone can check it with sha256sum. The packed file is uncompressed so that this holds: compressed output is not fixed across compressor versions, and a digest over it would reproduce only on the same build. Transfer may compress; the digest is always over the tar. Because the packed bytes are a pure function of the source, the digest is computed for every run of a vxp/1 package, from a source folder as well as from a packed file, without writing one. As with the workspace identity, vxedge-core and vxtelemetry compute it independently and pin the same packed-bytes test vector; vxtelemetry computes it from the archive's package/, which holds exactly the packed entries, so vxtelemetry verify checks the package digest as well as the identity. Published parts are referenced by digest, never embedded. Air-gapped transfer of published parts travels beside the package, never inside it, so the package digest does not depend on how the package was moved.

Verbs (local, offline, built on vxedge-core): pkg new scaffolds a vxp/1 package, pkg validate runs every check above and §6.0's, pkg lock writes vxp.lock, pkg pack writes <name>-<version>.vxp and prints its digest, pkg unpack restores a source folder, and pkg inspect prints a package's descriptor, lock and digest from either form, and pkg vendor copies another folder's documents in (above).

6.0.8 Distribution and trust

Publishing. pkg push <ref> uploads a packed package as one OCI artifact of artifact type application/vnd.vxedge.vxp.v1. Its single layer is the packed file, unchanged, with media type application/vnd.vxedge.vxp.v1.tar, so the layer digest is the package digest: this is why the packed form is uncompressed (decision X-9). Its config blob, application/vnd.vxedge.vxp.config.v1+json, holds the descriptor's id and version and the lock's parts and images, so a registry listing says what a package needs without downloading it. The tag is the package version. A registry may compress in transfer; the stored layer is the tar. The registry client is the oras CLI, as for parts (§6.0); vxedge stores no registry credentials and uses whatever oras login holds.

Pulling. pkg pull <ref>@sha256:<hex> fetches the layer into the part cache under its digest, refuses bytes that do not hash to it, and refuses a packed file that is not canonical (§6.0.7); pkg unpack then restores a source folder. A pull names a digest: a tag alone is refused, since a tag can move and a result cites what ran.

Through vxAPI. PackageService does the same on the daemon's host:

  • Pull fetches a package by digest into the cache (package.pull).

  • Import takes the packed bytes from a client that shares no filesystem with the daemon (package.import). The bytes must hash to the digest the first message names.

  • List reports what the cache holds.

  • Inspect reads a workspace folder, a packed file or a cached package and returns what it is:

    • the descriptor and the package digest;
    • whether vxp.lock matches;
    • the host requirements;
    • the typed intent: parameters with their bounds, metrics, structured criteria each with a one-line rendering for people, and the campaign;
    • the measurements and the entities;
    • every problem Plan would report.

    It touches nothing.

Once a package is cached, any verb addresses it by digest: ManifestRef.package is sha256:<hex>, and the daemon unpacks it once into its cache. A digest the cache does not hold is ERROR_REASON_PACKAGE_UNKNOWN.

What a signature covers. A signature is over the package digest, never over a folder. A folder cannot hold its own signature, because the signature would be an input to the digest it signs. So verification is recorded beside the package, not in it: pkg verify and pkg pull write a verification record under the part cache, keyed by the package digest, naming the signer and how it was checked. up already computes the package digest of every vxp/1 run (§13) and looks the record up by that digest. A folder edited after it was verified has another digest, and so no record.

Signatures. Two methods, one per audience:

  • Published packages carry a GitHub artifact attestation made by the publishing workflow, checked against the repository and workflow that made it.
  • Air-gapped labs use a key-pair signature in the Sigstore bundle format, written beside the packed file as <name>-<version>.vxp.sigstore.json and checked offline against a public key the lab holds.

Trust policy. A host may require signed packages. The policy is the daemon's, read at start from a file the operator owns, and names whether signatures are required and which signers are allowed: a GitHub repository and workflow for attestations, or a public key for key-pair signatures. Without a policy, any package runs, as today. With require-signed, up, Plan and PackageService.Pull (before fetching anything) refuse a package whose digest has no verification record from an allowed signer with ERROR_REASON_SIGNATURE_INVALID, before anything is provisioned; an inline manifest has no package digest to verify, so it is refused too. An authoring host, where packages are built and changed, runs without the requirement.

Offline transfer. pkg pack --offline writes, beside the packed file, an OCI image layout <name>-<version>.parts/ holding every published part and image the lock lists, and pkg pull --layout <dir> loads them into the part cache, so up needs no network. The layout also holds the infra image vxedge runs every container node with (registry.k8s.io/pause, pinned by digest), which no lock lists. Only its Linux platforms travel, and its index travels unchanged, so the pinned digest still resolves. The packed file and its digest are unchanged by how it travels (decision X-9).

6.1–6.2 Experiment and vehicle manifests: retired 2026-07-31

These two schemas are gone: the structs are deleted from vxedge-core, nothing parses them, and no tool emits them. §6.0 is the only schema.

They are named here rather than silently dropped because results archives, RESULTS.md entries and the frozen vxperiments/experiments/exp-*.yaml files all reference them. A §6.1 experiment manifest was one document carrying experiment/network/zones/compute/links/ traffic_profiles/telemetry/results, with software attached to a node as a flat image:; a §6.2 vehicle manifest carried the same composition blocks under a vehicle: header. §6.0 splits both across kind: experiment / kind: vehicle / kind: baseline documents and separates zone (a place) from device (a unit) from function (behaviour), the conflation that made channels unexecutable and a slice's definition unlocatable.

The frozen manifests stay in vxperiments/experiments/ as provenance for results recorded against them. To read one against the schema it was written to, use the v0.1.0 tag, which is where phase-1 reproducibility is anchored.

6.3 Model governance: SysML v2 (track M, vxmodels)

Why SysML v2 here: unlike v1 it is textual (git-diffable), has a standardized REST/JSON API, and composes typed elements, the first systems-modeling standard practical for GenAI authoring. vxedge is unusually well-placed for it: the system is already fully declarative (manifests) and fully executable (up|down), so a model layer is live, not documentation.

Construct mapping (authoritative for track M):

SysML v2 constructvxedge artifact
requirement def + verifyhypotheses (H1–H4, then per-experiment) → frozen result archives
part / connection / interface defsvehicle manifest: zones/nodes, links harness, slices + QoS
analysis case + variant pointsexperiment manifest + its arms
use case / occurrencetraffic/transportation scenarios (CARLA; ASAM OpenSCENARIO alignment)
metadata annotationsfidelity ledger: per-part caveats → per-experiment validity envelope

Pipeline: .sysml sources (authored in vxmodels) → vxmodel render (Rust) → YAML manifest (+ recorded model digest) → vxedge manifest validate --json → the normal CLI lifecycle. GenAI-authored experiments therefore clear two typed gates (model typing, then manifest validation) before touching the testbed, the safety argument for generated experiments is structural, not aspirational.

Out of model scope, by rule: Rust internals, the vxAPI IDL (Protobuf stays the contract, SDKs stay generated), and anything zone/compute manifests are authoritative for.

Terminology (matches ROADMAP.md): track M makes vxedge a model-governed executable virtual prototype. "Digital twin" is an earned claim reserved for hardware parity; track M supplies the model half; hardware supplies the physical half.


7: Network model, vxgateway (SDN slicing)

The edge gateway is a virtual network function built entirely from the production open-source Linux SDN stack, provisioned declaratively by vxedge (Rust rtnetlink/OVSDB, no shell templating):

  • Data plane: Open vSwitch (or Linux bridge) carrying an 802.1q trunk; one VLAN per slice. Deployed either as a set of network namespaces on the host (default; lowest overhead, fully inspectable) or as a dedicated VM (stronger isolation of the gateway itself).
  • Queueing / slice QoS: hierarchical tc (HTB) queue trees per slice with guaranteed min-rate for URLLC-like slices, the object of hypothesis H1.
  • Real 5G slicing (H2): Open5GS core + UERANSIM gNB/UE terminate PDU sessions per S-NSSAI; slice definitions in the manifest (mode: s-nssai) provision both the 5G core and the gateway. Zone nodes may additionally carry a URSP-style slice_policy (per-traffic-class selection across concurrent PDU sessions), mirroring UE-side slicing as deployed on production automotive modems (Qualcomm Snapdragon Auto 5G; cf. the DT/BMW/Valeo/Ericsson/Qualcomm 5G SA slicing trial, which vxedge reproduces openly in software). Optional radio-channel realism via NVIDIA Sionna (6G Developer Program); full Aerial CUDA-Accelerated RAN is a stretch goal requiring specific NVIDIA platforms.
  • TSN variant (gate schedule shipped in vxedge 0.28.0, gPTP time sync in 0.30.0): time-aware scheduling as an alternative gateway shaping mode, an IEEE 802.1Qbv gate schedule (taprio) in place of the HTB tree on the uplink, with gPTP time sync (linuxptp, IEEE 802.1AS) from the gateway to the devices that follow it (network.shaping, network.time_sync, §6.0.3). It enables HTB-versus-TSN isolation comparisons. Under shaping the uplink has no line rate, so the comparison is in time, not bandwidth (§6.0.3).
  • Legacy bus edges (type: can, phase 3): SocketCAN/vcan buses per zone, exposed to guests via QEMU CAN controllers and tunneled across the backbone with cannelloni; CAN frames map to VSS signals via Kuksa feeders, the zonal-controller CAN-aggregation role that makes the prototype vehicle-shaped rather than datacenter-shaped.
  • Harness modeling: the manifest links section is the wiring harness. Per-link impairments (tc netem: rate cap, latency/jitter, loss) emulate PHY characteristics such as 100/1000BASE-T1, delivered: rendered onto the elected access port's egress qdisc and, for the reverse direction, an IFB the port's ingress traffic is redirected onto (a qdisc only shapes egress, so the return direction needs a device of its own to shape). harness (medium/length_m/weight_g) carries the same segment's physical properties declaratively, for a harness-reduction report, independent of whether it is impaired. CAN/LIN drops ride type: can links (LIN modeled as a constrained bus, phase 3). Because harness topology is manifest data, it becomes an experimental variable, star vs daisy-chained zones, sensor-to-ECU path placement, iterable in minutes, which no physical testbed offers. Power distribution is modeled only as VSS signals (vxplant power tree, optional); electrical/thermal fidelity is explicitly out of scope. gPTP/TSN (above) is the harness's timing layer.
  • Tunnels: VXLAN for inter-host communication; WireGuard (in-kernel) for secure telemetry and OTA transport, network.tunnels (§6.0.3), one gateway-terminated point-to-point link per entry. WireGuard delivered (docs/ROADMAP.md #16): backend-independent (a WireGuard interface is a routed L3 endpoint, never enslaved to the bridge/OVS switch, the same mechanism regardless of network.data_plane). No local key material in the manifest; the gateway mints its own identity on first up and reports the public key back via status. Kernel-level correctness (a real handshake between two simulated hosts, not just interface presence) verified by gateway_netns.rs's tunnel_completes_a_real_handshake_between_two_simulated_hosts. VXLAN: model and validation delivered 2026-08-04 (docs/ROADMAP.md #16), kind: vxlan (§6.0.3), structurally the opposite of WireGuard: it joins the bridge as a trunk-like port, extending one or more local slices' L2 domain across hosts. GatewayPlan provisioning is a separate, not-yet-built follow-on; declaring one today is refused loudly at plan time, not silently dropped.
  • Routing: static for lab experiments; FRR provides BGP for cloud interconnect.
  • Firewalling: nftables per VLAN/slice.
  • Production NOS twin: the same slice/VLAN/VXLAN/BGP intent is also rendered onto a SONiC-VS virtual switch (community qcow2). SONiC is the production open-source NOS (Linux Foundation; NVIDIA ships production SONiC on Spectrum), which demonstrates that vxedge slice configs express identically on a production NOS. The SONiC-VS data plane is functional but not timing-representative, so all latency/jitter measurements run against the Linux-native vxgateway path. (NVIDIA Cumulus VX is deprecated as a standalone image and is not used; NVIDIA Air remains only an optional cloud sandbox.) Manifest field: network.nos_check (§6.0.3).
  • Determinism controls: gateway forwarding cores pinned and isolated (isolcpus), PREEMPT_RT host kernel, hugepages. An optional FD.io VPP (DPDK) data-plane variant exists for URLLC-focused runs needing minimal per-packet latency variance.
  • Monitoring: gateway counters, tc/OVS statistics, and syslog exported to the central Prometheus node.

8: Service model (OTA, telemetry, extensibility)

  • Services are defined under top-level services: on the experiment, as host processes, or on the vehicle, placed on a device with on: (§6.0.1).
  • ota and telemetry are the core supported types.
  • Services can be referenced in zones or compute nodes.
  • CLI deploys services via vxedge ota up|down [--experiment <path>] (cwd-resolved by default), or as part of experiment up --stage services, the path an actual campaign takes, since it sequences services after the gateway/zones they depend on.
  • Extensible: future vxsvc-* repos can be added and referenced in manifests. The phase-3 Kuksa databroker (vehicle signal plane, COVESA VSS) is deployed via the vehicle's signal_plane block (§6.0.1) rather than as an experiment service.
  • Each service definition includes id, type, image, config, and, on a vehicle, on.

OTA design (H4, vxota): the service exists to be a realistic, measurable OTA workload for H4, not a fleet-management platform, two industry concerns are kept deliberately separate:

  • Trust model (adopted as design vocabulary, not as a dependency): artifact metadata follows the shape of Uptane (the automotive-specific, TUF-derived OTA security framework, the closest thing to an ISO/SAE 21434 / UNECE R156-aligned standard): signed root/targets-style manifests, image-repo vs. director-repo separation. The reference implementation aktualizr (C++) is not adopted as a dependency: it would contradict the Rust-first service policy (§15) for no benefit vxota needs today.

  • Delivery/orchestration (out of scope for vxota v1): production fleet tools: Eclipse hawkBit (Java rollout server + DDI API) and Mender (Go, server+client) , are named here only as the production analogs an OEM engineer would recognize (mapped in docs/USER-GUIDE.md §6); neither is wired in, since vxota's zones/compute nodes are ephemeral per-experiment instances, not persistent fleet devices needing campaign/rollout management.

  • Slot/image-swap updates (phase 3, optional): if a later experiment wants a real atomic image swap on a running zone (vs. vxota v1's signed-blob delivery), the candidate is Rugix Ctrl (Rust, memory-safe, secure-by-default signature verification, native content-defined-chunking delta updates, chosen over the more established RAUC specifically for the Rust-policy fit; RAUC remains the fallback if Rugix's narrower deployment history or its gaps, no NAND/UBI, no encrypted updates, both irrelevant to our QEMU/libvirt block-storage bundles, become a blocker). Maps naturally onto zone guest bundles, which are already kernel+initramfs "slots" in Rugix/RAUC's sense.

  • The OTA artifact store: config.artifacts is read by shape, as a part ref is. A workspace directory (./ota-store) must exist at up. A published config part pinned by digest (ghcr.io/vxedge/parts/svc/ota/config/<name>@sha256:<hex>) is fetched into the part cache at up, as a guest bundle is, and mounted read-only into the placed service; planning does not need it on disk. A host-process service (no on:) serves a directory only.

  • A store made per run: publish. In place of artifacts, a host-process service may name the artifacts the daemon makes when the service starts: publish: { burst-artifact: { size_bytes: 5242880 } }. Each is that many random bytes, signed into a fresh store under its name with a fresh root key (vxota keygen, then vxota publish). The store and the key live in the runtime folder, the key outside the store, and both are replaced on every start, so a package needs no store built on the host before it runs, and no key is ever in a package. A service gives artifacts or publish, never both.

  • An update in progress: fetch. fetch: { target, clients, interval_s, metrics } runs clients OTA clients (vxota-probe fetch, default 1) beside a host-process service. Each downloads and verifies target again interval_s (default 0) after its last delivery ends, pinned to the store's root key, until the service stops. They start once the service answers on config.listen and stop before it. Each exports vxota_deployments_total{status} and vxota_delivery_latency_seconds on metrics (default 127.0.0.1:9902, the port rising by one per client), bound to the service's entity (host/services/<key>), and logs to the stream fetch-<n>. A parameter that binds services.<key>.config.fetch.clients turns the load on per arm; clients: 0 runs none. vxedged runs the client from --vxota-probe-bin. exp-003's burst arm is one client with interval_s: 0:

    services:
      ota:
        id: ota-01
        type: ota
        image: { url: local/vxota:host-process, kind: container }
        config:
          listen: 127.0.0.1:9900
          publish: { burst-artifact: { size_bytes: 5242880 } }
          fetch: { target: burst-artifact, clients: 0 }
    parameters:
      ota_clients: { type: integer, unit: "1", default: 0, min: 0, max: 16,
                     binds: services.ota.config.fetch.clients }
    

    Plan refuses a store given twice or not at all, a publish name that is not one path component, a size of 0 or above 1 GiB, a fetch.target that publish does not make, more than 16 clients, an address that does not parse, and publish or fetch on a placed service (ERROR_REASON_WORKSPACE_INVALID).

  • v1 service backend (fidelity caveat): SvcService.Up (§5) spawns the service binary (vxota serve) as a host-local child process co-located with vxedged, tracked by a pidfile the same way the microVM zone backend tracks QEMU, not yet scheduled onto a compute node, since that backend doesn't exist. config.listen (new manifest field, alongside config.artifacts) is the address the process binds; today that is still the gateway's own bridge address on the slice under test, an address zone nodes can already reach without a tunnel. network.tunnels (§7) now exists as a mechanism , a manifest can declare a WireGuard link the gateway terminates, but vxota is not yet wired to bind config.listen onto one; that integration, and scheduling onto a real compute node, do not exist today.


9: Virtualization & zone provisioning (libvirt, QEMU/KVM, RTOS, containers)

Stack, bottom to top: host Linux (PREEMPT_RT, isolcpus, hugepages) → KVM → QEMU, managed by libvirt, driven by vxedged through virsh, run as the daemon's own user and authorized by libvirt group membership.

  • libvirt is the default zone backend for kind: vm | rtimage. The CLI compiles zone manifests into libvirt domain XML: lifecycle (define/start/destroy/undefine) gives idempotent up|down and queryable status; vNICs attach to the vxgateway OVS/bridge trunk with per-vNIC VLAN tags; <cputune> (vcpupin/emulatorpin), hugepages, and virtio multiqueue express the manifest's realtime: block; storage pools hold the SHA256-digest-tagged images.
  • microVM escape hatch: backend: qemu-microvm drives raw QEMU (QMP, microvm machine type), bypassing libvirt's device model for the minimal-latency arm of hypothesis H3. It boots aarch64 guests too, the instruction set of production zone ECUs: a bundle names its instruction set in meta.json ("arch": "aarch64", or the org.vxedge.arch a published vxparts bundle carries; none means x86_64), and an aarch64 node runs on QEMU's virt machine, the same virtio-mmio transport, with the PL011 console. The bundle also names the virtio-mmio version its driver speaks ("virtio_mmio": "legacy" for version 1; the default is the modern version 2). It may size its guest, cpus (default 1, at most 16, and no more than a pinned node's pinned CPUs) and memory_mb (default 128 MiB on x86_64, 256 MiB on aarch64), and an aarch64 bundle with "virtualization": true gets the CPU's virtualization extensions, the virt machine at EL2 with GICv3, for a guest that is itself a hypervisor. A bundle may carry its guest's whole system as a root disk, rootfs.img (a raw image), beside vmlinuz, in place of initrd.img or with it, since vxedge 0.35.0. qemu-microvm boots the disk as /dev/vda, as a snapshot: the guest's writes go to an overlay QEMU drops when it exits, so the image stays as its checksum says and every boot starts from it. A distribution's own init reads no vx.ip=, so the guest also gets its address from the kernel's ip=, on eth0 with net.ifnames=0, and no gateway; the vx. markers stay on the command line. libvirt and cloud-hypervisor boot a kernel and an initramfs only, and refuse a bundle with a root disk. KVM runs a guest only on a host of the guest's own instruction set; anywhere else QEMU emulates the CPU (TCG). NodeStatus.arch and NodeStatus.acceleration (kvm or tcg) report what the running guest actually got, read from its emulator, and a result names both: a tcg result is functional evidence only and is never timed. backend: cloud-hypervisor does the same through Cloud Hypervisor's REST API on a per-node Unix socket, booting the same guest bundle. It is validated on linux-probe only, and it is headless. All of these hide behind the same vxedge zone up interface.
  • A guest that brings its own host stack: backend: attach. Some guests boot only on their platform's own stack: AOSP's Cuttlefish AAOS image needs about 25 Cuttlefish host services (TEE, display, sensors, input, modem) and cannot boot on a bare VMM, as a production AAOS guest needs its hypervisor vendor's board support. vxedge does not rebuild that stack. The device's part is an adapter directory (kind: attach, local) whose attach.yaml declares the network interface the platform creates, start, status and stop commands, and a start_timeout_s; the commands run through sh -c in that directory with VX_NODE, VX_SLOT, VX_IP, VX_INTERFACE and VX_RUNTIME_DIR set. VX_SLOT is the run's slot (§6.0.5): a platform whose guest carries the vx.node= marker carries vx.slot= beside it, since the host scan reads a guest with no slot as no run's and refuses every other run's up while it runs. A command names its interpreter (sh start.sh), because a package keeps no file modes and an adapter's scripts arrive without the execute bit. The device's link endpoint names the same interface as host_interface, so the gateway plan stays a pure function of the documents. The gateway adopts the interface instead of creating a port: it records its current master, enslaves it to the slice bridge with the slice VLAN, and returns it to that master at down. vxedge owns what the vehicle provides in production, the slice, the signal plane and the Vehicle HAL server; the platform's stack owns how the guest boots. Attach nodes are last within the zones stage both ways: a guest never boots before the vehicle services it dials, and stopping its platform kills it without closing its connections, so the vehicle's nodes stop first and close theirs while it can still answer. status decides idempotence, and an adapter acts on its own node only. The previous master is recorded in the interface's own alias (vxedge:adopted-from=<master>), so down needs no state outside the kernel. An adapter whose platform images live outside the workspace pins them by digest in a file inside the adapter directory and refuses to start on a mismatch, so the package digest covers what ran. The same contract adopts a physical NIC, for hardware in the loop.
  • Microcontroller firmware: backend: qemu-mcu. The bundle is firmware.elf and a meta.json naming its board (machine, or the published org.vxedge.machine); QEMU's mps2-an385 (Cortex-M3) is the board, with its LAN9118 NIC on the node's tap and the node's MAC. An MCU has no kernel command line, so the same vx.ip=<cidr> vx.node=<id> words reach the firmware as its semihosting command line (one arg= per word in -semihosting-config), which it reads with SYS_GET_CMDLINE. The firmware takes its MAC from the NIC, writes its console to UART0 (the node's serial stream) and echoes UDP on :9800. There is no KVM for M-profile cores, so the node always runs under TCG: NodeStatus reports arch: armv7m, acceleration: tcg, and a result is functional evidence only, never timed. Status and down are qemu-microvm's (pidfile, and the vx.node= marker on QEMU's command line). A bundle without its firmware, with no meta.json, or naming another board or arch is refused at up, naming what is supported.
  • A guest's reflector: a guest bundle may declare a UDP reflector its guest runs, "org.vxedge.reflector": "udp/<port>" in meta.json, and a published bundle carries the same key as a manifest annotation. vxedge starts nothing for it; the declaration is what lets a measurement aim at the guest (§6.0.3, "A guest as to"). The six vxparts probe guests declare udp/9800: the Linux probe bundles for x86_64 and aarch64, the FreeRTOS and Zephyr probe bundles, and the FreeRTOS and Zephyr mps2 firmware.
  • CPU pinning: a device's realtime.pinned_cpus keeps the whole node on those CPUs, on every backend that can do so. qemu-microvm, qemu-mcu, cloud-hypervisor and wasm-capsule start their process under taskset, so every thread (vCPUs, virtio and VMM workers, the runtime's own) inherits the set. libvirt writes <cputune> with vcpupin and emulatorpin, so the emulator, I/O and vhost threads follow the vCPU. container gives the node's payload and infra containers that cpuset, which rootless Podman applies only when the user's systemd service delegates the cpuset controller. Plan and up refuse, before anything starts and under HOST_REQUIREMENT_UNMET, a pinned device they cannot honour: a container without the controller, a container node that runs a host process, and an attach device, whose platform starts its own processes. A pinned qemu-microvm node gets no more vCPUs than it has pinned CPUs.
  • The AAOS ladder, one contract, a parity label per rung: aaos-26q2-x86_64-cf (Cuttlefish on x86_64: the AAOS framework and the production Vehicle HAL path over a slice), aaos-26q2-arm64-cf (Cuttlefish on Arm: the production instruction set), and aaos-hil (a real head unit or SoC kit on a physical port: production hardware and BSP). A result is never quoted for a rung it was not run on.
  • WebAssembly capsules: backend: wasm-capsule runs a WASI 0.2 command component, a local file or a part published by digest, as a zone node, for a sensor or ECU simulable as a sandboxed control loop rather than a full guest kernel. The node's network is a container node's: a named namespace with the gateway port as eth0. The payload is a vxcapsule process inside it, unprivileged and with no filesystem access, so the WebAssembly engine stays out of vxedged, a capsule stops by signal even while blocked on a socket, and it outlives a daemon restart. It is validated on the reflector-capsule part only.
  • Guest palette:
    • Zephyr / FreeRTOS: microVM images for sensor/ECU nodes, and microcontroller firmware on qemu-mcu.
    • Android Automotive (AAOS): infotainment zone, through backend: attach and the ladder above; its Vehicle HAL is the gRPC one, served from the vehicle's signal plane.
    • Embedded Qt/QML IVI/cluster loadable: an alternate infotainment/cluster baseline to AAOS, not desktop tooling (correction, 2026-08-06: earlier drafts of this document wrongly scoped Qt/QML as an operator dashboard only, it has no such role, see §5.1). Runs under a bare QEMU ARM zone node; exercises the same "one vehicle, many baselines" mechanism (ARCHITECTURE.md §6.0) that lets an experiment swap AAOS for Qt/QML (or vice versa) on the same infotainment zone without touching the vehicle's structural definition.
    • Containers: for nodes where packaging as a container is the experimental variable.
  • Fidelity caveat (stated in publications): production zonal controllers invert this stacking, silicon runs a Type-1 hypervisor hosting guests, whereas here KVM plays the hypervisor and the RTOS is a guest. Functionally equivalent for slice-isolation research; the hypervisor fidelity ladder below names the rung each result was measured on.
  • Hypervisor fidelity ladder (production-grade rungs only, no research-toy hypervisors):
    • Rung 0 (software-only, phase 1–3): KVM with strict static partitioning, isolcpus/cpuset pinned cells, hugepages, the Linux approximation of partitioning and the baseline arm of the freedom-from-interference experiment (exp-004).
  • CLI stages images, creates instances, and configures network interfaces; persistent storage optional per zone; logs and telemetry collected centrally.

Sensor, actuator & I/O virtualization (four layers)

  1. Perception sensors (camera, lidar, radar, GNSS/IMU): synthesized by the world simulator (CARLA; AlpaSim / Sensor RTX as the higher-fidelity path). In a real vehicle these ride GMSL/FPD-Link serdes into the ADAS ECU; here the transport is slice traffic through vxgateway (traffic_profiles.source: carla), sensor streams are the measured ADAS load, not synthetic filler.
  2. Body sensors/actuators (doors, HVAC, wipers, BMS…): restbus simulation: simulated nodes emit/consume CAN frames per DBC definitions (sensors:/actuators: in the node schema); Kuksa's CAN provider maps DBC signals ↔ VSS. Closed-loop behavior comes from the vxplant agent (in vxagents): subscribes to actuator commands, integrates a plant model (first-order default), publishes sensor feedback.
  3. Register-level I/O (GPIO/ADC/PWM/I2C/SPI): application-class ECUs (AAOS) use QEMU device models (io.devices); MCU-class ECUs needing register fidelity use Renode (backend: renode): full peripheral models running unmodified Zephyr/FreeRTOS firmware.
  4. Actuation loop closure: control commands (steering/throttle/brake) return to CARLA via carla-ros-bridge vehicle control, closing the loop world → sensors → slices → AD stack → actuation → world. End-to-end control-loop latency under slice contention is a first-class metric (§12).

10: Compute model (compute nodes, Autoware/ROS2, Alpamayo, inference, OTA hosting)

  • Compute nodes run containerized workloads. Two AD stacks are supported as ADAS-slice workloads, which usefully stress the network differently:
    • Autoware / ROS2 (Apache-2.0): classical modular AV stack; consumes CARLA sensor streams via carla-ros-bridge.
    • NVIDIA Alpamayo / AlpaSim (open-sourced at CES 2026): reasoning-VLA driving model and open simulation framework; runs on the host GPU without DRIVE hardware. Fine-tuning and DRIVE Hyperion integration are out of scope.
  • Perception/inference workloads use DeepStream / TensorRT; container definitions are optimized for GPU pass-through and TensorRT runtime (see resources.gpu in the schema).
  • OTA server may be deployed in a compute node if referenced in the experiment manifest.
  • Resources declared in manifest (cpu, memory, gpu); services deployed dynamically per manifest references.
  • Optional in-vehicle-style workload orchestration via Eclipse Ankaios/BlueChi (phase 3) to mirror production SDV runtimes.

11: Edge agents & telemetry collection (vxagents / vxtelemetry)

  • Rust agents deployed per experiment to collect metrics, latency, and traffic.
  • Prometheus exporters for centralized metric collection; GPU metrics tracked alongside (DCGM/NVML: utilization, VRAM boundaries, thermal/power throttling) since AD workloads share the host with the gateway.
  • VSS alignment: vehicle-signal telemetry follows the COVESA VSS catalog via the Kuksa databroker (phase 3). The open-source C++ AWS IoT FleetWise edge agent serves as a design reference for signal collection/campaign semantics, as a reference only: the AWS-hosted FleetWise service closes to new customers in April 2026 and is not a dependency.
  • Optional PCAP capture for detailed traffic analysis.
  • Agents and telemetry services configured via manifest and CLI commands.
  • Designed to be lightweight to avoid perturbing experiment results.

Records. Telemetry is one JSON object per line, the same while a run is live and in its archive. Each record names the entity it is about (§12) and its shape in record:

RecordFields
samplets_ns, entity, metric, labels (a map), value
gapentity, optional metric, from_ns, to_ns, reason (a required target that did not answer)
phasets_ns, optional trial, phase (provision, warmup, measure, cooldown, teardown), and window on a measure phase of a campaign with windows
logts_ns, entity, stream, line (one line of one of the entity's log files)

Times are nanoseconds since the Unix epoch, taken in user space. A renderer draws a break at a gap, never a line across it. vxtelemetry names each scrape target's samples by the entity entities.json binds it to, and host otherwise. A target that serves many entities names each sample's entity in an entity label instead, and vxtelemetry also scrapes the targets entities.json lists beside the workspace's own.

Live. vxtelemetry appends every record to records.jsonl in its ingest folder as it scrapes, and TelemetryService.StreamRecords tails that file, so a live stream carries the same records, in the same order, as the archive built from the folder. Each Record carries its line number as seq. A client resumes with after set to the last seq it saw, narrows to an entity_prefix, and sets follow to keep the stream open as more is written. Without follow, the stream ends at the last record written. StreamMetrics sends the same stream's samples, from the first, as Metric values with their entity, filtered by a selector of labels or entity.

Logs. entities.json names each entity's log files with what each is to it (stream): a VM's serial console, a hypervisor's own vmm log, a capsule runner's or a host service's stdout, an attached platform's attach scripts, and a traffic generator's traffic-<profile>-<role> output, bound to the node it runs from (a reflector to the node it answers on, or host). A container's output stays with Podman and is not listed. Each ingest round reads the complete lines each file gained, at most 1 MiB per file, and appends a log record per line to logs.jsonl. A line's ts_ns is the round that read it: the files share no clock, and the round is the bound the ingest can vouch for. logs.offsets.json keeps where each file was read up to, so a restarted ingest resumes, and a file that shrinks is read again from its start. LogService.Follow tails logs.jsonl as StreamRecords tails records.jsonl: seq is the line number, after resumes, and entity_prefix and streams narrow it.

Archive (vxarchive/2, the only format vxtelemetry collect writes and the only one vxedge and vxtelemetry read) is one zip per run whose large record files are zstd-compressed members:

index.json                  schema vxarchive/2; every other member with its size and sha256
metadata.json               the run metadata (§13), with `archive: vxarchive/2`
package/                    the workspace's identity inputs
entities.json               the entity paths records name
metrics/samples.jsonl.zst   sample and gap records
phases.jsonl                phase records, when there are any
logs/<entity>.jsonl.zst     log records, one member per entity that logged
events.jsonl                vxAPI events, when the run recorded them

Python's standard library reads it from 3.14 (zipfile, compression.zstd). vxtelemetry verify checks every member against the index, the identity over package/ and the package digest, so a changed, added or missing member fails it. vxtelemetry records <archive> prints an archive's records as JSON Lines; with --logs it prints its log records, entity by entity. A vxarchive/1 archive (no index.json) is refused by verify, records and every vxedge verdict, with the current format named: the frozen result sets are republished in vxarchive/2 (Zenodo 2026-11-v2).


12: Experiment methodology, metrics, and analysis plan

Methodology:

  1. Preparation:

    • Validate manifest syntax and semantics (experiment + referenced vehicle manifest).
    • Stage images on host(s) using CLI (libvirt storage pools / container registry).
    • vxedge up provisions vxgateway slices (VLANs, tc queue trees; S-NSSAI slices in the 5G core for mode: s-nssai).
  2. Execution:

    • vxedge vehicle up (or vxedge experiment up referencing a vehicle) to provision gateway, zones, compute, signal plane, and services.
    • Generate traffic per traffic_profiles, synthetic (pps/bandwidth) and/or real perception traffic (source: carla).
    • Collect telemetry (Prometheus + GPU metrics + PCAP) and service logs.
  3. Postprocessing:

    • Extract metrics from Prometheus exporters.
    • Parse PCAPs for latency, jitter, packet loss.
    • Aggregate results per slice and per node.

Metrics:

  • Network: p50/p95/p99 latency, jitter, packet loss per slice.
  • Closed loop (phase 2+): end-to-end control-loop latency, world → sensors → slices → AD stack → actuation → world, under slice contention.
  • Compute: CPU/memory/GPU utilization, service response times.
  • OTA: deployment success rate, artifact delivery latency.
  • Telemetry agents: data ingestion rates, metric completeness.

Analysis plan:

  • Compare latency/jitter under different virtualization choices (H3: libvirt VM vs container vs microVM).
  • Evaluate slice isolation under heavy multi-zone traffic (H1), and static VLAN mapping vs real S-NSSAI slicing (H2).
  • Quantify OTA and telemetry impact on URLLC slices (H4).
  • Quantify the effect of determinism controls (pinning, PREEMPT_RT, VPP data plane) on tail latency.
  • Generate reproducible tables, charts, and CSV datasets for publication.

Entities. Every telemetry record names one entity path, derived from the model's ids and never from an address, so a sample, a log line and an event about the same thing agree on what it is:

<vehicle>/<zone>/<node>        a device in a zone
<vehicle>/_/<node>             a device the vehicle declares in no zone (a gateway, central compute)
<vehicle>/links/<link>         a link
<vehicle>/channels/<channel>   a channel
<vehicle>/slices/<slice>       a slice the vehicle's links use
<vehicle>/services/<service>   a service placed on one of the vehicle's devices
host/services/<service>        a service run as a host process
host                           the testbed host, including the observer's own cost
measurements/<measurement>     a measurement the experiment declares (§6.0.3)
checks/<step>                  a functional check step's output (§6.0.3)

The daemon maps each scrape target to an entity once: to the node whose link endpoint carries the target's address, and to host otherwise. WorkspaceService.Plan lists every entity with its kind, role, backend, payloads, bound scrape targets and log files (WorkspacePlan.entities), and TelemetryService.Collect writes the same list as entities.json beside what was ingested, so the archive carries it. A host telemetry service finds it there from its start as well.

Host-side measurements. The daemon serves its own exporter, Prometheus text at /metrics on vxedged --metrics-listen (default 127.0.0.1:9469), bound to host as a scrape target. Every series carries entity="<path>", which names the sample's entity in place of the target's. Each scrape reads the kernel's counters as they are then.

SeriesEntityRead from
vxedge_node_cpu_seconds_total, vxedge_node_memory_bytesa nodeA container node's cgroup (cpu.stat, memory.current); for a container node that runs no image, the processes in its network namespace, summed (such as a measurement's reflector); or a VM's or capsule's own VMM or runner process (/proc: CPU time of all its threads, resident memory). source (cgroup, netns or process) says which. A node nothing on the host runs, including an empty namespace, has none.
vxedge_slice_sent_bytes_total, vxedge_slice_sent_packets_total, vxedge_slice_dropped_packets_total, vxedge_slice_overlimits_total, vxedge_slice_backlog_bytes, vxedge_slice_backlog_packetsa sliceThe slice's HTB class on the gateway uplink. The class belongs to the gateway, so every vehicle whose links use the slice reports the same queue.
vxedge_process_cpu_seconds_total, vxedge_process_memory_byteshostThe daemon's own process (process="vxedged"): the observer's cost.
vxprobe_sent_total, vxprobe_received_total, vxprobe_lost_total, vxprobe_rtt_seconds (quantile), vxprobe_rtt_seconds_max (vxagents 0.2.1), vxprobe_rtt_seconds_mean, vxprobe_rtt_seconds_stddev, vxprobe_rtt_distribution_seconds_bucket (le), _sum, _counta measurementA running measurement's sender, read on 127.0.0.1 inside the sender's own network namespace. The distribution's buckets are cumulative from the start of the run (10 µs to 10 s, 1, 2 and 5 per decade), so the difference between two samples is the latency distribution of the round trips between them.

13: Reproducibility, CI/CD, artifact publication (registries)

  • Workspace identity, one rule. A run's provenance is a SHA-256 over every file the experiment is made of: the relative path, a NUL, the bytes, a NUL, in sorted path order, recursing into subdirectories. The current rule, vxws/2, starts the preimage with vxws/2 and a NUL, and excludes:

    • results/ at the workspace root;
    • .git, file or directory, at any depth;
    • editor and desktop droppings: *.swp, *.swo, *~, .#*, #*#, .DS_Store;
    • whatever an optional .vxpignore at the workspace root names, in .gitignore syntax.

    Each part of that is load-bearing. The path is hashed with the bytes, so renaming a file is a change. Order is sorted rather than as-read, so the answer does not depend on the filesystem. results/ is excluded because outputs are not inputs, including them would change a run's identity the moment it produced one. .git and editor files are excluded because a workspace that is its own repository, or that an editor has touched, is still the same experiment. results/ and .git are excluded before .vxpignore is read, so no ! line can make them inputs, and a directory .vxpignore excludes is not entered, so nothing under it can be re-included. .vxpignore itself is hashed: it decides what the other inputs are. The matcher is built from the workspace alone, never from a global gitignore or the environment, because an identity that depended on the machine computing it would not identify anything. The recursion is what distinguishes the identity from the document set: a sandbox's parts/, assets/, scripts/ and tools/ are what ran even though they are not workspace documents, and a local part that changes is a different experiment.

    It answers one question, did every repetition of this campaign run from the same input?, and it is one rule because it is recorded in places that must agree: the daemon's run record and audit records, Run.workspace_sha256, and the results archive's workspace_sha256. vxedge-core and vxtelemetry implement it independently (the latter deliberately does not depend on the former) and pin the same test vectors over the same fixtures. Two implementations of one rule stay honest by agreeing on an answer, not by sharing code; if the rule is revised, both move together.

    Every recorded identity names its algorithm, beside the value: identity_algorithm in the daemon's run record, and workspace_identity_algorithm in audit records, in Run.workspace_identity_algorithm and in the archive's metadata.json. The previous rule is vxws/1: the same walk with only results/ excluded and no prefix. A record or archive that names no algorithm was written under vxws/1, and vxws/1 stays computable, so archives already published keep a verifiable identity and a daemon upgraded under a running vehicle verifies the old record under the old rule. Identities computed under different algorithms are never compared for equality; the prefix makes them different even for a workspace with nothing to exclude.

  • Package digest, beside the identity (vxp/1 packages, §6.0.7; recorded since vxedge 0.7.0 and vxtelemetry 0.4.0). A run of a vxp/1 package records the SHA-256 of its packed bytes as well as its workspace identity, in the same places: package_id, package_version, package_digest and package_locked in the daemon's run record and audit records; digest and locked beside the id and version the archive's metadata.json already records under package; and a PackageRef (id, version, digest) on Run, with Run.package_locked beside it. locked says whether the daemon checked the lock at up, so it is false only for up --unlocked; vxtelemetry records what the daemon tells it and omits the key when told nothing, never deriving it. The two answer different questions. The workspace identity asks whether repetitions ran from the same input, and is what a running vehicle is checked against. The package digest names what was shared, and is what a reproducibility claim cites and what anyone can check with sha256sum. Results computed under different identity algorithms are compared by package digest, never by identity equality.

  • Kernel, beside the identity (every run; recorded since vxedge 0.7.0 and vxtelemetry 0.4.0). The kernel a run ran on is part of what ran, and kernel.preempt_rt: preferred (§6.0) makes it a variable: the same package runs on a PREEMPT_RT kernel and on a stock one. Every run records the kernel release (/proc/sys/kernel/osrelease) and whether it is PREEMPT_RT (/sys/kernel/realtime, else the version string): kernel_release and kernel_preempt_rt in the daemon's run record and audit records, a Kernel (release, preempt_rt) on Run, and kernel (release, preempt_rt) in the archive's metadata.json, which vxtelemetry reads on the host it collects on, the run's host. Results from the two kinds of kernel are never pooled without saying so.

  • Tool binaries, beside the identity (every collect). The tools a run spawns are part of what ran, and their build changes the result: a debug vxprobe hides an effect a release one shows. At every TelemetryService.Collect the daemon writes tools.json to the ingest folder, and vxtelemetry records it as tools in the archive's metadata.json: vxedged itself, then every tool flag (--vxprobe-bin, --vxtraffic-bin, --vxota-bin, --vxota-probe-bin, --vxtelemetry-bin), whether or not the run used it. Each entry has name, the path that runs (resolved on PATH as the daemon spawns it, symlinks resolved), the version its --version reports, the sha256 of the file, and profile: debug or release when the tool says so (vxedged knows its own build; another tool's --version line may end in (debug) or (release)), else unknown, never guessed from the path. A tool that cannot be found, read or run is still listed, with an error. Each file is read once, and again only when it changes on disk.

  • Reproducibility:

    • All manifests under vxperiments are versioned and authoritative.
    • Images and RTOS builds tagged with SHA256 digest.
    • CLI ensures idempotent up|down operations (libvirt domain lifecycle; declarative gateway provisioning).
    • Because the gateway is software, its full provisioning is unit/integration-testable in CI against network namespaces, no physical router in the loop.
  • CI/CD:

    • GitHub Actions pipelines for building images, testing CLI, and publishing manifests.
    • Artifacts automatically uploaded to private registry or S3 bucket.
    • Experimental runs can be triggered and reproduced on demand.
  • Artifact publication:

    • Results are archived under the experiment's results.artifact_dir, or the --out path given to telemetry collect.
    • Metadata includes the experiment ID, the workspace identity (above), the package id and version (and, for a vxp/1 package, its digest and whether it ran locked), the vxtelemetry version, the tool binaries the daemon runs (above), the ingest statistics, and, when the campaign opts in, the content-addressed digests of the container images it ran against (host-process for a local host-process part).
    • The archive carries every file the workspace identity covers under package/: the documents, parts/, assets/, scripts/ and tools/, and nothing the identity excludes. It is enough to re-run from, and it verifies itself: re-hashing package/ under the recorded workspace_identity_algorithm reproduces workspace_sha256 (vxtelemetry verify <archive>). Every entry counts, so a file added to an archive is a mismatch.
    • verify reports the identity as checked, mismatch or not checkable with the reason, and never assumes an algorithm. The index check (every member against index.json) is the integrity result. An archive that records no algorithm was written before identity algorithms were recorded, when archives carried only the documents; one that records only manifest_sha256 was written before workspace identities. Neither can be re-hashed to its identity. Exit codes: 0 every check passed; 1 the index, the identity or the package digest does not match; 3 nothing failed but the identity is not checkable (from vxtelemetry 0.7.1).
    • Registry uploads optional; ensures compliance with reproducible research principles.

14: Safety, security, licensing, and industrialization notes

  • Safety:

    • Non-safety-critical lab environment; no real vehicle control signals.
    • Experiments simulate zonal ECU traffic in virtual/isolated networks.
    • The platform is production-representative, not safety-certified; the RTOS-as-guest inversion (§9) and shared-host gateway are documented fidelity caveats.
  • Security:

    • WireGuard for encrypted telemetry and OTA transport.
    • Images validated with SHA256 digests.
    • No root exposure in containerized services.
    • nftables firewall per VLAN/slice on vxgateway.
  • Licensing:

    • Open-source Rust CLI and agents (MIT/Apache-2.0).
    • Zephyr/FreeRTOS under their respective licenses.
    • Autoware/ROS2 under Apache-2.0; Alpamayo models/AlpaSim under NVIDIA's open-model licenses; SONiC, OVS, FRR, Open5GS, UERANSIM, Eclipse SDV components under their upstream OSS licenses.
  • Industrialization notes:

    • All manifests are modular and reused across experiments.
    • CI validates images and manifests.
    • Results publish with the manifests and image digests that produced them.

15: Implementation policy & phases

Languages

  • Rust: vxedge-core, vxedged daemon (vxAPI/tonic), vxedge CLI, vxagents, gateway provisioning (rtnetlink/OVSDB, virt crate for libvirt).
  • C++: everything touching ROS 2/DDS/Autoware, DeepStream/TensorRT plugins, and the embedded Qt/QML IVI/cluster loadable (an in-vehicle-HMI baseline alongside AAOS, see §5.1, §9).
  • Python: Sionna, notebooks, analysis pipelines.
  • TypeScript: generated vxAPI SDK (connect-es).
  • Shell: glue only.
  • SysML v2 (track M): authoring-time system models in vxmodels, rendered to YAML manifests by vxmodel. Deliberately not a third runtime interface.
  • Manifests (YAML) and the generated vxAPI (Protobuf) are the only cross-language interfaces.

Containerization policy (hybrid, Podman: decided 2026-07-14)

The measured path stays on the host: kernel data plane (bridge/VLAN/tc/netem/ WireGuard/vcan), KVM/libvirt zone execution, vxedged, and measurement agents. Containers share the kernel, so containerizing these would put container networking inside the measurement and break comparability with frozen campaigns. Everything else runs containerized under Podman (daemonless/rootless; OCI images stay Docker-compatible; matches the automotive ecosystem, Ankaios, AGL, RH In-Vehicle): the 5G stack (Open5GS NFs + UERANSIM + MongoDB as one pod sharing a network namespace, so FiveGPlan's loopback addressing is unchanged in or out of the pod; the vxparts parts gw/5gc/os/open5gs and gw/ran/os/ueransim, pinned by digest in vxedged), service images (vxota/vxtelemetry), the build/dev toolchain, and phase-2 workloads (CARLA/Autoware/ DeepStream, already container-first per §10). Image digests are version pins recorded into results metadata (§13). Host keeps only: distro-standard kernel tooling, QEMU/libvirt, and one modprobe sctp for UERANSIM's NGAP (SCTP is not namespaced). This mirrors the SOAFEE/EWAOL production pattern (containerized workloads over a thin KVM host) and is the portability story for non-Linux dev machines (build/analysis anywhere; measurement always on a Linux kernel).

Phases

Phase states and gates are registered in FACTS.md; ROADMAP.md is the public status.

  1. Phase 1, slicing core, API-first from day one: vxedge-core + vxedged + vxAPI v1 (Gateway/Zone/Compute/Job/Event services) with the CLI as thin client; vxgateway (OVS/tc/WireGuard) + synthetic traffic + vxagents/vxtelemetry → the H1/H3/H4 isolation numbers. Gate passed.
  2. Phase 2, real slices & workloads: Open5GS/UERANSIM S-NSSAI slicing (H2), the OVS data plane, per-link harness impairments (netem), and the SONiC-VS production-NOS twin. Gate passed.
  3. Phase 3, production SDV alignment: the vehicle manifest end to end (vxedge vehicle up) and the Kuksa/VSS signal plane. Gate passed; the phase's content is still in progress.

Cross-cutting track M: SysML v2 model governance (twin-readiness)

Not phase-gated; runs alongside phases 2–3 and gates nothing in phases 1–4. All public claims keep the executable virtual prototype vocabulary until hardware parity earns the term "digital twin"; track M builds the model half of that claim. Details in §6.3.

  • M0, governance & home: this section + §4/§6.3 scoping; vxedge/vxmodels created and seeded (AGENTS.md and quality guides), all done 2026-07-13.
  • M1, retroactive traceability: H1–H4 as requirement definitions with verify links to the frozen exp-001/exp-002b/exp-003 archives (manifest digests). Zero new experiments; demonstrates the requirement → analysis-case → manifest → archive chain on already-published-quality data.
  • M2, structure model + renderer: vx-vehicle-01 E/E architecture as part/connection/interface definitions; vxmodel render (Rust) emits the vehicle manifest, gated by vxedge manifest validate --json; model digest recorded in the generated manifest (§4 single-source rule).
  • M3, analysis cases + variants (the GenAI generation target): experiments as analysis cases; arms (packaging choice, vlan vs s-nssai) as variant points enumerated mechanically; a sysml-authoring skill so LLM tooling composes typed model elements; generated experiments pass the §6.3 double gate before touching the testbed. Aligns with phase 2 (the S-NSSAI driver gives variants something real to enumerate).
  • M4, scenarios + fidelity ledger: open.

16: Appendix: example manifests, gateway snippets, run sequence

Example experiment document

main.yaml from the exp-001 workspace (§6.0): the vehicle and the software are referenced by id, and live in their own documents in the same folder.

kind: experiment
id: exp-001
vehicles: [vx-h1-vehicle]
baseline: bl-exp-001

network:
  defaults:
    bandwidth: 500000000          # 500 Mbit/s root rate at the shared uplink
  slices:
    - id: adas
      mode: vlan
      vlan: 101
      qos: { min_rate_mbps: 100, max_rate_mbps: 200, priority: 1 }
    - id: infotainment
      mode: vlan
      vlan: 103
      qos: { min_rate_mbps: 0, max_rate_mbps: 400, priority: 5 }

traffic_profiles:
  infotainment-load:
    source: node-infot-load-01    # component id
    target: internet              # uplink-side sink
    bandwidth_mbps: 400
    payload_bytes: 1200

method: { duration_s: 60, repetitions: 5, warmup_s: 10 }

telemetry:
  prometheus:
    scrape_targets: ["10.101.0.2:9801"]

results:
  artifact_dir: results/exp-001
  upload: false

vxgateway provisioning (rendered by the CLI; shown as equivalent shell for illustration)

# OVS trunk + per-slice VLANs (one access port per zone vNIC, tagged)
ovs-vsctl add-br vxbr0
ovs-vsctl add-port vxbr0 vz-front-left  tag=101   # adas slice
ovs-vsctl add-port vxbr0 vz-front-right tag=102
ovs-vsctl add-port vxbr0 vz-rear-left   tag=103   # infotainment slice
ovs-vsctl add-port vxbr0 vz-central-hpc tag=105

# Per-slice queue tree (HTB): guaranteed min-rate for ADAS, capped infotainment
tc qdisc add dev vxup0 root handle 1: htb default 50
tc class add dev vxup0 parent 1:  classid 1:1  htb rate 1gbit
tc class add dev vxup0 parent 1:1 classid 1:10 htb rate 100mbit ceil 200mbit prio 1  # adas
tc class add dev vxup0 parent 1:1 classid 1:50 htb rate 1mbit   ceil 500mbit prio 5  # infotain

Run sequence (CLI)

  1. vxedged serve # or let the CLI auto-spawn a local daemon
  2. vxedge up # vxgateway: bridges, VLANs, queue trees
  3. vxedge zone up --vxid vxzone-front-left
  4. vxedge zone up --vxid vxzone-front-right
  5. vxedge compute up --vxid vxzone-central-hpc-01
  6. vxedge ota up --experiment <workspace>
  7. vxedge telemetry up --experiment <workspace>
  8. vxedge experiment up from the exp-001 workspace
  9. Collect results: vxedge telemetry collect --manifest <workspace> --out results/exp-001.zip
  10. Tear down: vxedge experiment down then services, compute, zones, gateway

Or, end to end with a vehicle manifest: vxedge vehicle up --manifest vxperiments/vehicles/vx-vehicle-01.yaml → vxedge experiment up from the exp-001 workspace → collect → experiment down → vehicle down.


Testbed setup

Target: the full vxedge virtual vehicle, control plane, vxgateway, virtual ECUs, AD workloads, running flawlessly on a single machine. Requirements are tiered by phase so you only install what the work in front of you needs. vxedge doctor --tier N (delivered 2026-07-13) verifies tiers 0–3 automatically with actionable fix hints; --json for CI.

Tier 0: control-plane development (works today)

RequirementVersion / valueCheck
OSUbuntu 24.04 LTS or newer (any modern systemd Linux works)lsb_release -a
Kernel≥ 6.8 (each results summary records the kernel it ran on)uname -r
CPU / RAM / disk4 cores, 8 GB, 20 GB free—
Rust1.99.1 (pinned by rust-toolchain.toml; rustup auto-installs)rustc --version
protoc≥ 3.21 (36.x current upstream, as of 2026-10)protoc --version
buf (optional)≥ 1.71buf --version
iproute2≥ 6.1 (ip, bridge, tc)ip -V

Tier 1: H1 experiments: gateway + probes (phase 1)

Everything in Tier 0, plus:

RequirementNotes
CAP_NET_ADMINTwo mechanisms now, not one, corrected 2026-08-05 after a live exp-010 --repro run failed against the 2026-07-17 guidance below. The 2026-08-04 rtnetlink port (docs/ROADMAP.md #16) moved bridge/veth/VLAN/address/route creation, WireGuard device creation, and the fiveg host-attachment path off the ip/bridge shell-out and into vxedged's own in-process syscalls, for exactly that portion, sudo setcap cap_net_admin,cap_sys_admin+ep <path-to-vxedged> now does work (cap_sys_admin is for setns(2) into a named network namespace) (no child process involved, so the fork+exec propagation problem below doesn't apply), and needs re-running after every rebuild since a fresh binary carries no capability. tc, nft, wg (key/peer config), and ovs-vsctl are still shell-outs, unchanged, and still need the NOPASSWD-sudo config below (e.g. <user> ALL=(root) NOPASSWD: /usr/sbin/ip, /usr/sbin/bridge, /usr/sbin/tc, /usr/sbin/nft, /usr/bin/wg, /usr/bin/ovs-vsctl), a cached interactive sudo credential (sudo -v, kept alive) works just as well as NOPASSWD for these, and is what every current campaign runner actually uses. Do not run vxedged itself as root either way, phase 2's fiveg driver needs podman to keep running as the deploying user's own identity (see Tier 2). Original 2026-07-17 finding, still true for the shell-out half: capabilities don't propagate across fork+exec to separate child processes, which is why setcap alone was insufficient before the rtnetlink port and still doesn't cover tc/nft/wg/ovs-vsctl today
iproute2 + nftablespresent on most Linux distributions
CPU isolation (recommended)pin gateway + probe cores: isolcpus/cpuset, record in results metadata
Kernel flavour caveatgeneric (non-PREEMPT_RT) is fine for first numbers; must be recorded as a determinism caveat (§12). PREEMPT_RT (Ubuntu Pro real-time kernel) is the upgrade path

No OVS and no WireGuard needed for H1, the gateway uses the kernel bridge.

Tier 2: real workloads: zones, 5G, CARLA (phase 2)

Everything above, plus:

RequirementVersion / valueNotes
CPU / RAM / disk12+ cores, 64 GB, 250 GB free (NVMe)CARLA + Autoware + zones concurrently
KVM + QEMUqemu-system-x86 ≥ 8.xkvm-ok; user in kvm/libvirt groups. qemu-microvm zone/vehicle nodes need no sudo entry, confirmed live 2026-08-06: vxedged launches qemu-system-x86_64 unescalated (kvm-group access to /dev/kvm plus TUNSETOWNER on the tap it attaches to, set at tap-creation time, is everything it needs). Do not add a NOPASSWD sudoers entry for qemu-system-x86_64, it buys nothing this backend needs and grants root code execution the daemon doesn't require
Cloud Hypervisorv54.0Only for backend: cloud-hypervisor. Static release binary on PATH as cloud-hypervisor; /dev/kvm access through the kvm group; no sudo entry.
vxcapsulesame version as vxedgedOnly for backend: wasm-capsule. Ships in the release archive; keep it beside vxedged. Runs unprivileged. Creating a node's namespace uses the ip sudo entry.
libvirt≥ 10.xvirsh version; daemon enabled
Open vSwitch (optional variant)apt install openvswitch-switchalternative gateway data plane; do not hand-create bridges, vxedge owns its bridge lifecycle
WireGuard toolsapt install wireguard-toolstelemetry/OTA transport links
taprio (TSN gate schedule, optional)the sch_taprio kernel module: in stock distribution kernels, loaded on first use; sudo modprobe sch_taprio loads it nowonly experiments with network.shaping (vxedge 0.28.0 or later) need it. Plan and up refuse such an experiment on a kernel without it, and vxedge doctor --tier 2 reports it. Running a gate schedule also loads cls_flower and act_skbedit
NVIDIA GPURTX-class, ≥ 12 GB VRAM; driver ≥ 550; CUDA per DeepStream/TensorRT matrixCARLA server + inference share it
Container runtimePodman (preferred; Docker-compatible OCI) + NVIDIA Container Toolkitdigest-pinned images only; hybrid policy: ARCHITECTURE §15
Podman API socket + passtrootless user socket: systemctl --user enable --now podman.socket, then loginctl enable-linger $USER; apt install passtvxedged drives the 5G pods over this socket ($XDG_RUNTIME_DIR/podman/podman.sock), not the podman CLI, so enable it as the user who runs vxedged, never as root: another identity has another image store, and vxedged refuses root's socket outright. Linger keeps the socket alive after your login session ends (an SSH logout otherwise stops it). Check with curl -s --unix-socket $XDG_RUNTIME_DIR/podman/podman.sock http://d/version. Each pod's network namespace is a pasta one, as podman pod create gives it, so passt must be installed. vxedged starts without the socket and connects on first 5G use. Upgrading from a vxedged that used the podman CLI: remove its pods once, podman pod rm -f vx5g vx5g-ran $(podman pod ps -q --filter name=vx5g-ran-ue-); up and down refuse to run over them and print that command
Open5GS + UERANSIMcontainerized: published images pinned by digest, pulled on first 5G use: ghcr.io/vxedge/parts/gw/5gc/os/open5gs:0.1.0 (Open5GS 2.8.0), ghcr.io/vxedge/parts/gw/ran/os/ueransim:0.1.0 (UERANSIM v3.2.7 with the vxprobe release) and mongo:7 (MongoDB 7.0.45). No local image buildS-NSSAI slicing (H2). Host needs only modprobe sctp. Host PPA install is legacy, disable its services (systemctl disable --now 'open5gs-*'), purge once the pod path is proven. Extend the Tier 1 sudoers entry to also cover nsenter (fiveg's CN/RAN transit link + bridge attachment join a pod's netns by PID), same NOPASSWD-for-the-deploying-user model, no wider than that

Tier 3: full vehicle + HMI (phase 3)

Adds: Kuksa databroker container, CARLA assets (~20 GB), AAOS emulator images, Qt ≥ 6.8 (QML HMI), Node 20+ (web dashboard build). RAM comfortably 96 GB for the six-zone vehicle manifest with AAOS and RTOS guests concurrently.

Tier M: modeling workstation (optional, any phase; track M)

Authoring-time only, none of this runs during a measured experiment, so it has zero effect on results and no host-resource requirements beyond an editor.

RequirementVersion / valueNotes
SysIDE (parse/type gate)0.9.1 (syside-languageserver.zip, sha256 1c3da428…)headless via vxmodels/scripts/validate-sysml.mjs (LSP driver; SysIDE has no one-shot CLI); VS Code extension of the same version for authoring
SysML v2 standard librarySysML-v2-Release 2026-09.1 sysml.library (tarball sha256 00efd27e…)required for stdlib imports (ScalarValues::* …) to resolve
Node≥ 20runs the language server + driver
OMG pilot implementation (optional)2026-05 (Jupyter kernel)semantic reference / visualization; not in the CI gate
vxmodel rendererRust (Tier 0 toolchain)builds with the same toolchain once the crate lands (M2)
Validation loop—model gate above, then vxmodel render output must pass vxedge manifest validate --json (Tier 0 binaries)

Rules

  • Versions above are the verified set; bumps go through this file in the same PR.
  • One machine is the design target through phase 3; multi-host (vxedged --controller, VXLAN inter-host) is optional scale-out, not a requirement.
  • Anything the testbed needs that this file doesn't list is a bug in this file.

Versioning and changelogs

Each repo under github.com/vxedge/ is an independent git repo with its own version history (see the workspace contributor guide): there is no single "vxedge version." This document is the convention every repo follows so an OEM engineer can clone one, read one file, and know exactly what they're getting.

Rules

  1. SemVer per repo. Tags are vMAJOR.MINOR.PATCH (e.g. v0.1.0), following Semantic Versioning 2.0.0. Pre-1.0 (all repos today): breaking changes bump MINOR, everything else bumps PATCH: normal SemVer-0.x practice.
  2. CHANGELOG.md per repo, Keep a Changelog format: an ## [Unreleased] section accumulates entries as work lands; cutting a tag moves that section under a dated version heading and opens a fresh ## [Unreleased]. Categories: Added, Changed, Fixed, Deprecated, Removed, Security. Every CHANGELOG.md gets a repo-local AGENTS.md pointer alongside the other docs it already lists.
  3. No tag before the entry exists. A version is cut by moving [Unreleased] content under a new heading in the same commit as the tag; never tag first and backfill later.
  4. v0.1.0 cut 2026-07-13: the phase-1 gate closed that day (H1+H3+H4 numbers in hand). Tagged: docs, vxedge, vxagents, vxtelemetry, vxota, vxperiments and the zone-image repo (since archived): the seven repos that actually delivered phase-1 content. Three other repos (since archived) were empty, and a tag on nothing is meaningless. Tagging and visibility are decoupled: a tag is cut the moment a milestone is real, independent of whether the repository is public yet.
  5. Compatibility across repos. The only thing that couples repos is vxAPI (vxedge/proto/vxedge/v1/*.proto). Its wire changes are additive and stay in vxedge.v1 (ARCHITECTURE.md §5.2). A behaviour change, such as a new refusal, is called out in the vxedge changelog and in every dependent repo's next CHANGELOG.md entry (vxagents, vxtelemetry, vxota all speak vxAPI-adjacent conventions even before they use the client SDK directly). Manifest schema changes (ARCHITECTURE.md §6) are the second coupling point, same rule.
  6. Reproducibility tags stay separate from release tags. Experiment results already pin an exact state via metadata.json: the workspace identity, the package digest, and tools, every tool binary the daemon runs with its version, sha256 and build profile (ARCHITECTURE.md §13). That's a finer-grained provenance mechanism than a repo release tag and is not replaced by this policy: a campaign can run between tags, or on a tool built from a branch, and the binary's digest still says which.

What OEM-adoption needs beyond this doc

Cutting tags and writing changelogs by hand doesn't scale past the first release. Part of the automation exists: a tag-triggered release workflow in vxedge, vxagents, vxota, vxtelemetry, vxmodels and vxmcp publishes each version's changelog section as its release notes, and vxedge's also builds the CLI and daemon for x86-64 and ARM64 Linux, writes SHA256SUMS and attaches build provenance. There is still no git-cliff/Conventional-Commits enforcement and no cross-repo compatibility-matrix generation. That work is tracked as its own devops board section (see docs/ROADMAP.md "Release engineering") rather than implemented ad hoc here.

Release checklist

For each release of any repository:

  1. Changelog: a curated section for the version, dated the tag day, with a short summary first.
  2. Version: the version in Cargo.toml or its equivalent, and in CITATION.cff with its date-released.
  3. Tag: an annotated vX.Y.Z on the release commit, and the release workflow passing.
  4. Facts: the repository's row in the Releases table in FACTS.md, in the same week. A docs release also updates project.version and project.released, which scripts/check-release.py checks against CITATION.cff.
  5. Roadmap and site: ROADMAP.md if open work changed, then a website update review.

Acronyms and glossary

Every acronym used across ARCHITECTURE.md and the other program docs, explained in plain language and grouped by field. Not auto-generated, update it by hand alongside ARCHITECTURE.md when a new acronym enters the vocabulary (same discipline as AGENTS.md's other cross-referenced docs).

Two acronyms are ambiguous in this project's own docs, depending on context, flagged inline where they occur: UDS (Unix Domain Socket vs. Unified Diagnostic Services) and OSI (ASAM's simulator interface vs. the classic 7-layer networking model, vxedge only ever means the former).


5G / RAN / mobile core

The vxedge core-network/RAN stack (Open5GS + UERANSIM), relevant to H2 and the open5gs-ueransim-patterns skill.

  • 5G: Fifth-generation cellular network standard; the slicing technology H2 tests.
  • RAN: Radio Access Network. The base-station side of the network (here: UERANSIM's simulated gNB).
  • CN: Core Network. The non-radio side (AMF, SMF, UPF, etc.), here: Open5GS.
  • gNB: "next-generation NodeB," the 5G base station.
  • UE: User Equipment. The device connecting to the network, here, a simulated modem (UERANSIM) inside a zone/pod, not a phone.
  • UERANSIM: Open-source UE + RAN simulator; vxedge's RAN implementation.
  • PDU (session): Packet Data Unit session: the data connection a UE establishes to reach a network (roughly, "the tunnel that carries its traffic").
  • S-NSSAI: Single Network Slice Selection Assistance Information: the identifier for one network slice, made of an SST + optional SD.
  • SST: Slice/Service Type: the broad category of a slice (e.g. "URLLC-like").
  • SD: Slice Differentiator: a finer-grained tag distinguishing slices that share an SST.
  • URSP: UE Route Selection Policy: rules that tell a UE which slice to send a given traffic class over.
  • URLLC: Ultra-Reliable Low-Latency Communication: the 5G traffic class the ADAS slice is modeled on.
  • DNN: Data Network Name: the network a PDU session connects to (successor to the older term APN, Access Point Name).
  • AMF: Access and Mobility Management Function: handles UE registration/mobility.
  • SMF: Session Management Function: manages PDU sessions.
  • UPF: User Plane Function: actually forwards user traffic (the data-plane NF).
  • NRF: Network Repository Function: lets core NFs discover each other.
  • AUSF: Authentication Server Function.
  • UDM / UDR: Unified Data Management / Unified Data Repository: subscriber data functions.
  • PCF: Policy Control Function.
  • BSF: Binding Support Function.
  • NSSF: Network Slice Selection Function: picks the right slice for a UE.
  • NF: Network Function: generic term for any of the boxes above.
  • SBI: Service-Based Interface: the HTTP-based protocol core NFs use to talk to each other.
  • PFCP: Packet Forwarding Control Protocol: the SMF↔UPF control channel.
  • NGAP: NG Application Protocol: the signaling protocol between gNB and AMF.
  • NAS: Non-Access Stratum: UE↔core signaling that rides over, but is logically independent of, the radio link.
  • N2 / N3: 3GPP reference points; N2 is gNB↔AMF (control), N3 is gNB↔UPF (data); vxedge's CN-pod↔RAN-pod transit subnet stands in for both.
  • GTP / GTP-U: GPRS Tunneling Protocol (User plane): how UPF tunnels a UE's actual traffic.
  • SCTP: Stream Control Transmission Protocol: the transport NGAP rides on.
  • SA: Standalone (5G SA = a 5G core end-to-end, not anchored on 4G), the architecture the DT/BMW/Valeo/Ericsson/Qualcomm slicing trial vxedge cites reproduced.
  • V2X: Vehicle-to-Everything: umbrella term for vehicle wireless comms.
  • V2V / V2I: Vehicle-to-Vehicle / Vehicle-to-Infrastructure.
  • RSU: Roadside Unit: a V2I endpoint (phase-3 node type).
  • PC5: The 3GPP sidelink interface used for direct V2X (no core network hop).
  • 5QI: 5G QoS Identifier: the class a 5G core assigns to a traffic flow (delay budget, priority).
  • AMBR: Aggregate Maximum Bit Rate: the rate cap a 5G core enforces on a session or UE.

SDN & Linux networking (vxgateway)

The vxgateway data plane, relevant to network-provisioning-patterns.

  • SDN: Software-Defined Networking: separating the control logic from the packet forwarding, vxgateway's whole premise.
  • OVS: Open vSwitch: a software switch; one of vxgateway's two bridge backends.
  • OVSDB: Open vSwitch Database protocol: how OVS is configured/queried.
  • VLAN: Virtual LAN: tags that separate traffic on one physical/virtual wire, how vxgateway maps slices today (mode: vlan).
  • VXLAN: Virtual Extensible LAN: tunnels VLAN-style segments across hosts.
  • HTB: Hierarchical Token Bucket: the Linux tc queueing discipline vxgateway uses for per-slice bandwidth guarantees.
  • rtnetlink: The Linux kernel's netlink socket family for network configuration; the planned successor to today's iproute2-shell-out backend.
  • FRR: FRRouting: open-source routing daemon suite (provides vxgateway's BGP).
  • BGP: Border Gateway Protocol: the routing protocol FRR speaks for cloud interconnect.
  • TSN: Time-Sensitive Networking: deterministic-latency Ethernet extensions (phase-3 gateway variant).
  • gPTP / PTP: (generalized) Precision Time Protocol: clock sync TSN depends on.
  • NOS: Network Operating System: SONiC (SONiC-VS) is vxedge's "production NOS twin."
  • BASE-T1 (100BASE-T1 / 1000BASE-T1): Automotive Ethernet PHY standards vxgateway's link impairments emulate.
  • DPDK: Data Plane Development Kit; VPP, Vector Packet Processing (FD.io): a kernel-bypass data-plane option for URLLC-focused runs.
  • DOCA: NVIDIA's SDK for offloading OVS/tc-style intent onto a BlueField DPU (phase-4 hardware exit ramp).
  • CAN: Controller Area Network; LIN, Local Interconnect Network: legacy automotive buses, modeled via type: can links (phase 3).
  • SocketCAN / vcan: Linux's native CAN subsystem / its virtual-CAN device.
  • DBC: A CAN database file format defining frame layouts (used by restbus simulation to map CAN ↔ VSS).
  • DSCP: Differentiated Services Code Point: the IP header field that marks a packet's traffic class.
  • QoS: Quality of Service: rate, delay and priority guarantees for a class of traffic.
  • netns: Linux network namespace: an isolated network stack; the container zone backend and the probes use one each.
  • NIC: Network Interface Card.
  • UDP: User Datagram Protocol: the connectionless transport the probes and vxtraffic use.
  • PHY: Physical layer: the transceiver that drives the wire (100/1000BASE-T1 in a vehicle).
  • PCAP: Packet capture: the file format for recorded network traffic.

SDV & automotive E/E architecture

  • SDV: Software-Defined Vehicle: a vehicle whose behavior is primarily defined by software, not fixed wiring, vxedge's whole subject.
  • E/E: Electrical/Electronic (architecture): how a vehicle's electronics are wired and organized (zonal vs. domain-based, etc.).
  • ECU: Electronic Control Unit: an embedded computer controlling one vehicle function, what vxedge's "zones" stand in for.
  • ADAS: Advanced Driver-Assistance Systems: the URLLC-like traffic class H1/H2 test.
  • AD: Autonomous Driving.
  • HMI: Human-Machine Interface. In-vehicle: Android Automotive (AAOS) or an embedded Qt/QML IVI/cluster loadable, two real, alternate infotainment-zone guest baselines (§9). There is no Qt/QML operator dashboard (corrected 2026-08-06); any platform monitoring dashboard is web-based or the CLI (ARCHITECTURE.md §5.1).
  • AUTOSAR: AUTomotive Open System ARchitecture: the standard automotive software architecture vxedge's C++ conventions are described as "adjacent" to.
  • OEM: Original Equipment Manufacturer: the vehicle maker, vxedge's target audience/adopter.
  • VSS: Vehicle Signal Specification: COVESA's standard catalog of vehicle signal names (speed, door state, etc.), used via the Kuksa databroker.
  • COVESA: Connected Vehicle Systems Alliance: the standards body behind VSS/Kuksa.
  • BMS: Battery Management System: one of the comfort/EV zone workloads modeled.
  • HVAC: Heating, Ventilation, and Air Conditioning: another comfort-zone workload.
  • GMSL / FPD-Link: Gigabit Multimedia Serial Link / Flat Panel Display Link: the physical transport real camera/sensor data rides in a vehicle (vxedge substitutes slice traffic through vxgateway instead).
  • UDS (automotive sense), Unified Diagnostic Services: the ISO 14229 diagnostic protocol behind the phase-3 UDS/DoIP probe. Not to be confused with the networking sense below.
  • DoIP: Diagnostics over IP: carries UDS diagnostics over Ethernet/IP.
  • SAE: Society of Automotive Engineers: standards body (e.g. the WCX venue).
  • IVI: In-Vehicle Infotainment.
  • LIN: Local Interconnect Network: a low-cost in-vehicle serial bus, usually behind a zone controller.
  • SOAFEE: Scalable Open Architecture for Embedded Edge: an industry group for cloud-native vehicle software.
  • Kuksa: Eclipse Kuksa: an open-source data broker that serves VSS signals inside a vehicle.
  • QML: Qt Modeling Language: the declarative UI language of an embedded Qt infotainment loadable.

Virtualization & zones

  • VM: Virtual Machine.
  • KVM: Kernel-based Virtual Machine: the Linux hypervisor vxedge builds on.
  • QEMU: Quick EMUlator: the machine emulator KVM uses; also runs standalone as the qemu-microvm zone backend.
  • QMP: QEMU Machine Protocol: how the microVM backend controls QEMU directly.
  • microVM: A minimal-device-model QEMU machine type, for lower overhead than a full VM.
  • VMM: Virtual Machine Monitor: the process that runs one guest on top of KVM.
  • Cloud Hypervisor: A VMM built for minimal guests and controlled over a REST API on a Unix socket: the cloud-hypervisor zone backend.
  • Wasm: WebAssembly: a portable, sandboxed instruction format. The wasm-capsule zone backend runs a sensor or ECU simulable as a control loop as a WebAssembly module.
  • WASI: WebAssembly System Interface: the standard way a WebAssembly module reaches files, clocks and sockets. A capsule is a WASI 0.2 command component.
  • RTOS: Real-Time Operating System (Zephyr, FreeRTOS).
  • AAOS: Android Automotive OS: the infotainment zone guest.
  • MCU: Microcontroller Unit: the class of chip Renode-backed zones emulate at register level.
  • GPIO / I2C / SPI / PWM / ADC: Low-level hardware I/O buses/peripherals (General-Purpose I/O, Inter-Integrated Circuit, Serial Peripheral Interface, Pulse Width Modulation, Analog-to-Digital Converter), the register-level I/O layer QEMU device models / Renode expose to guests.
  • NAND / UBI: Flash storage technology; came up as a reason Rugix (not RAUC) fits vxedge's QEMU/libvirt block-storage bundles (no real NAND to manage).
  • MMIO: Memory-Mapped I/O: the virtio transport of QEMU's microvm machine type (compared with PCI in H3).
  • PCI: Peripheral Component Interconnect: the virtio transport of the q35 machine type (compared with MMIO in H3).

Compute, AI & GPU (vxparts: hpc-class parts)

  • GPU: Graphics Processing Unit.
  • CUDA: NVIDIA's parallel-compute platform/API.
  • TensorRT: NVIDIA's inference-optimization SDK (DeepStream pipelines target it).
  • DCGM: Data Center GPU Manager; NVML, NVIDIA Management Library: how GPU utilization/VRAM/thermal metrics get collected.
  • VRAM: Video RAM (GPU memory), one of the tracked GPU metrics.
  • MIG: Multi-Instance GPU: NVIDIA's hardware GPU-partitioning feature (resources.gpu: mig-slice).
  • ROS2: Robot Operating System 2: the middleware Autoware runs on.
  • DDS: Data Distribution Service: the pub/sub protocol standard under ROS2.
  • rmw: ROS MiddleWare: ROS2's pluggable transport layer (rmw_zenoh vs. rmw_fastrtps).
  • CARLA: Open-source autonomous-driving simulator (proper name, not an acronym); the source of realistic sensor/perception traffic.
  • LLM: Large Language Model: relevant to track M's GenAI-authored-experiment goal.
  • HPC: High-Performance Compute: the central compute node of a zonal vehicle (role: hpc).

API & software architecture (vxAPI)

  • API: Application Programming Interface.
  • gRPC: Google's RPC framework (originally "gRPC Remote Procedure Calls"); the transport vxAPI is built on.
  • RPC: Remote Procedure Call: a function call made across a network boundary.
  • IDL: Interface Definition Language: the Protobuf .proto files describing vxAPI's contract.
  • Protobuf: Protocol Buffers: Google's binary serialization format, the wire format gRPC uses.
  • SDK: Software Development Kit: the generated per-language vxAPI client libraries (Rust/tonic, TypeScript/connect-es).
  • CLI: Command-Line Interface: the vxedge binary, a thin vxAPI client.
  • UDS (networking sense), Unix Domain Socket: vxedge's default local transport between the CLI and vxedged. Not to be confused with the automotive sense above.
  • mTLS: mutual Transport Layer Security: both client and server present certificates, vxedge's remote-transport auth.
  • TLS: Transport Layer Security: the encryption protocol mTLS builds on.
  • OIDC: OpenID Connect: the bearer-token auth scheme for remote vxAPI access.
  • REST: Representational State Transfer: the alternative API style vxAPI deliberately isn't (it's gRPC), though an optional REST façade is possible later.
  • gRPC-Web: A gRPC variant browsers can call directly; how the web dashboard/Electron frontends reach vxAPI.
  • JSON: JavaScript Object Notation: used for --json CLI output and iproute2's machine-readable reads.
  • YAML: the manifest file format (experiment/vehicle manifests).
  • FFI: Foreign Function Interface: cross-language function calling (relevant to any native bindings).
  • OCI: Open Container Initiative: the standard container image format Podman images conform to.
  • GHCR: GitHub Container Registry: where container images get published with digests.
  • MCP: Model Context Protocol: the open standard AI agent tooling uses to call external tools. vxmcp (phase 3) is vxAPI's MCP server, a thin frontend for agents, the same role the CLI plays for a human at a terminal.
  • MRTR: Multi Round-Trip Request: MCP spec 2026-07-28's mechanism for a tool call that needs a follow-up (e.g. a confirmation) before it can complete, without a held-open bidirectional stream, how vxmcp's mutating tools ask their caller to confirm before running, the agent-tooling equivalent of the CLI's own explicit verbs.
  • rmcp: the official Rust SDK for MCP (modelcontextprotocol/rust-sdk); vxmcp's chosen implementation, reached spec-2026-07-28 Tier-1 conformance 2026-07-31.
  • ORAS: OCI Registry As Storage: the client vxparts uses to publish and pull loadables as OCI artifacts.

Standards, modeling & simulation (track M)

  • SysML: Systems Modeling Language: the modeling language vxmodels authors in (v2 specifically, textual, git-diffable).
  • OMG: Object Management Group: the standards body that owns SysML.
  • MBSE: Model-Based Systems Engineering: the discipline SysML/track M applies.
  • INCOSE: International Council on Systems Engineering: an MBSE-adjacent standards community.
  • ASAM: Association for Standardization of Automation and Measurement Systems: the body behind OSI/OpenSCENARIO.
  • OSI (ASAM sense), Open Simulation Interface: the boundary standard between a world simulator (CARLA) and the AD stack (phase 4). vxedge never means the classic networking "7-layer OSI model."
  • OpenSCENARIO: ASAM's standard format for traffic/scenario definitions (phase-4 mapping target for CARLA scenarios).
  • FMI / FMU: Functional Mock-up Interface / Functional Mock-up Unit: the standard for importing plant models (e.g. Simulink-exported) into vxplant.
  • XIL: X-in-the-Loop: umbrella term for SIL (Software-in-the-Loop) and HIL (Hardware-in-the-Loop) testing, vxedge aims to speak the same bench-API semantics as OEM HIL rigs.

OTA & security (vxota)

  • OTA: Over-The-Air (update): vxota's whole subject, and H4's workload.
  • Uptane: An automotive-specific, TUF-derived OTA security framework; vxota follows its metadata shape without depending on its reference implementation.
  • TUF: The Update Framework: the general (non-automotive) update-security spec Uptane derives from.
  • RAUC: Robust Auto-Update Controller: an established atomic-update tool, considered as vxota's phase-3 slot-update fallback.
  • Rugix (Ctrl): A Rust-native atomic-update tool; vxota's preferred phase-3 candidate over RAUC (Rust-policy fit).

Methodology, reproducibility & DevOps

  • CI / CD: Continuous Integration / Continuous Delivery: automated build/test/publish pipelines (GitHub Actions here).
  • PR: Pull Request.
  • RTT: Round-Trip Time: the core latency metric vxprobe measures.
  • IQR: Interquartile Range: the spread measure used to judge whether a rerun's numbers are "reproducible" (within the original's IQR).
  • p50 / p95 / p99: Percentile latency notation (the value below which 50%/95%/99% of samples fall), not an acronym, but ubiquitous enough to define: p99 is the "worst-case-ish" tail latency figure.
  • RSS: Resident Set Size: a process's actual in-memory footprint, one of H3's resource-cost metrics.
  • SHA256 / SHA-256: The cryptographic hash algorithm used to digest-tag every manifest, image, and archive for reproducibility.
  • CSV: Comma-Separated Values: the tabular result-export format.
  • SemVer: Semantic Versioning: the MAJOR.MINOR.PATCH convention every repo follows.
  • LTS: Long-Term Support (e.g. an OS/toolchain release channel).
  • PPA: Personal Package Archive: an Ubuntu third-party package source (the now-removed host Open5GS install came from one).
  • NOPASSWD: A sudoers option letting a specific command run without a password prompt, how vxedged gets CAP_NET_ADMIN-requiring privileges without running as root.
  • DCO: Developer Certificate of Origin: the Signed-off-by line (git commit -s) every contribution carries; there is no CLA.
  • CLA: Contributor License Agreement: not used here.
  • SLA: Service Level Agreement: the latency and loss target a slice must keep (H4 checks the ADAS one).
  • DOI: Digital Object Identifier: the permanent citation handle for an archived bundle.
  • PREEMPT_RT: The Linux real-time kernel configuration; the testbed host class does not use it, which is a stated caveat.
  • SO_TIMESTAMPING: Linux socket option for kernel (and hardware) packet timestamps; probes use userspace timestamps today.

Changelog

All notable changes to this repo are documented here. Format follows Keep a Changelog; versioning follows Semantic Versioning, see VERSIONING.md.

[Unreleased]

Added

  • ARCHITECTURE.md §9 specifies a VM bundle's root disk, implemented in vxedge 0.35.0. A bundle may carry rootfs.img, a raw image of its guest's whole system, which backend: qemu-microvm boots as /dev/vda from a snapshot, with the guest's address in the kernel's own ip=. libvirt and cloud-hypervisor refuse such a bundle.
  • ARCHITECTURE.md §5 specifies the fleet view, which is not implemented yet: RunService.Status returns every run's status in one call, with a typed per-run error for a run that is not up or cannot be read, and RunService.Down takes several runs, or every run, down as one job with a child job per run. A slot a running campaign holds refuses the whole call. The CLI adds vxedge runs status and vxedge runs down.
  • ARCHITECTURE.md §6.0.5 specifies a run's uplink-side namespace, vxh<s>, which ships in vxedge 0.32.0.
    • It holds the uplink peer, its VLAN subinterfaces, the far sides on them and their processes, so two runs may use the same far-side subnets. A far side leaves the host-wide list.
    • A traffic profile whose end is a VM's tap is refused.
    • A container device whose zone is down keeps its traffic address on the host. That address is checked when its traffic starts.
    • §6.0.3's to: internet reflector and from: host sender run in that namespace.
    • experiment down and vehicle down stop every running measurement and traffic profile before the nodes.
  • ARCHITECTURE.md §6.0.3 and §7 specify the TSN variant of the gateway, which is not implemented yet:
    • network.shaping (kind: gate-schedule) puts an IEEE 802.1Qbv gate schedule on the uplink in place of the HTB tree, with one class per slice, classified by VLAN;
    • network.time_sync (kind: gptp) makes the gateway the 802.1AS grandmaster for the listed container devices, whose offset and peer delay vxedged's exporter serves as samples. The §7 TSN bullet points to them and states that under shaping the uplink has no line rate. It no longer names cbs: gate-schedule, rendered by tc taprio, is the only shaping kind specified. network.shaping also states the choices made while building it: s-nssai slices are not classes and are refused in open, a slice named default is refused, duration_us runs from 1 to 4294967, a matchall filter sends every unclassified frame to default, GatewayService.Up makes the host check too, and a running gateway is not switched between HTB and a gate schedule without down.
  • ARCHITECTURE.md §5.2 and §6.0.5 specify several runs on one host (Track F), which is not implemented yet:
    • every run holds an instance slot (0–9, a–z), and every host object it creates carries it: vxbr<s>, vz<s>-<stem>, vp<s>-<stem>, vi<s>-<stem>, vx<s>-<node>, vx5g<s>. Stems keep their 11 characters;
    • verbs that start a run take an optional instance; without it a new run takes the lowest free slot, a campaign keeps one slot for every trial, and Run.instance reports it;
    • a verb that names no run acts on its workspace's run, or on the only run, and is refused with the new ERROR_REASON_RUN_AMBIGUOUS when more than one matches. VehicleDownRequest and VehicleStatusRequest gain a RunRef;
    • down, daemon restart and the foreign-workload check work per slot;
    • an s-nssai slice, overlapping host-side addresses, a WireGuard listen port, a VXLAN VNI and port pair, and an adopted host interface are held by one run per host. A second run declaring one, or asking for a held slot, is refused with the new ERROR_REASON_HELD_BY_RUN. network.time_sync states how it was built: the grandmaster runs as root from the linuxptp image through sudo -n nsenter into a rootless container, followers start in a time-sync stage, every ptp4l path lives under the run's runtime directory, the peer delay is read from PORT_DATA_SET.peerMeanPathDelay, and the host check and refusals are listed.

Changed

  • vxedge is described as a virtual vehicle with environmental parity, for packaged, measured SDV experiments; 5G slicing is one family of its measured cases. FACTS.md registers the wording as project.summary and project.description. README.md, GETTING-STARTED.md, USER-GUIDE.md, TESTBED-SETUP.md, ARCHITECTURE.md §1 and the CITATION.cff title, abstract and keywords use it. No identifier, schema, result or DOI changes.
  • scripts/check-wording.sh refuses the retired descriptions in *.md, *.cff and *.drawio, and scripts/test-check-wording.sh (in CI) checks that a planted one fails.
  • ARCHITECTURE.md §5.2 and §6.0.5 describe several runs on one host as built on vxedge main (Track F): every verb's RunRef, the CLI's --run and vxedge runs, stages that name their slot, one lifecycle operation at a time across the host, the run directory's contents, guests' vx.slot=, a campaign's hold on its slot and its queued trials, the exporter's per-run pages, CollectRequest.instance, and the OTA host port as a host-wide resource.
  • TESTBED-SETUP.md Tier 2 lists the sch_taprio kernel module that network.shaping needs.
  • ARCHITECTURE.md §9 lists the guest bundle's reflector declaration, org.vxedge.reflector: udp/<port>, beside its other meta.json keys, and names the six probe guests that declare udp/9800. §6.0.3 still says how a measurement uses it.
  • FACTS.md Releases: vxedge 0.26.0, vxtelemetry 0.8.0 and vxmcp 0.5.0 (one archive format and one descriptor, X-30). USER-GUIDE.md says a legacy <id>.vxp descriptor is refused, and GETTING-STARTED.md §4 says to run the repro campaign from outside the home directory.
  • Reproduce instructions follow vxperiments' package-only layout (X9.5): GETTING-STARTED.md §4 and USER-GUIDE.md §b run exp-001 from its package with vxedge campaign plan|start --profile quick|repro, in place of the removed scripts/run.sh and notebooks/analyze_exp001.py, and the runner's staleness-gate troubleshooting entry is gone. RESULTS.md says how to reproduce a result (the packages and vxedge campaign) and re-judge the published archives (scripts/verdict-parity.sh --fetch, with exp-010's H2 checked by notebooks/analyze_exp010.py), and links the retired analysis notebooks at the vxperiments v0.2.1 tag. No FACTS key or value changes.
  • ARCHITECTURE.md §6.0, §6.0.3, §6.0.7, §6.0.8, §11 and §13: one archive format and one descriptor (decision X-30). vxarchive/2 is the only archive vxtelemetry writes and the only one vxedge and vxtelemetry read; a vxarchive/1 archive is refused with the current format named. A legacy <name>.vxp descriptor is refused with the steps to migrate, and the archive's workspace copy is package/.
  • FACTS.md archives.doi: the latest archive version is 2026-11-v2 (10.5281/zenodo.24192950), the frozen campaigns in vxarchive/2 plus the exp-003 release rerun of 2026-11-13.
  • ARCHITECTURE.md §6.0.3: a check tool step's samples read its output lines as series on checks/<step>, which metrics and criteria aggregate like a probe's, and what Plan refuses in them (X9.15).
  • FACTS.md zone backends: backend.qemu_mcu, live, validated on the FreeRTOS and Zephyr probe-mps2 firmware (vxparts zone/{freertos,zephyr}/firmware/probe-mps2 0.1.0, public; vx-vehicle-04 gate 10/10 on vxedge 0.17.0).
  • ARCHITECTURE.md §9: backend: qemu-mcu, microcontroller firmware on QEMU's mps2-an385: the firmware bundle, the semihosting command line, the NIC's MAC, and TCG-only results. §6.0 lists the new backend value.
  • ARCHITECTURE.md §6.0.3: a parameter can bind a storyboard parameter (scenario.parameters.<name>), and pkg vendor carries a scenario's road and storyboard.
  • ARCHITECTURE.md §6.0.3: the descriptor's requires.simulator, how a host has a simulator (HostService.Capabilities), and ERROR_REASON_SIMULATOR_UNAVAILABLE.
  • ARCHITECTURE.md §6.0 and §6.0.3: kind: road and kind: scenario point at OpenDRIVE and OpenSCENARIO files, and an experiment names its scenario with scenario: (world: still reads as it). Covers what Plan checks, ERROR_REASON_SCENARIO_INVALID, and the typed scenario in PackageService.Inspect.
  • ARCHITECTURE.md §6.0.8: an offline layout also carries the infra image every container node runs, with its Linux platforms only.
  • ARCHITECTURE.md §6.0.3: the example writes exp-001's loss bound as a member of all, as its notebook judges it, and the guards text names where guards are used instead.
  • ARCHITECTURE.md §6.0.3: a vxarchive/1 archive's failed scrapes are noted on a value, not counted as a gap. USER-GUIDE.md: vxedge results verdict and compare, offline.
  • ARCHITECTURE.md §5 and §6.0.3, USER-GUIDE.md: ResultService.Compare. It sets a campaign against a reference, per metric at each point against the reference's median and IQR, and per criterion. Adds vxedge campaign compare.
  • ARCHITECTURE.md §5 and §6.0.3, USER-GUIDE.md: ResultService.Verdict. It judges an experiment's criteria over a campaign's archives, typed per criterion. The verdict recorded at a campaign's end goes into campaign.json, CampaignStatus.verdict and verdict.json. Adds vxedge campaign verdict.
  • ARCHITECTURE.md §6.0.3: how a criterion reads results. A metric names its series and labels, or the ratio of two metrics, and gives each trial one value: the series' last sample inside the trial's measure phase (decision X-24). Aggregates run across the selected trials and add median, iqr, sum and stddev. Operands combine as ratio, diff, max and min and take an offset. A tolerance can be an operand, outside joins the ops, and guards make a criterion inconclusive unless they pass (decision X-25).
  • ARCHITECTURE.md §5 and §6.0.3: ResultService (List, Get, Fetch): results by digest, described from their own metadata, and ERROR_REASON_RESULT_UNKNOWN.
  • ARCHITECTURE.md §9: what realtime.pinned_cpus does on each backend, and the devices Plan and up refuse to pin (vxedge#127, #129).
  • ARCHITECTURE.md §5 and §6.0.3: CampaignService.Start, Get, List and Watch. These cover a trial's five phases, archives that carry the trial's identity, campaign.json, resuming by request_id, cancelling between trials, one campaign at a time, and ERROR_REASON_CAMPAIGN_UNKNOWN.
  • ARCHITECTURE.md §5 and §6.0.3: CampaignService.Plan and how a campaign becomes trials. Every sweep point and every arm is a trial, an arm equal to a sweep point names it (decision X-22), each trial is provisioned on its own (X-23), and each point's bound document is checked.
  • ARCHITECTURE.md §5 and §6.0.8: PackageService (Inspect, List, Pull, Import), the package cache through vxAPI, ManifestRef.package by digest and ERROR_REASON_PACKAGE_UNKNOWN.
  • ARCHITECTURE.md §12: a measurement's samples include vxprobe_rtt_distribution_seconds, a cumulative histogram whose differences between samples give latency over time.
  • USER-GUIDE.md: vxedge traffic up runs a profile inside its source node once the node's zone is up, instead of refusing it.
  • ARCHITECTURE.md §5, §6.0.3 and §12: an experiment's measurements block (rtt-probe, by node id), run by MeasurementService (Start, Stop, Status; vxedge measure) inside each end's network namespace, with the far side of the uplink for to: internet. Samples reach the ingest through the daemon's exporter as measurements/<id>. Plan checks each measurement under ERROR_REASON_MEASUREMENT_INVALID, and a VM or attached end is refused.
  • Guest-OS examples are generic and name only guest images that have shipped: ARCHITECTURE.md §1, §3, §6.0.2, §9, §14 and §15, FACTS.md (parity ledger and zones), ACRONYMS.md, USER-GUIDE.md, TESTBED-SETUP.md, NOTICE and both diagrams. Planned guest images and hypervisor targets are no longer listed.
  • ARCHITECTURE.md §5 and §11: LogService.Follow streams the log lines the ingest reads from each entity's files (serial consoles, hypervisor logs, service and traffic output) as log records, resumable by seq and filtered by entity and stream; archive v2 keeps them as logs/<entity>.jsonl.zst; Plan and entities.json name each entity's log files.
  • ARCHITECTURE.md §5 and §11: TelemetryService.StreamRecords streams the ingest's sample, gap and phase records live, in archive order, resumable by seq; StreamMetrics is built and carries its samples by entity.
  • ARCHITECTURE.md §12: host-side measurements. The daemon's exporter serves per-node CPU and memory and per-slice queue counters, each series labelled with its entity, and is scraped as a host target.
  • ARCHITECTURE.md §12: entity paths, the one name every telemetry record uses for what it is about, derived from model ids; scrape targets bound to entities by address; Plan lists them and collect archives them as entities.json.
  • ARCHITECTURE.md §11: telemetry records (sample, gap, phase), named by entity, the same live and archived; and archive v2 (vxarchive/2), a zip with an index of every member's sha256 and zstd-compressed records, readable by Python's standard library from 3.14.
  • ARCHITECTURE.md §6.0.7 and USER-GUIDE.md: pkg vendor also copies the local part folders the documents reference whose files the source's git checkout tracks, such as an attach adapter; untracked files are build outputs and stay behind.
  • ARCHITECTURE.md §9, backend: attach: the commands run through sh -c, and each names its interpreter (sh start.sh), since a package keeps no file modes.
  • ARCHITECTURE.md §9: a qemu-microvm bundle sizes its guest (cpus, memory_mb), and an aarch64 bundle can ask for the CPU's virtualization extensions ("virtualization": true: EL2, GICv3).
  • FACTS.md: vxedge 0.11.0, vxmcp 0.2.5.
  • ARCHITECTURE.md §6.0.3: typed experiment intent. hypothesis; parameters with type, unit, default, bounds and binds by id path (no templating); metrics; structured criteria (operands, lt/le/gt/ge/within, all/any, min_samples) that evaluate to pass, fail or inconclusive, never rounding inconclusive to a pass; and campaign (arms, sweep, repetitions, warmup, duration, profiles), which replaces method where declared. Plan reports bad parameters and criteria as ERROR_REASON_PARAMETER_INVALID and ERROR_REASON_CRITERION_INVALID before any trial.
  • ARCHITECTURE.md §6.0.8, distribution and trust: pkg push as one OCI artifact whose single layer is the packed file (application/vnd.vxedge.vxp.v1.tar, so the layer digest is the package digest); pkg pull by digest only; a signature covers the package digest, and verification is recorded beside the package, keyed by digest, since a folder cannot hold its own signature; GitHub attestations for published packages and Sigstore key-pair bundles for air-gapped labs; a host trust policy that refuses unverified packages with ERROR_REASON_SIGNATURE_INVALID; and pack --offline with parts in an OCI layout beside the package.
  • Direction stays internal: ROADMAP.md is now phase status and what has shipped, with no open-work or publication list. ARCHITECTURE.md drops the market positioning in §14, the scope of later phases in §15, the planned remote and cloud-hosted modes in §5.3, the phase-4 hardware rungs, and unreleased frontends. GETTING-STARTED.md, USER-GUIDE.md, README.md and AGENTS.md no longer point to per-repo TASKS.md files, which moved to the maintainers' internal board.
  • USER-GUIDE.md: the pkg row adds pkg vendor and vendor --check (vxedge 0.8.0), and the experiment up and vehicle up rows say that a vxp/1 package whose lock does not match is refused with ERROR_REASON_LOCK_MISMATCH and that --unlocked runs it anyway (0.7.0). ARCHITECTURE.md §6.0.7 and §13 name the releases that shipped lock enforcement, the package digest, the kernel record and vendoring, and the lock's parts include a published config part such as an OTA artifact store (vxedge#100, not yet released).
  • ARCHITECTURE.md §6.0.7: pkg vendor (decision X-5), ahead of the release that ships it: it copies another folder's documents into a package, never its scripts or build outputs; the lock records each copy's source (<owner>/<repo>/<path>) and digest; --replace, re-vendoring, the lock written even when the package no longer builds, the local references it lists, and --check for local edits and source drift. A private source is never vendored into a public package.
  • TESTBED-SETUP.md Tier M: the SysML v2 standard library pin is SysML-v2-Release 2026-09.1, matching vxmodels CI.
  • CI uses actions/checkout@v7 instead of v4.
  • Rust 1.99.1 is the documented toolchain, matching vxedge 0.6.1: TESTBED-SETUP.md Tier 0, GETTING-STARTED.md prerequisites and AGENTS.md. vxedge doctor now compares versions against the pin and enforces the protoc 3.21 and buf 1.71 floors listed in Tier 0.
  • ARCHITECTURE.md §6.0, §6.0.7 and §13: what vxedge 0.6.0 shipped is the vxp/1 descriptor; the lock, the packed form and the pkg verbs are on main and unreleased, and no release records the package digest yet. The lock records parts and images as the documents pin them, offline, with no media type (decision X-10). The packed form's ustar header is spelled out field by field, including the name/prefix split and empty device numbers, so a second implementation writes the same bytes. USER-GUIDE.md: experiment new scaffolds a locked vxp/1 package, and the pkg verbs are listed.
  • ARCHITECTURE.md §6.0.7 and §13 name what a run records, ahead of the release that records it: unlocked on the three Up requests and on WorkspacePlanRequest; Run.package_locked beside Run.package, false only for up --unlocked; up refuses a vxp/1 package that cannot be packed; and every run records its kernel release and whether it is PREEMPT_RT (kernel_release, kernel_preempt_rt, Run.kernel, kernel in metadata.json), so kernel.preempt_rt: preferred results say which kernel they came from.
  • ARCHITECTURE.md §6.0, §6.0.7 and USER-GUIDE.md: the lock, the packed form and the pkg verbs shipped in vxedge 0.6.1; up checking the lock and recording the digest are on main.

Added

  • ARCHITECTURE.md §6.0.3 and §6.0.7: the package format vxp/1, which ships in vxedge 0.6.0. The descriptor becomes vxp.yaml, with schema, a namespace/name id, SemVer version, requires including a vxedge range, and x- keys. vxp.lock records each input's digest and every published reference, and up refuses a package that disagrees with it. The packed form is <name>-<version>.vxp, an uncompressed, deterministic tar of exactly the identity's inputs, and its SHA-256 is the package digest. Legacy <name>.vxp descriptors load through vxedge 0.7.x.
  • ARCHITECTURE.md §13: a run records the package digest beside the workspace identity.
  • ARCHITECTURE.md §6.0.3 (planned): a schema discriminator for the .vxp descriptor, with x- extension keys.
  • ARCHITECTURE.md §13: the workspace identity rule vxws/2, with its default excludes and .vxpignore, and every recorded identity naming its algorithm. vxws/1 stays verifiable.

Changed

  • ARCHITECTURE.md §13: the archive records the package digest and lock state under the package object metadata.json already writes (id, version), not as new top-level keys.

  • ARCHITECTURE.md §6.0.3: the .vxp id and entry checks are in place, no longer planned.

  • ARCHITECTURE.md §13: the results archive carries the full workspace and verifies itself (vxtelemetry verify).

  • vxmcp 0.2.2 in the FACTS.md releases table.

  • vxedge 0.5.3 and vxtelemetry 0.3.0 in the FACTS.md releases table.

  • vxedge 0.5.2, vxmcp 0.2.1 and vxtelemetry 0.2.1 in the FACTS.md releases table.

  • USER-GUIDE.md: telemetry verbs live, --stage compute, the traffic endpoint refusal, and a row for the agent-surface RPCs reached through vxmcp. ROADMAP.md: the agent surface and signal plane released; CLI verbs for the agent surface are the open vxAPI work. ARCHITECTURE.md §5.1: every service vxmcp wraps.

  • vxedge 0.5.1 in the FACTS.md releases table.

  • vxedge 0.5.0 and vxmcp 0.2.0: FACTS.md releases, api.agents (the agent sequence through vxmcp, verified live), frontend.mcp, mcp.mutate and gate.confirm live, and the signal plane released. ARCHITECTURE.md §5.2: the agent surface is built, and its services are in the table.

  • scripts/check-links.py and scripts/check-release.py in CI: relative links must resolve, and CITATION.cff must match project.version. VERSIONING.md: a release checklist.

  • ACRONYMS.md: VMM, Cloud Hypervisor, Wasm and WASI. GETTING-STARTED.md: every zone backend. USER-GUIDE.md: vxedge ota status. ROADMAP.md: the vxAPI agent surface for 0.5.0.

  • FACTS.md: signal.plane, the Kuksa databroker as a stage of vehicle up, and vehicle.up now names the backends each run covered and that libvirt has not run in a full vehicle. ROADMAP.md lists the signal plane's open work.

  • ARCHITECTURE.md §5.4 and the CLI table in USER-GUIDE.md: experiment up --stage signal-plane.

  • ARCHITECTURE.md §5.4 and USER-GUIDE.md: --stage on vehicle verbs, --stage compute, and hpc devices answering to vxedge compute, not vxedge zone.

  • ARCHITECTURE.md §6.0.1, §5.4, §8: signal_plane.kuksa on a vehicle, placed on a container device, with its own stage between compute and services. It runs with --insecure, so slice isolation is its only protection.

  • FACTS.md (vehicle.up): every-backend run on vx-vehicle-03.

  • Phase-3 gate passed on vx-vehicle-02: FACTS.md (phase.3, project.status, vehicle.up), ROADMAP.md, RESULTS.md and the CLI table in USER-GUIDE.md.

  • Zenodo DOI 10.5281/zenodo.23802762 (all versions; 0.2.3 is 10.5281/zenodo.23802763) in CITATION.cff, FACTS.md (project.doi) and the README badge.

  • Dataset DOI 10.5281/zenodo.23804197 (all versions; 2026-11 is 10.5281/zenodo.23810053) for the raw result archives: FACTS.md (archives.doi), RESULTS.md and GETTING-STARTED.md.

  • Second campaigns for H2 and H4 run on 2026-10-30 and published in the dataset: FACTS.md (h2.repro_ratio, h2.repro_floor, h2.repro_inside, h4.repro_inside) and RESULTS.md.

  • FACTS.md: repro.kernel, the host kernel of the 2026-10-30 second campaigns.

  • ARCHITECTURE.md §6.0.1, §6.0.2, §6.0.3, §8: a vehicle may host services, each placed on a container device with on:; localhost/… refs name images in the host's Podman store; the one-attachment-per-device limit is stated.

  • ARCHITECTURE.md §5.4: vehicle status observes the host instead of reporting daemon memory, and a stage that does not exist yet is not reported as done.

  • backend: cloud-hypervisor in ARCHITECTURE.md, USER-GUIDE.md and TESTBED-SETUP.md, validated on linux-probe only.

  • backend: wasm-capsule and kind: wasm in ARCHITECTURE.md, USER-GUIDE.md and TESTBED-SETUP.md, validated on reflector-capsule only.

  • ARCHITECTURE.md §5.2: NosCheckService, what is not built, the versioning policy, and the agent surface planned for vxedge 0.5.0. §5.4: the nos-check commands.

  • FACTS.md: a Releases table with each code repository's version, and a Zone backends table.

Fixed

  • ARCHITECTURE.md §5.4 and §16: vxedge telemetry verbs are wired (up/down through SvcService, collect through TelemetryService.Collect). §16's example is now a workspace main.yaml, replacing the §6.1 shape and its :latest image tags.
  • ARCHITECTURE.md §13: results go to results.artifact_dir, not results_prefix. Archive metadata records the vxtelemetry version, not a CLI version. The archive carries the workspace's documents only, so it is not yet re-runnable on its own; the full workspace is planned.
  • ARCHITECTURE.md §6.0.2 and §6.0.3: vxedge manifest bom is planned, not built. The daemon's preflight, not experiment validate, checks .vxp requires.
  • ROADMAP.md: tag-triggered releases exist in six repositories, not only vxedge.
  • GETTING-STARTED.md, TESTBED-SETUP.md, USER-GUIDE.md: vxedged needs CAP_SYS_ADMIN as well as CAP_NET_ADMIN under setcap, because entering a named network namespace is setns(2).

[0.2.3] - 2026-10-30

Fixed

  • CITATION.cff: a single license (CC-BY-4.0, for the docs, results and figures; the code licence stays Apache-2.0 in LICENSE). Zenodo rejected the two-licence list ("Citation metadata load failed"), so v0.2.2 was never archived; v0.2.3 is the first archived release.

[0.2.2] - 2026-10-29

Changed

  • GETTING-STARTED.md: prebuilt vxedge binaries (checksums and provenance) as the first way to get the CLI and daemon; VERSIONING.md and ROADMAP.md record the vxedge release workflow and v0.2.0.
  • vxmcp is public (all nine repositories are now): linked from README.md and GETTING-STARTED.md (clone loop and repository status).
  • FACTS.md: vxmcp list and watch tools are live; mutating tools and the confirmation gate (gate.confirm, mcp.mutate) are building, with svc_down and experiment_down behind confirmation.
  • vxagents, vxtelemetry, vxota and vxperiments are public: linked from README.md, GETTING-STARTED.md (clone loop and repository status), the org profile, RESULTS.md and FACTS.md (evidence paths now link to the frozen summaries; the exp-001 repeat source pointed at a path that does not exist and now points at the run-2 check file).

[0.2.1] - 2026-10-19

Added

  • FACTS.md: per-zone (zone.*) and per-frontend (frontend.*) states, so the website quotes them instead of typing them.
  • Supplementary exp-001 repeats on kernel 7.0.0-38 registered in FACTS.md (h1r.*) and summarised in RESULTS.md, with a note on why a current checkout's workspace hash matches neither run; the frozen numbers are unchanged.

Changed

  • Getting started and the user guide: the example vehicle boots a locally built, per-host zone bundle, so no registry login is needed; added the daemon-socket and /boot/vmlinuz host notes and a note that sudo -E is ignored under sudo-rs.
  • Repositories that are not public yet are no longer linked (README, RESULTS.md, FACTS.md), and GETTING-STARTED.md clones only docs.
  • protoc "current" is 36.x in GETTING-STARTED.md and TESTBED-SETUP.md.
  • AGENTS.md: the org profile quotes h1.ratio, so it changes with it.

[0.2.0] - 2026-10-13

Added

  • FACTS.md: the registry of every published number and state, read by scripts/facts.py (CI runs check); the website and READMEs quote it.
  • Generated architecture diagrams (diagrams/topology.py, layers.py) replacing the ASCII figures in ARCHITECTURE.md, with a CI sync check.
  • Open-source release preparation: LICENSE (Apache-2.0), NOTICE, rewritten README.md. Program board, status journal and publication plan moved out; public summaries now live in RESULTS.md and ROADMAP.md.

Changed

  • Reproduction commands in GETTING-STARTED.md and USER-GUIDE.md corrected to experiments/exp-001-ws/scripts/run.sh; vehicle up documented as live on a bare vehicle.
  • Page titles cleaned up for the rendered docs.

[0.1.0] - 2026-07-13

Phase-1 gate passed: ARCHITECTURE.md §2's H1, H3, and H4 hypotheses all have reproducible numbers (vxperiments' exp-001/exp-002/exp-002b/exp-003). First tagged release across the phase-1-participating repos.

Added

  • ARCHITECTURE.md (16 sections): the architecture specification: hypotheses H1-H4 (§2), vxAPI control-plane design (§5), manifest schemas for experiments and vehicles (§6), vxgateway network model (§7), service model incl. OTA/Uptane design (§8), virtualization/hypervisor fidelity ladder (§9), compute model (§10), metrics/methodology (§12), reproducibility rules (§13), language policy + phase roadmap (§15), worked examples (§16).
  • ROADMAP.md: program-level task board: critical path, phase gates 1-4, the devops/ release-engineering board.
  • RESULTS.md: living progress report, updated every push that moves progress.
  • ROADMAP.md: arXiv/venue plan, paper skeletons, partner-selection procedure, the publication gate.
  • GETTING-STARTED.md, TESTBED-SETUP.md (host requirements tiered by phase), USER-GUIDE.md (public-facing usage doc, CLI verb state table).
  • VERSIONING.md: the SemVer + Keep-a-Changelog convention this release itself follows.

Notable decisions folded in along the way

  • Cumulus VX deprecated in favor of a from-scratch software-defined vxgateway (bridge/VLAN/tc HTB, OVS variant planned), no physical/vendor router anywhere.
  • Jailhouse hypervisor evaluated and rejected (stale upstream, no OEM adoption).
  • OTA design (§8) adopts Uptane's trust-model vocabulary (signed root/targets metadata, image-repo vs. director-repo split) without taking aktualizr as a dependency; Rugix Ctrl recommended over RAUC for phase-3 atomic slot updates, evaluated against https://rugix.org's OTA engine comparison.
  • "Digital twin" avoided as project terminology in publications, reserved for phase-4 hardware-in-the-loop; this is an "executable virtual prototype."

docs/diagrams

Editable architecture diagrams for the vxedge platform. Source format is native draw.io (.drawio = mxGraphModel XML), diffable in git, editable in draw.io Desktop or app.diagrams.net.

FileContents
sdv-ee-architecture.drawioNext-generation SDV zonal E/E architecture, two pages: 1, Hardware (physical E/E) and 2, Software (logical stack)

Both pages derive from ../ARCHITECTURE.md. That file stays the source of truth, if a diagram and ARCHITECTURE.md disagree, the diagram is wrong. Change the specification first, then the diagram.

The two perspectives

Page 1, Hardware. Blocks are physical/virtualised hardware entities, connectors are physical link types. A single VEHICLE container holds all six zones (front-left, front-right, rear-left, rear-right, central-hpc, gateway), each with its zone controller (ZCU), zone-local bus segment, ECUs, sensors and actuators. Zones attach to a shared Ethernet backbone (802.1Q trunk, one VLAN per slice); body zones additionally ride a CAN-FD/LIN backbone. Off-board elements (5G core, RAN, OTA repo, Prometheus, SONiC-VS twin) sit outside the vehicle boundary.

Front zones are laid out mirrored (ZCU at the bottom, nearest the backbone) so every ZCU→backbone connector is a short vertical drop, front and rear zones read symmetrically about the spine.

Page 2, Software. The same six zones read as a layered stack: applications → middleware (signal/comms plane) → guest OS → vxedge zone/compute backend, over a shared vxgateway data-plane band and host-platform band. Columns align 1:1 with the hardware zones, so a block on page 1 has a stack on page 2 at the same horizontal position. The right-hand column is the API-first control plane (CLI/frontends → vxAPI → vxedged → vxedge-core, fed by manifests and, upstream of those, the SysML v2 model).

Conventions

Connector semantics map to a vehicle's links (ARCHITECTURE.md §6.0.1). Ethernet backbone, zone access link, CAN-FD, LIN, GMSL2 serdes, actuator drive, 5G Uu and internal fabric each have a fixed stroke colour/weight/dash, the legend panel on page 1 is the authority, and it is built from the same style strings the diagram uses.

Zone containers carry manifest metadata. Each zone is an <object> with data attributes: vxid, role, kind, backend, slice, spec, visible in draw.io via right-click → Edit Data. This keeps the picture traceable to the manifests rather than drifting into decoration. Populate them on any zone you add.

Fill colour encodes domain, not vendor: blue = ADAS/safety, green = body/comfort/energy, amber = connectivity, purple = central compute.

The diagram is descriptive; the manifest is the contract. Nothing exists in the testbed because it is drawn here. A block added to the diagram must land in a vehicle or experiment manifest (ARCHITECTURE.md §6) before it is real.

Extending

Page 1's legend panel doubles as an extension palette:

  1. Copy the dashed ZONE SLOT group into the VEHICLE container.
  2. Right-click → Edit Data and set vxid / role / backend / slice.
  3. Fill in ZCU, sensors, ECUs, actuators from the block palette above it.
  4. Connect the ZCU to the backbone with the Ethernet backbone connector style.
  5. Add the matching column on page 2 (headers at the top; each band takes one box per column).

Everything is a plain container/child hierarchy with absolute geometry, no layout engine to fight. Zone containers are container=1, so dragging a zone moves its contents with it.

Page geometry and printing

Both pages are 2420 × 1711 units, exactly √2 : 1, A-series landscape, with the content inset by a uniform 100-unit margin (content box 2220 × 1511 at 100,100 → 2320,1611). One page is one sheet: File ▸ Print ▸ Fit to page, landscape, fills the paper with no tiling and nothing clipped.

Legibility is the real constraint, not fit. Scaled onto each sheet size, the 12-unit body text lands at:

SheetBody textVerdict
A4 landscape~4 ptfits perfectly, but reference-only, expect to lean in
A3 landscape~6 ptrecommended for handouts and design reviews
A2 landscape~8 ptcomfortable; the right size for a wall or poster session

Screen and PDF are unaffected, zoom is free there. If you need a readable A4, print a region rather than shrinking the whole page: select a zone (or the legend) and use File ▸ Print ▸ Selection Only.

If you change the layout, keep the page ratio at √2, set File ▸ Page Setup to a custom size whose width ÷ height is 1.4142, or the fit-to-page print stops being a clean single sheet.

Editing and export

drawio docs/diagrams/sdv-ee-architecture.drawio          # open in the desktop app

# export a page to PNG/SVG/PDF with the diagram XML embedded (stays editable)
drawio -x -f png -e -b 10 -p 1 -o hardware.drawio.png docs/diagrams/sdv-ee-architecture.drawio
drawio -x -f svg -e -b 10 -p 2 -o software.drawio.svg docs/diagrams/sdv-ee-architecture.drawio

# print-ready PDF, both pages, page geometry preserved
drawio -x -f pdf -e -a -o sdv-ee-architecture.pdf docs/diagrams/sdv-ee-architecture.drawio

SVG is the best choice for papers and slides, it scales without the type-size penalty above.

Exported images are deliberately not committed, they go stale silently, and the .drawio renders on GitHub. Generate them on demand.

One gotcha worth knowing

draw.io typesets backtick-delimited text as AsciiMath. A label reading `links[]` renders as l ∈ ks[] (in → ∈). Do not use backticks for code spans in labels, write links[] plain. Setting math="0" on the model does not suppress it in CLI export.