vcf_esxi_firewall

State module for ESXi firewall rules.

saltext.vcf.states.vcf_esxi_firewall.rule_enabled(name, enabled=True, allowed_ips=None, all_ip=None, profile=None)[source]

Ensure firewall rule name matches the desired enabled / allowed-IP state.

allowed_ips and all_ip are optional — when omitted the allowed-host portion is left untouched.

saltext.vcf.states.vcf_esxi_firewall.rule_disabled(name, profile=None)[source]

Shortcut for rule_enabled(name, enabled=False).