vim_host_dns

ESXi host DNS / hostname config via HostNetworkSystem (SOAP).

saltext.vcf.clients.vim_host_dns.get(opts, host, profile=None)[source]

Return {dhcp, hostname, domain_name, servers, search_domains, virtual_nic}.

saltext.vcf.clients.vim_host_dns.set_(opts, host, *, dhcp=None, hostname=None, domain_name=None, servers=None, search_domains=None, virtual_nic=None, profile=None)[source]

Update the host’s DNS config. Any None argument leaves the current value alone.