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
updatewith an expansion spec.