internal/

directory
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package activity records who changed what: every changing API call and every sign-in, with its result.
Package activity records who changed what: every changing API call and every sign-in, with its result.
Package alerts watches the live snapshots for trouble (host overloaded, a machine crashed, a pool filling up, libvirt gone) and notifies people.
Package alerts watches the live snapshots for trouble (host overloaded, a machine crashed, a pool filling up, libvirt gone) and notifies people.
Package api exposes VirtoMir's HTTP/JSON API (versioned under /api/v1) and serves the web UI.
Package api exposes VirtoMir's HTTP/JSON API (versioned under /api/v1) and serves the web UI.
Package atomicfile writes state files so a crash or power loss leaves either the old or the new content, never a torn one, and moves unreadable state files aside instead of letting the next save overwrite them.
Package atomicfile writes state files so a crash or power loss leaves either the old or the new content, never a torn one, and moves unreadable state files aside instead of letting the next save overwrite them.
Package auth signs people in with their Linux account (PAM, like Cockpit), keeps browser sessions and API tokens, and decides roles: root and the admin group (default "libvirt", the group that may manage VMs anyway) are admins; optional operator and viewer groups get less (see roles.go).
Package auth signs people in with their Linux account (PAM, like Cockpit), keeps browser sessions and API tokens, and decides roles: root and the admin group (default "libvirt", the group that may manage VMs anyway) are admins; optional operator and viewer groups get less (see roles.go).
Package baremetal installs new hosts over the network (D17, ADR-0077): a machine that boots from the network gets an iPXE script from VirtoMir, the Debian 13 installer and a preseed that installs VirtoMir from its signed package repository; on its first boot the host fetches a join code and joins the cluster.
Package baremetal installs new hosts over the network (D17, ADR-0077): a machine that boots from the network gets an iPXE script from VirtoMir, the Debian 13 installer and a preseed that installs VirtoMir from its signed package repository; on its first boot the host fetches a join code and joins the cluster.
Package carve makes a storage pool of a chosen size out of the host's free space: an empty disk, the free space of an LVM volume group, or a ZFS pool.
Package carve makes a storage pool of a chosen size out of the host's free space: an empty disk, the free space of an LVM volume group, or a ZFS pool.
Report renderers turn a showback calculation into the formats users read: an indented JSON for scripts, RFC 4180 CSV for spreadsheets and a self-contained HTML document in the style of internal/reports that also prints cleanly to PDF (ADR-0065).
Report renderers turn a showback calculation into the formats users read: an indented JSON for scripts, RFC 4180 CSV for spreadsheets and a self-contained HTML document in the style of internal/reports that also prints cleanly to PDF (ADR-0065).
Package ceph is VirtoMir's hyper-converged Ceph (D4, ADR-0073): bootstrapping a cluster with cephadm on the VirtoMir hosts, adding hosts and OSDs (only on empty disks), health and capacity telemetry, RBD pools that become libvirt pools on every member, storage policies that name a pool for new disks, and noout around host maintenance.
Package ceph is VirtoMir's hyper-converged Ceph (D4, ADR-0073): bootstrapping a cluster with cephadm on the VirtoMir hosts, adding hosts and OSDs (only on empty disks), health and capacity telemetry, RBD pools that become libvirt pools on every member, storage policies that name a pool for new disks, and noout around host maintenance.
Package cluster lets several virtomird instances act as one (ADR-0020).
Package cluster lets several virtomird instances act as one (ADR-0020).
Package compliance provides host hardening posture evaluation (CIS Linux / STIG virtualization host subset), FIPS mode detection, and audit verification (ADR-0064).
Package compliance provides host hardening posture evaluation (CIS Linux / STIG virtualization host subset), FIPS mode detection, and audit verification (ADR-0064).
Package confighist keeps every version of each machine's definition (ADR-0021), so any change — made in VirtoMir, with virsh or by hand — can be compared and undone.
Package confighist keeps every version of each machine's definition (ADR-0021), so any change — made in VirtoMir, with virsh or by hand — can be compared and undone.
Package content manages the cluster-wide content library for VirtoMir (ADR-0063).
Package content manages the cluster-wide content library for VirtoMir (ADR-0063).
Package dr coordinates disaster recovery (ADR-0069): protection groups replicate a set of machines from one host to another (through internal/zfsrep) with an RPO target, and recovery plans bring whole stacks back up — as a test in isolated networks or for real, with failback reversing the replication direction.
Package dr coordinates disaster recovery (ADR-0069): protection groups replicate a set of machines from one host to another (through internal/zfsrep) with an RPO target, and recovery plans bring whole stacks back up — as a test in isolated networks or for real, with failback reversing the replication direction.
Package drs provides Distributed Resource Scheduling (DRS) and workload rebalancing across cluster nodes in VirtoMir.
Package drs provides Distributed Resource Scheduling (DRS) and workload rebalancing across cluster nodes in VirtoMir.
Package dsbrowse is the datastore browser: the files and folders of a file-based storage pool (a directory, NFS, SMB or carved pool), with downloading, uploading, folders, renaming, copying and moving between pools, and deleting.
Package dsbrowse is the datastore browser: the files and folders of a file-based storage pool (a directory, NFS, SMB or carved pool), with downloading, uploading, folders, renaming, copying and moving between pools, and deleting.
Package gpool groups the cluster's GPUs into pools (D14, ADR-0071): a pool is one kind of GPU as machines get it (a whole card by PCI passthrough, a vGPU slice of one mdev type, or one NVIDIA MIG profile), so a machine asks for "2 of l40s" instead of naming a card on a host.
Package gpool groups the cluster's GPUs into pools (D14, ADR-0071): a pool is one kind of GPU as machines get it (a whole card by PCI passthrough, a vGPU slice of one mdev type, or one NVIDIA MIG profile), so a machine asks for "2 of l40s" instead of naming a card on a host.
Package ha keeps protected machines running when a cluster member dies (ADR-0031).
Package ha keeps protected machines running when a cluster member dies (ADR-0031).
Package history keeps metric history beyond the live minute: every 1 s sample is averaged into fixed-size rings at several resolutions (10 s for 6 h, 1 min for a day, 10 min for a week, 1 h for a month).
Package history keeps metric history beyond the live minute: every 1 s sample is averaged into fixed-size rings at several resolutions (10 s for 6 h, 1 min for a day, 10 min for a week, 1 h for a month).
Package hostinfo reads what libvirt does not tell about the host itself: who built it (DMI), its sensors (hwmon), its GPUs and their load, and how its network interfaces are wired (bonds, bridges, VLANs).
Package hostinfo reads what libvirt does not tell about the host itself: who built it (DMI), its sensors (hwmon), its GPUs and their load, and how its network interfaces are wired (bonds, bridges, VLANs).
Package hostnet creates and removes bridges, bonds and VLAN interfaces on the host (ADR-0042) through whatever already manages the host's network: netplan, NetworkManager or systemd-networkd.
Package hostnet creates and removes bridges, bonds and VLAN interfaces on the host (ADR-0042) through whatever already manages the host's network: netplan, NetworkManager or systemd-networkd.
Package hostsetup does the host-side chores VirtoMir used to leave to the admin: installing the packages a feature needs (restic, FRR, iPXE + dnsmasq, cephadm + podman), turning on the IOMMU on the kernel command line for PCI passthrough, loading a software watchdog for HA, and the root SSH key ZFS replication sends with.
Package hostsetup does the host-side chores VirtoMir used to leave to the admin: installing the packages a feature needs (restic, FRR, iPXE + dnsmasq, cephadm + podman), turning on the IOMMU on the kernel command line for PCI passthrough, loading a software watchdog for HA, and the root SSH key ZFS replication sends with.
Package insights provides operations intelligence for VirtoMir: capacity forecasting, right-sizing and anomaly detection (ADR-0066).
Package insights provides operations intelligence for VirtoMir: capacity forecasting, right-sizing and anomaly detection (ADR-0066).
Package jobs runs long operations (disk copies, uploads) in the background so HTTP requests return at once.
Package jobs runs long operations (disk copies, uploads) in the background so HTTP requests return at once.
Package k8s runs Kubernetes clusters on VirtoMir machines (D7, ADR-0076).
Package k8s runs Kubernetes clusters on VirtoMir machines (D7, ADR-0076).
Package lcm is the lifecycle manager (ADR-0070): rolling upgrades of VirtoMir itself, and optionally of the hosts' OS packages, one cluster member at a time.
Package lcm is the lifecycle manager (ADR-0070): rolling upgrades of VirtoMir itself, and optionally of the hosts' OS packages, one cluster member at a time.
Package live samples the host and its domains on a fixed interval (and immediately on libvirt lifecycle events) and fans the resulting snapshots out to subscribers such as the browser's event stream.
Package live samples the host and its domains on a fixed interval (and immediately on libvirt lifecycle events) and fans the resulting snapshots out to subscribers such as the browser's event stream.
Package offsite copies backups to another place with restic (ADR-0043): encrypted, deduplicated, to any restic repository — S3 and S3-compatible storage (MinIO, Wasabi, Ceph RGW …), Backblaze B2, Azure, Google Cloud Storage, SFTP, a REST server or a directory.
Package offsite copies backups to another place with restic (ADR-0043): encrypted, deduplicated, to any restic repository — S3 and S3-compatible storage (MinIO, Wasabi, Ceph RGW …), Backblaze B2, Azure, Google Cloud Storage, SFTP, a REST server or a directory.
Package overlay keeps the host's VXLAN tunnel devices in line with VirtoMir's VXLAN networks (ADR-0054).
Package overlay keeps the host's VXLAN tunnel devices in line with VirtoMir's VXLAN networks (ADR-0054).
Package physnet connects VirtoMir to the physical network (D16, ADR-0075): SR-IOV virtual functions on the host's NICs, BGP (and EVPN for the VXLAN overlays) through FRR, IP address pools that hand machines fixed addresses, and dynamic DNS (RFC 2136 with TSIG) for them.
Package physnet connects VirtoMir to the physical network (D16, ADR-0075): SR-IOV virtual functions on the host's NICs, BGP (and EVPN for the VXLAN overlays) through FRR, IP address pools that hand machines fixed addresses, and dynamic DNS (RFC 2136 with TSIG) for them.
Package placement provides cluster-wide placement constraints and host labels for VirtoMir.
Package placement provides cluster-wide placement constraints and host labels for VirtoMir.
Package project groups machines, storage pools and networks into projects with members and limits (ADR-0060): multi-tenancy for VirtoMir.
Package project groups machines, storage pools and networks into projects with members and limits (ADR-0060): multi-tenancy for VirtoMir.
Package quota limits what operators may create themselves (ADR-0022): a rule per Linux group or user caps the number of machines, vCPUs, memory and disk space (ADR-0044) of the machines they own.
Package quota limits what operators may create themselves (ADR-0022): a rule per Linux group or user caps the number of machines, vCPUs, memory and disk space (ADR-0044) of the machines they own.
Package reports writes capacity, inventory and backup-compliance reports from facts the API collects on every cluster member, keeps them in -state-dir/reports, and runs report schedules (ADR-0030, made real in ADR-0032).
Package reports writes capacity, inventory and backup-compliance reports from facts the API collects on every cluster member, keeps them in -state-dir/reports, and runs report schedules (ADR-0030, made real in ADR-0032).
Package respool groups machines into resource pools with hard limits (ADR-0030, made binding in ADR-0032): vCPUs, memory and disk space per storage pool.
Package respool groups machines into resource pools with hard limits (ADR-0030, made binding in ADR-0032): vCPUs, memory and disk space per storage pool.
Package schedule runs automatic snapshots and backups of machines and keeps only the newest few of each (retention).
Package schedule runs automatic snapshots and backups of machines and keeps only the newest few of each (retention).
Package sdn is VirtoMir's software-defined networking on OVN/OVS (D3, ADR-0072): per- project VPCs with distributed routing, OVN-native DHCP, SNAT and floating IPs, security groups as port groups with stateful ACLs, load balancers, and IPsec for the tunnels.
Package sdn is VirtoMir's software-defined networking on OVN/OVS (D3, ADR-0072): per- project VPCs with distributed routing, OVN-native DHCP, SNAT and floating IPs, security groups as port groups with stateful ACLs, load balancers, and IPsec for the tunnels.
Package signature checks detached OpenPGP signatures of what VirtoMir downloads and trusts: its own updates (signed with the repository key, ADR-0048) and container images (signed by the Linux Containers image server).
Package signature checks detached OpenPGP signatures of what VirtoMir downloads and trusts: its own updates (signed with the repository key, ADR-0048) and container images (signed by the Linux Containers image server).
Package storageeff is VirtoMir's storage efficiency (D15, ADR-0074): ZFS compression and deduplication per pool (with the RAM warning dedup deserves), storage tiers as labels on pools that disks move between, and NVMe/TCP namespaces that become pools.
Package storageeff is VirtoMir's storage efficiency (D15, ADR-0074): ZFS compression and deduplication per pool (with the RAM warning dedup deserves), storage tiers as labels on pools that disks move between, and NVMe/TCP namespaces that become pools.
Package storconn finds network and SAN storage by itself and connects it: iSCSI targets, NFS exports and SMB shares on the networks this host is on, and Fibre Channel adapters with their LUNs.
Package storconn finds network and SAN storage by itself and connects it: iSCSI targets, NFS exports and SMB shares on the networks this host is on, and Fibre Channel adapters with their LUNs.
Package systemd provides zero-dependency Linux systemd sd_notify and watchdog integration.
Package systemd provides zero-dependency Linux systemd sd_notify and watchdog integration.
Package timeline answers "what happened to this machine?": one list, newest first, of what people did to it, how its definition changed (also outside VirtoMir), when it started, stopped, crashed or was paused and why, its snapshots, backups and alerts.
Package timeline answers "what happened to this machine?": one list, newest first, of what people did to it, how its definition changed (also outside VirtoMir), when it started, stopped, crashed or was paused and why, its snapshots, backups and alerts.
Package update finds newer VirtoMir releases on GitHub and installs them (ADR-0036): it downloads the release file that matches how this host installed VirtoMir and checks it against the published SHA-256, whose signature by the release key (.sha256.asc) it checks first.
Package update finds newer VirtoMir releases on GitHub and installs them (ADR-0036): it downloads the release file that matches how this host installed VirtoMir and checks it against the published SHA-256, whose signature by the release key (.sha256.asc) it checks first.
Package virt is VirtoMir's gateway to libvirt.
Package virt is VirtoMir's gateway to libvirt.
Conversion of VMware machines with the real virt-v2v binary (ADR-0061), and adoption of the result as a VirtoMir machine.
Conversion of VMware machines with the real virt-v2v binary (ADR-0061), and adoption of the result as a VirtoMir machine.
Package wifibridge puts machines on the LAN of a Wi-Fi card the way VirtualBox and VMware Workstation bridge to Wi-Fi: an access point accepts frames only from the card's own MAC address, so the machines' frames go out with the host's MAC (MAC translation) and come back by their IP address.
Package wifibridge puts machines on the LAN of a Wi-Fi card the way VirtualBox and VMware Workstation bridge to Wi-Fi: an access point accepts frames only from the card's own MAC address, so the machines' frames go out with the host's MAC (MAC translation) and come back by their IP address.
Package zfsrep replicates ZFS datasets and zvols to another host (ADR-0056): on a schedule it takes a snapshot and sends what changed since the last one both sides have (zfs send -i @base | ssh target zfs receive -F), then prunes old replication snapshots on both sides.
Package zfsrep replicates ZFS datasets and zvols to another host (ADR-0056): on a schedule it takes a snapshot and sends what changed since the last one both sides have (zfs send -i @base | ssh target zfs receive -F), then prunes old replication snapshots on both sides.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL