feat: licenses, a hypervisor's hosts and the package proxy as facts (4.14.0) #43

Merged
christianmanivong merged 1 commits from feat/fact-getters-1111 into main 2026-10-17 07:19:34 +00:00
Owner

Contracts for NetOrk/netork#1111 (drivers report facts, the application names warnings):

  • LicenseMixin.get_licenses() → LicenseDict (name, status active|missing|expired|invalid|none|unknown, edition, expires, detail)
  • HypervisorDriver.get_hypervisor_hosts() → HypervisorHostDict (name, connected, maintenance, config_issues, managed_by)
  • PackageProxyMixin.get_package_proxy()

Declared only; tested.

Contracts for NetOrk/netork#1111 (drivers report facts, the application names warnings): - `LicenseMixin.get_licenses()` → `LicenseDict` (name, status active|missing|expired|invalid|none|unknown, edition, expires, detail) - `HypervisorDriver.get_hypervisor_hosts()` → `HypervisorHostDict` (name, connected, maintenance, config_issues, managed_by) - `PackageProxyMixin.get_package_proxy()` Declared only; tested.
christianmanivong added 1 commit 2026-10-17 07:12:21 +00:00
feat: licenses, a hypervisor's hosts and the package proxy as facts (4.14.0)
CI / test (3.10) (push) Successful in 32s
CI / test (3.11) (push) Successful in 32s
CI / test (3.12) (push) Successful in 35s
CI / test (3.13) (push) Successful in 35s
CI / test (3.10) (pull_request) Successful in 31s
CI / test (3.11) (pull_request) Successful in 27s
CI / test (3.12) (pull_request) Successful in 30s
CI / test (3.13) (pull_request) Successful in 29s
2805f911c4
Drivers report facts and the application decides what is a warning
(docs/STRUCTURE.md, NetOrk/netork#1111). Three facts drivers so far
only reported as warning codes get contracts:

- LicenseMixin.get_licenses(): licenses and subscriptions with their
  status (a Proxmox subscription, a VMware edition, a BMC license a
  feature needs).
- HypervisorDriver.get_hypervisor_hosts(): each host connected, in
  maintenance, with configuration issues, under a central manager.
- PackageProxyMixin.get_package_proxy(): the proxy apt fetches through.

All declared only.
christianmanivong merged commit 87c9b06bf3 into main 2026-10-17 07:19:34 +00:00
christianmanivong deleted branch feat/fact-getters-1111 2026-10-17 07:19:34 +00:00
Sign in to join this conversation.