Christian Manivong and Claude Haiku 4.5
ae23208eac
test(vm_provision): cover generic NIC config, dual-NIC trunk, disk resize
...
Test cases: single/dual NIC with VLAN tags or trunk config, per-NIC DHCP control,
disk resize parameter, snippet storage validation, IP wait timeout, destroy paths.
All TDD cases green.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-07-07 00:00:09 +02:00
Christian Manivong and Claude Haiku 4.5
7bdac4c496
feat(provisioning): implement VM provisioning mixin for Proxmox
...
Add ProxmoxVMProvisionMixin with three methods:
- create_vm_from_cloud_init(): clone template → dual-NIC config → Cloud-Init → start
- destroy_vm(): stop → delete VM → cleanup snippets
- get_vm_status(): poll guest-agent for IP with optional wait-for-IP polling
Tests (9 cases):
- _wait_for_task success/error/timeout handling
- create_vm happy path + missing snippet storage error
- get_vm_status with/without wait-for-IP, timeout handling
- destroy_vm on running or already-stopped VM
All tests pass (100% coverage on mixin code paths).
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-07-06 22:03:41 +02:00