LiberatorGate

Role gate for the Liberator network converge flow (Phase 3e of RunProxmoxUpdate).

Note

Two-layer mechanism (see docs/Liberator.adoc):

  • Translator-time: customer .cs marks the host with WithDescription("Liberator"). Liberator-aware translators synthesise OPNsense + Nextcloud + Mail + Dns child Machines into config.DirectoryService.Machines. Power Station / vanilla Proxmox hosts get no synthesis. Description is consumed at translation time and not propagated to Machine - by design.

  • Runtime: this gate. The resulting config shape determines the flow. OPNsense-presence in config for this host’s serial IS the canonical signal.

public static class LiberatorGate

1. Methods

1.1. IsFullLiberatorFlow(ISystemHost, NETSetupConfig)

Returns true when this Proxmox host should run the full Liberator network flow (Mikrotik VLAN push, OPNsense multi-VLAN API push, Proxmox VLAN-aware bridge, VM NIC retag). Returns false for Power Station / vanilla Proxmox / other roles.

public static bool IsFullLiberatorFlow(ISystemHost host, NETSetupConfig config)
Table 1. Parameters
Name Type Description

host

ISystemHost

config

NETSetupConfig

Returns: bool