RewireVmNicsToVlans
Phase 3e helper: ensure each existing VM on the Liberator host has its vNIC tagged to the correct VLAN. Drift correction only - EnsureCustomerVms handles initial provisioning.
|
Note
|
Maps OS → VLAN tag:
Idempotent: only runs Gated by |
public static class RewireVmNicsToVlans
1. Methods
1.1. Run(ISystemHost, NETSetupConfig, IServiceProvider)
Inspects each existing VM, retags vNICs only when actual tag differs from desired.
public static void Run(ISystemHost host, NETSetupConfig config, IServiceProvider services)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
config |
NETSetupConfig |
|
services |
IServiceProvider |