udmi

UDMI / Docs / Tools / tmux

UDMI Tmux Controllers & Namespaced Environments

UDMI provides modular tmux-encapsulated controllers for managing local service stacks, background daemons, and test harnesses with full environment isolation, diagnostic probes, and zero-sudo unprivileged execution.


1. Controller Architecture

The local infrastructure is divided into modular, decoupled service domains:

Controller Script Tmux Session Default Services Optional Services (++svc) Description
bin/tmux_base udmi_base[~ns] clone, certs (none) Site model provisioning and CA / reflector certificate generation.
bin/tmux_barbican udmi_barbican[~ns] etcd, mosquitto, udmis pubsub Core message bus, distributed registry, and UDMIS control plane.
bin/tmux_butler udmi_butler[~ns] postgres, influxdb, butler validator, registrar Data persistence, telemetry storage, and event processing.
bin/tmux_bridgehead udmi_bridgehead[~ns] pubber spotter Device-under-test (DUT) and network discovery agent emulation.
bin/tmux_mcp udmi_mcp[~ns] server (none) FastMCP test and diagnostic automation server.

2. Command Syntax

bin/tmux_<box> [command] [target_or_namespace] [project_spec] [target_id] [service_filters...]

Running any bin/tmux_<name> script with no arguments (or help, -h, --help) displays usage instructions and available services, then exits cleanly.

Available Commands

The lifecycle of each controller revolves around four operational states:

Diagnostic & Inspection Commands:


3. Namespacing & Non-Root Execution

Passing a bare semantic namespace identifier (e.g. btesting, alpha, staging):

bin/tmux_barbican start btesting

B. Default Execution (No Target Provided)

When no target is passed (e.g. bin/tmux_barbican start or bin/udmi start):

C. Explicit Site Model Path

When specifying a custom site model directory (e.g. sites/my_site):


4. Service Inclusion & Exclusion Filters

Fine-tune which services run inside the tmux session during start:


5. Unified Orchestration

For unified local infrastructure orchestration across multiple service controllers, see bin/udmi (UDMI Local Orchestrator).