vcf_vim_cluster_config

Execution module for cluster DRS/HA/EVC/DPM settings (SOAP).

saltext.vcf.modules.vcf_vim_cluster_config.drs_get(cluster, profile=None)[source]

Return current DRS config.

CLI Example:

salt '*' vcf_vim_cluster_config.drs_get domain-c9
saltext.vcf.modules.vcf_vim_cluster_config.drs_set(cluster, enabled=None, default_vm_behavior=None, migration_threshold=None, vm_monitoring_enabled=None, profile=None)[source]

Update DRS settings.

default_vm_behavior: manual | partiallyAutomated | fullyAutomated. migration_threshold: 1 (conservative) to 5 (aggressive).

CLI Example:

salt '*' vcf_vim_cluster_config.drs_set domain-c9 enabled=true default_vm_behavior=fullyAutomated
saltext.vcf.modules.vcf_vim_cluster_config.ha_get(cluster, profile=None)[source]

Return current HA config.

CLI Example:

salt '*' vcf_vim_cluster_config.ha_get domain-c9
saltext.vcf.modules.vcf_vim_cluster_config.ha_set(cluster, enabled=None, host_monitoring=None, vm_monitoring=None, restart_priority=None, isolation_response=None, admission_control_enabled=None, profile=None)[source]

Update HA settings.

host_monitoring: enabled | disabled. vm_monitoring: vmMonitoringDisabled | vmMonitoringOnly | vmAndAppMonitoring. restart_priority: disabled | low | medium | high | clusterRestartPriority. isolation_response: none | powerOff | shutdown.

CLI Example:

salt '*' vcf_vim_cluster_config.ha_set domain-c9 enabled=true vm_monitoring=vmMonitoringOnly
saltext.vcf.modules.vcf_vim_cluster_config.evc_get(cluster, profile=None)[source]

Return the cluster’s current EVC mode.

CLI Example:

salt '*' vcf_vim_cluster_config.evc_get domain-c9
saltext.vcf.modules.vcf_vim_cluster_config.evc_set(cluster, mode, profile=None)[source]

Set the EVC mode (e.g. intel-skylake, amd-zen).

CLI Example:

salt '*' vcf_vim_cluster_config.evc_set domain-c9 intel-skylake
saltext.vcf.modules.vcf_vim_cluster_config.evc_disable(cluster, profile=None)[source]

Disable EVC on the cluster.

CLI Example:

salt '*' vcf_vim_cluster_config.evc_disable domain-c9
saltext.vcf.modules.vcf_vim_cluster_config.dpm_get(cluster, profile=None)[source]

Return the cluster’s DPM config.

CLI Example:

salt '*' vcf_vim_cluster_config.dpm_get domain-c9
saltext.vcf.modules.vcf_vim_cluster_config.dpm_set(cluster, enabled=None, default_behavior=None, host_power_action_rate=None, profile=None)[source]

Update DPM settings.

default_behavior: manual | automated. host_power_action_rate: 1 (conservative) to 5 (aggressive).

CLI Example:

salt '*' vcf_vim_cluster_config.dpm_set domain-c9 enabled=true default_behavior=automated