Add comprehensive XML generation tests covering: multi-disk VMs, multi-NIC configurations, MAC addresses, boot order, memory conversion, sequential disk naming, custom storage pools, NAT/route/isolated networks, volume sizing, builder defaults, q35 machine type, and serial console. Add kvm-vm-examples binary with 5 scenarios: - alpine: minimal 512MB VM, fast boot for testing - ubuntu: standard server with 25GB disk - worker: multi-disk (60G OS + 2x100G Ceph OSD) for storage nodes - gateway: dual-NIC (WAN NAT + LAN isolated) for firewall/router - ha-cluster: full 7-VM deployment (gateway + 3 CP + 3 workers) Each scenario has clean and status subcommands. 19 KVM unit tests pass (17 new + 2 existing). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
330 B
TOML
17 lines
330 B
TOML
[package]
|
|
name = "kvm-vm-examples"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "kvm-vm-examples"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
harmony = { path = "../../harmony" }
|
|
tokio.workspace = true
|
|
log.workspace = true
|
|
env_logger.workspace = true
|
|
clap = { version = "4", features = ["derive"] }
|