Expand description
ISO download orchestration state machine.
Composes DHCP → HTTP state machines for complete ISO download workflow.
§Architecture
Init → WaitingForNetwork → Downloading → WritingToDisk → Done
↓ ↓ ↓ ↓
Failed Failed Failed Failed§Streaming Support
For large ISO downloads (often 1-4GB), data is streamed directly to disk rather than buffered in memory. The state machine coordinates:
- DHCP: Obtain network configuration
- HTTP: Download ISO with streaming callbacks
- Disk: Write chunks to VirtIO-blk as they arrive
§Reference
NETWORK_IMPL_GUIDE.md §5.6
Structs§
- Configuration for ISO download.
- Overall download progress.
- Result of successful download.
Enums§
- Errors during ISO download.
- Download phase for progress tracking.
- ISO download orchestration state machine.