sddc_cluster_ops

SDDC Manager cluster expand / shrink / delete operations.

The list/get surface lives in saltext.vcf.clients.sddc_cluster; this module adds the mutating lifecycle that sddc_cluster was missing. Every call returns an async task; pair with sddc_tasks to poll.

saltext.vcf.clients.sddc_cluster_ops.validate(opts, spec, profile=None)[source]

Validate a cluster spec (expand/create) before applying.

saltext.vcf.clients.sddc_cluster_ops.create(opts, spec, profile=None)[source]

Create a new cluster in an existing workload domain. Returns task body.

saltext.vcf.clients.sddc_cluster_ops.update(opts, cluster_id, spec, profile=None)[source]

Generic cluster update — expand (add hosts), shrink (remove hosts), mark for deletion. spec shape per SDDC API ClusterUpdateSpec.

saltext.vcf.clients.sddc_cluster_ops.expand(opts, cluster_id, host_specs, profile=None)[source]

Add hosts to a cluster. host_specs is a list of ClusterExpansionSpec.hostSpecs.

Wraps the generic update with an expansion spec.

saltext.vcf.clients.sddc_cluster_ops.shrink(opts, cluster_id, host_ids, force=False, profile=None)[source]

Remove hosts from a cluster.

host_ids is a list of SDDC host UUIDs; force skips the pre-removal validation (use with care).

saltext.vcf.clients.sddc_cluster_ops.mark_for_deletion(opts, cluster_id, profile=None)[source]

Mark a cluster for deletion (preflight; pair with delete).