Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions ACRONYMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ The `vxgateway` data plane, relevant to `network-provisioning-patterns`.
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.
- **BGP**: Border Gateway Protocol: the routing protocol between networks.
- **TSN**: Time-Sensitive Networking: deterministic-latency Ethernet extensions
(phase-3 gateway variant).
- **gPTP** / **PTP**: (generalized) Precision Time Protocol: clock sync TSN depends on.
Expand All @@ -99,7 +97,7 @@ The `vxgateway` data plane, relevant to `network-provisioning-patterns`.
- **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).
automotive buses, specified as `type: can` links (not built).
- **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).
Expand Down
28 changes: 14 additions & 14 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ 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
network stack (OVS/tc/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`
Expand All @@ -62,7 +62,7 @@ No physical router is required: the edge-gateway role is fully absorbed by `vxga
## 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
production Linux SDN stack (OVS/Linux bridge, tc queue trees, VXLAN, WireGuard) 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.

Expand Down Expand Up @@ -103,7 +103,7 @@ today (real, emulated or building), dashed is specified and not built yet. Sourc
(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.
bridge, tc, VXLAN, WireGuard), 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.
Expand Down Expand Up @@ -135,7 +135,7 @@ Canonical repos (under vxedge org):
- `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/vxperiments`: experiment manifests, **vehicle manifests**, 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)
Expand Down Expand Up @@ -755,7 +755,7 @@ 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
`network.tunnels` 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:
Expand Down Expand Up @@ -793,11 +793,11 @@ interface is a routed L3 endpoint, never enslaved to the bridge/OVS switch, whil
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`
(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
`network.nos_check` (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:
Expand Down Expand Up @@ -1958,7 +1958,7 @@ templating):
(`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
- **Legacy bus edges (`type: can`, specified, not built):** 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.
Expand All @@ -1968,27 +1968,27 @@ templating):
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).
for a harness-reduction report, independent of whether it is impaired. CAN/LIN drops are
specified as `type: can` links (LIN modeled as a constrained bus), not built.
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
entry. **WireGuard delivered**: 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
delivered 2026-08-04**, `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.
- **Routing:** static for lab experiments.
- **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
Expand Down Expand Up @@ -2541,7 +2541,7 @@ scrape reads the kernel's counters as they are then.
- 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.
SONiC, OVS, Open5GS, UERANSIM, Eclipse SDV components under their upstream OSS licenses.

- **Industrialization notes:**
- All manifests are modular and reused across experiments.
Expand Down
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All notable changes to this repo are documented here. Format follows
- `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
- `ARCHITECTURE.md` §5 specifies the fleet view, which ships in vxedge 0.33.0: `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`.
Expand All @@ -23,7 +23,7 @@ All notable changes to this repo are documented here. Format follows
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:
- `ARCHITECTURE.md` §6.0.3 and §7 specify the TSN variant of the gateway, which ships in vxedge 0.28.0 (`shaping`) and 0.30.0 (`time_sync`):
- `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
Expand All @@ -34,7 +34,7 @@ All notable changes to this repo are documented here. Format follows
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:
- `ARCHITECTURE.md` §5.2 and §6.0.5 specify several runs on one host, which ships in vxedge 0.31.0:
- 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;
Expand All @@ -54,6 +54,14 @@ All notable changes to this repo are documented here. Format follows

### Changed

- `FACTS.md`: `gateway.shaping` and `gateway.time_sync` registered as `live`, with no campaign behind them;
`mcp.results` is `live` and `parity.mcu` is `emulated` (probe firmware on QEMU's Cortex-M3 board). The
802.1Qbv gate schedule moves from the gap of `parity.harness` to `parity.network`, because it runs on the uplink.
`vehicle.up` and `api.agents` state several vehicles and runs per host and the seven-backend gate of 2026-11-19.
- Text brought up to the released state: `USER-GUIDE.md` (backends, several
vehicles at once, measurement ends, TSN, `type: can`), `RESULTS.md` (exp-010's live run, the H4 release rerun,
exp-014, exp-016, exp-018), `GETTING-STARTED.md` (ten repositories, `vxvhal`), `TESTBED-SETUP.md` (gPTP, QEMU for
Arm) and `ARCHITECTURE.md` / `ACRONYMS.md` (FRR and notebooks removed, `type: can` specified and not built).
- 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`,
Expand Down
Loading