vcf_vim_host_maintenance

Execution module for SOAP host maintenance with evacuation policy.

saltext.vcf.modules.vcf_vim_host_maintenance.is_in(host, profile=None)[source]

True if host is in maintenance mode.

CLI Example:

salt '*' vcf_vim_host_maintenance.is_in <host>
saltext.vcf.modules.vcf_vim_host_maintenance.enter(host, evacuate_powered_off_vms=False, vsan_mode=None, timeout=0, profile=None)[source]

Enter maintenance mode with optional evacuation and vSAN mode.

CLI Example:

salt '*' vcf_vim_host_maintenance.enter <host> evacuate_powered_off_vms=True
saltext.vcf.modules.vcf_vim_host_maintenance.exit_(host, timeout=0, profile=None)[source]

Exit maintenance mode.

CLI Example:

salt '*' vcf_vim_host_maintenance.exit_ <host>