Files
napalm-vmware/CHANGELOG.md
T
Christian Manivong cf4d115475
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 15s
driver / lowest (pull_request) Successful in 34s
driver / types (pull_request) Successful in 1m3s
driver / test (3.12) (pull_request) Successful in 1m6s
driver / test (3.13) (pull_request) Successful in 57s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 1m48s
driver / publish (pull_request) Skipped
chore(release): 0.6.0
2026-11-29 20:10:03 +01:00

5.1 KiB
Raw Blame History

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.6.0] - 2026-11-29

Added

  • get_web_login_auth() on the vCenter driver (napalm-device-types 4.50.0's WebLoginAuthDict, NetOrk/netork#662): how people log in to the vSphere Client. Each identity provider of identity federation (GET /api/vcenter/identity/providers) is a source that decides itself (external), the default one first; each SSO domain the vSphere API names (UserDirectory.domainList: the system domain, localos, each AD or LDAP identity source) is a source whose second factor cannot be read (unknown): smart card and RSA SecurID live in SSO's authentication policy, which neither API exposes. Needs VcIdentityProviders.Read and VcIdentityProviders.Manage (the Read-only role has neither); without them the driver raises PermissionError naming them. The ESXi driver has no reader.

Changed

  • Requires napalm-device-types 4.50.0 or later (WebLoginAuthDict).

[0.5.0] - 2026-11-26

Added

  • get_vms() reports each VM's uid (napalm-device-types 4.44.0's VMDict.uid, NetOrk/netork#2728): its instance UUID, which already survives a migration and a restore. netOrk knows a guest by uid on every hypervisor that has one.

[0.4.0] - 2026-11-25

Added

  • resume_vm(name) on both drivers (napalm-device-types' HypervisorDriver, NetOrk/netork#2658): a VM suspend_vm suspended is powered on, which vSphere resumes from its saved state. A VM that is not suspended is refused.
  • get_clusters() on both drivers. The vCenter reports each cluster and each host added to a datacenter directly (as a cluster of one with no name), with the id <instanceUuid>/<MoRef>; an ESXi host reports itself, local, with its system UUID as the id. Each cluster lists its hosts (state, maintenance mode, CPU and memory; a disconnected host keeps only its name and state), the accessible datastores and the port groups its hosts see, each with the hosts that see it (NetOrk/netork#484).
  • create_vm_from_cloud_init(node=…): the host to create the VM on. A host that does not exist, is not connected, is in maintenance mode or does not see the datastore and port groups is refused with ValueError, before the image is downloaded (NetOrk/netork#1822).

Changed

  • Provisioning chooses the host before it downloads the image, so a request no host can take fails at once.
  • Python 3.12 is the floor (requires-python = ">=3.12"): netOrk runs every driver on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6).
  • The floor on napalm is 5.1: older releases import pkg_resources, which a Python 3.12 venv no longer has.
  • The floor on PyYAML is 6.0.1: 6.0 has no Python 3.12 wheel and does not build there.

[0.3.0] - 2026-10-23

The first release on PyPI.

Changed

  • The driver follows the NAPALM driver standard (https://git.netork.io/NAPALM/driver-standard): CI on Gitea runs ruff, mypy, the tests on Python 3.10–3.13 and at the lowest declared versions, bandit, pip-audit and a build check, and a release tag publishes to PyPI. Python 3.10 remains the floor; requires napalm-device-types 4.21.1.
  • Provisioning fails, and removes the imported VM, when vSphere hands back fewer network adapters than NICs were asked for, instead of leaving a NIC unconfigured. A failed abort of the import lease is logged at debug level.

Added

  • VM provisioning (create_vm_from_cloud_init, destroy_vm, get_vm_status, get_network_targets, get_image_storages) from qcow2/raw cloud images: converted with qemu-img, imported over OVF/NFC, configured by cloud-init from a NoCloud seed ISO. Tested against vcsim.
  • reboot_host on ESXi, refused outside maintenance mode.
  • Declares open-vm-tools as the guest agent for provisioned VMs.

Changed

  • Breaking: get_device_warnings is gone; the driver reports facts and the caller names the warnings (netOrk #1111). get_hypervisor_hosts() gives each host's connection state (None on ESXi, which cannot tell), maintenance mode, configuration issues and managing vCenter (ESXi only); get_licenses() gives the assigned licenses with their edition key as edition. Requires napalm-device-types 4.14.0; version 0.2.0.
  • The guest agent is declared per guest OS (GUEST_AGENTS, napalm-device-types 3.0); VMware provisions Linux guests only and refuses any other guest_os.
  • The NoCloud network-config comes from napalm-device-types (provisioning.network_config), which Proxmox uses as well.

[0.1.0] - 2026-09-24

Added

  • vmware_esxi and vmware_vcenter drivers (hypervisor role) over the vSphere API: facts, interfaces, LLDP/CDP, environment, VMs, VM config, power actions, snapshots, datastores, port groups and raw device warnings.
  • tools/harvest.py and tools/sanitize.py to capture fixtures from real hosts.

Pending

  • Validation against real ESXi and vCenter installations; tested against vcsim only.