vcf_nsx_cluster_vip

State module for the NSX Manager cluster API VIP.

Wraps /api/v1/cluster/api-virtual-ip so an idempotent Salt state can enforce the active/active cluster VIP required for management-plane HA (912 Controls: “NSX-T Controller must be configured as a cluster in active/active mode… configure NSX-T with a cluster VIP or external load balancer”).

saltext.vcf.states.vcf_nsx_cluster_vip.api_vip_set(name, ip_address=None, profile=None)[source]

Ensure the cluster API VIP is set to ip_address.

name may itself be the IP address; if ip_address is passed explicitly it wins so states can use a human-readable id in name.

No-op when the VIP already matches. When test=True, only reports what would change.

saltext.vcf.states.vcf_nsx_cluster_vip.api_vip_absent(name, profile=None)[source]

Ensure the cluster API VIP is cleared.

No-op when already unset.