ConfigureOpnsenseVlans
Phase 3e helper: push multi-VLAN interface config + per-VLAN DHCP + DNS-forwarder
firewall aliases / filter rules to OPNsense via REST API.
|
Note
|
Idempotent, drift-correcting: re-pushed every Target state (see
Gated by |
public static class ConfigureOpnsenseVlans
1. Methods
1.1. Run(ISystemHost, NETSetupConfig, IServiceProvider)
Pushes desired OPNsense multi-VLAN config via REST API.
public static void Run(ISystemHost host, NETSetupConfig config, IServiceProvider services)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
config |
NETSetupConfig |
|
services |
IServiceProvider |