Refactor VM provisioning pipeline into focused services and add IP pool

management
This commit is contained in:
baodev0
2026-05-29 12:03:35 +07:00
parent 6bb4a47bfb
commit 7ae237ee9d
32 changed files with 1170 additions and 1200 deletions
@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Services\VirtualMachine\Dto;
use App\Models\ModuleHost;
use App\Models\Os;
use App\Models\vCenter;
class VmInfrastructureContext
{
public function __construct(
public readonly Os $os,
public readonly ModuleHost $host,
public readonly mixed $datacenter,
public readonly vCenter $vcenter,
public readonly mixed $template,
public readonly bool $isWindows,
public readonly string $vmUser,
public readonly int $vmPort,
) {
}
}