vcf_esxi_host

State module for ESXi host system configuration.

saltext.vcf.states.vcf_esxi_host.maintenance(name, enabled=True, profile=None)[source]

Ensure the ESXi host is in (or out of) maintenance mode.

name is descriptive; the host targeted is whichever ESXi the pillar points at (or the current resource for resource framework calls).

saltext.vcf.states.vcf_esxi_host.lockdown(name, mode='NORMAL', exception_users=None, profile=None)[source]

Ensure lockdown mode matches mode (NORMAL, STRICT, DISABLED).