Skip to main content
Version: v5.6.1

opschain infrastructure

packs:infrastructure

Operates the infrastructure estate: hosts, hypervisors, network devices and links registered as nodes under a project, an environment or an asset. Subcommands list the estate with server-side filters and keyset pagination, show one node with its properties document, register or update nodes (one at a time or in bulk batches), close estate membership with deregister and land discovered facts.

Infrastructure types form a closed registry: host, hypervisor, network_device and link. The manual lane asserts estate membership only: registered ↔ deregistered. A deregistered node is hidden from list defaults with its full history retained, and registering the same code again revives the same node. The provisioned and destroyed states are reserved for the integration that performs those operations; no manual verb writes them. Addresses and FQDNs are indexed but unconstrained — a duplicate address within one environment warns and never refuses.

Subcommands​

  • opschain docs cli/infrastructure-list — list with filters and pagination.
  • opschain docs cli/infrastructure-show — one node with its properties.
  • opschain docs cli/infrastructure-register — register one node.
  • opschain docs cli/infrastructure-update — update attributes or properties.
  • opschain docs cli/infrastructure-bulk-upsert — batch register/update from a YAML file.
  • opschain docs cli/infrastructure-deregister — close estate membership (soft-close posture).
  • opschain docs cli/infrastructure-facts — record discovered facts.