vCenter reports each cluster compute resource, and each standalone host
it runs as a cluster of one, identified by "<instanceUuid>/<moref>"; an
ESXi host reports itself. Nodes carry state, maintenance, CPU and memory;
datastores and port groups carry the hosts that see them.
create_vm_from_cloud_init(node=) places the VM on that host and refuses
one that does not exist or cannot take it, before anything is created.
Placement now runs before the image download, so a refused host fails at
once instead of after the download.
Refs NetOrk/netork#484, NetOrk/netork#1822
- CI moves to .gitea/workflows/ci.yml and calls the shared driver workflow
of NAPALM/driver-standard; .github/ is gone.
- setuptools>=77 with the SPDX license string, no License classifier,
Python 3.13 classifier, napalm-device-types>=4.21.1, a dev extra with
floors, Issues and Changelog links; README installs from PyPI and links
pyVmomi on PyPI.
- mypy strict for the package (the blanket ignore_missing_imports is now
limited to napalm and yaml); exempt for now (35 errors): _inventory,
_session, _tasks, base, esxi, parse.environment, parse.snapshots,
parse.vm_devices, provision.seed, provision.transfer, provisioning.
Recorded in the quality baseline with the long and complex functions.
- Coverage floor 97 % (measured 97.11 %).