Repository navigation
v0.31.0
Several runs on one host. Each run holds an instance slot, 0–9 then a–z, that every host object it
creates carries, and keeps its files in <runtime-dir>/runs/<s>/. Another workspace's up takes the next
free slot instead of being refused, a verb that names no run acts on its workspace's run, and a campaign
holds its slot from start to end while its trials wait their turn for the lifecycle claim. vxAPI stays
vxedge.v1, with instance and RunRef run fields and two new error reasons, ERROR_REASON_RUN_AMBIGUOUS
and ERROR_REASON_HELD_BY_RUN. Host object names change, so scripts that address them directly need the
new names (listed under Changed). pkg lock now pins published check tool images. Pairs with vxtelemetry
0.11.0, which scrapes each run's own exporter page and records the slot in metadata.json.
Added
- Several runs on one host (
ARCHITECTURE.md§5.2, §6.0.5). Each run holds an instance slot,0–9then
a–z, and keeps its files in its own directory,<runtime-dir>/runs/<s>/: its record, manifest, 5G and
gPTP config, check output, measurement and traffic pidfiles, telemetry ingest,collect.logandtools.json.upkeeps the workspace's own run's slot, or takes the oneinstancenames
(VehicleUpRequest,GatewayUpRequest,ExperimentUpRequest,CampaignStartRequest;--instanceon
the CLI), or the lowest free one.Run.instancereports it, andRunService.Listreturns every run.- A verb that names no run acts on its workspace's run, or on the only run. When more than one matches it is
refused with the newERROR_REASON_RUN_AMBIGUOUS, which lists the runs.VehicleDownRequest,
VehicleStatusRequest,GatewayDownRequest,GatewayStatusRequest,ExperimentDownRequestand
ExperimentStatusRequestgain aRunRef run, and the CLI takes a global--run <run id>.
vxedge runslists the host's runs. - Another workspace's
uptakes another slot instead of being refused asERROR_REASON_WRONG_WORKSPACE. A
verb whose workspace has no run while others do is refused asERROR_REASON_NO_ACTIVE_RUN, never acted
on another run. - What one host has once is held by one run:
s-nssaislices, overlapping host-side addresses (traffic and
measurement far sides, host-side peers), a WireGuard listen port, a VXLAN VNI and port, an adopted host
interface. A second run that declares one, or asks for a slot another run holds, is refused with the new
ERROR_REASON_HELD_BY_RUN, naming the holder. - A campaign holds its slot from start to end, so its trials keep their names, and another
upbetween two
trials skips it. The hold survives a daemon restart, so a retry resumes in the same slot, and is released
at the end, on failure and on cancel.campaign.jsonrecordsinstance. - A campaign no longer holds the host's lifecycle claim for its whole run: each trial's
upanddown
waits its turn for it, so another run'supbetween trials delays a trial instead of failing it.
Lifecycle operations still run one at a time across the host, and an interactive one is still refused as
ERROR_REASON_BUSYwhile another runs. Concurrent runs are for functional work: a timed campaign still
takes the host on its own. - The daemon restores every run whose bridge is still up when it starts.
- The metrics exporter serves each run its own page,
/runs/<s>/metrics, and a run's host entity scrapes
it, so one run's series never reach another's archive./metricsserves the only run. Needs the matching
vxtelemetry, which reads a path in a scrape target. TelemetryService.Collecttakesinstance, the slot whose ingest it archives (a campaign collects after
its trial's run is down), and passes it to vxtelemetry asVXTELEMETRY_INSTANCE, which records it in the
archive'smetadata.json.
Changed
- Every host object a run creates carries its instance slot, as
ARCHITECTURE.md§6.0.5 specifies.
Scripts that address interface or container names directly need the new names:- bridge, uplink and uplink peer:
vxbr0,vxup0,vxup0p(unchanged in slot0); - a device's access port, veth peer and ingress IFB:
vz0-<stem>,vp0-<stem>,vi0-<stem>(werevz-,
vzp-,vxi-). Stems keep their 11 characters, sovz-node-a-c06ais nowvz0-node-a-c06a; - WireGuard and VXLAN tunnels:
vxwg0-<stem>,vxln0-<stem>. A tunnel stem is now at most 9 characters; - a node's netns, container group, VM domain, pidfile, serial log and Cloud Hypervisor socket:
vx0-<node>
(wasvx-<node>); - the 5G pods:
vx5g0,vx5g0-ranand their containers (werevx5g,vx5g-ran); - a check step's container:
vx0-check-<id>; - a gPTP follower's directory:
<runtime-dir>/gptp/vx0-<node>.
- bridge, uplink and uplink peer:
- A VM guest's command line carries
vx.slot=<s>besidevx.node=<id>, and thevxcapsulerunner takes
--slot <s> --node <id> <module>. The check for unknown objects on the host reads the slot: another slot's
ports and guests belong to another run, and an object with no slot is foreign to every run. - Archives record entity log paths under the new names, such as
vx0-<node>.serial.log. Entity ids are
device ids and do not change, so verdicts and comparisons read old and new archives alike.
Fixed
pkg lockpins the image of every check tool (checks.tools.<id>.image) that is published, and
TelemetryService.Collectrecords the digests of all of them. A check tool is no placement, so
neither listed it: a package whose checks run a published client locked nothing for it, and an
offline copy could not run its checks.
Binaries for x86_64 and aarch64 Linux (glibc, built on Ubuntu 24.04). Verify with SHA256SUMS or
gh attestation verify.