esxi_firewall

ESXi firewall rules via SOAP/pyVmomi.

saltext.vcf.clients.esxi_firewall.set_allowed_ips(opts, rule, allowed_ips, all_ip=False, profile=None)[source]

Replace the allowed-IP list for rule.

allowed_ips is a list of strings (CIDR or single addresses). all_ip True opens the rule to all sources.