Skip to content

The name/UUID boundary

You address things by name. The platform stores and transports them by UUID. The two meet at one resolution point, before any API call is made.

flowchart LR
  U["You type a name<br/>acme, edge-eu, orders"] --> R["Resolution<br/>one boundary"]
  R --> A["API calls carry UUIDs"]
  A --> S["Storage and transport<br/>carry UUIDs"]

Which form appears where

Surface Form
CLI arguments and context Name
Generated specs you author or edit Name
API requests and responses UUID
Assignment envelopes and records UUID
Correlation fields on telemetry UUID

Resolution accepts either form, so a UUID typed where a name is expected is matched directly and passes through.

Resolution happens once

A single resolver converts a name to a UUID and everything after it carries the UUID. Resolution is exact: a value is matched against the recorded name or the recorded UUID, with no prefix matching and no normalisation.

Two refusals come out of it. A value matching no record is refused with organization not found by name or uuid: <value>, and a value matching more than one with organization name is ambiguous: <value>.

Ambiguity is refused rather than resolved by a tiebreak, so a command never acts on a different object than the one you meant.

Why the two forms are separate

A name is chosen for people and is scoped to where it is unique. A UUID is permanent and globally unambiguous, which is what a stored reference and a correlation field need.

Keeping them apart means a display name can be readable without a record's identity depending on it, and a record's identity can be stable without a reader having to handle it.

Names that are permanent anyway

Some names are fixed for the life of the thing they name, because other records were keyed by them at creation. An organization name is permanent for the life of the deployment, and a node label is fixed by the installation that produced it: node labels are derived from dp_install, and registration entries, scheduler capabilities and fabric peer lists all name them.

See Organizations and Installation targets.

The boundary in one call

xratu dataplane pool create acme edge-eu      names, at the CLI
system.dataplane.pools.create                  UUIDs, over the API

A response returns the UUID alongside the name, so the value you need for a later reference is in the output of the call that created it.

See The correlation tuple for the UUID-bearing fields that follow a run across planes.