sddc_tasks

SDDC Manager async task polling.

Most VCF lifecycle operations (create domain, expand cluster, deploy edge, etc.) return 202 Accepted with a task identifier. This module provides the read + poll loop those callers need.

Task statuses observed in VCF 9.x: - IN_PROGRESS - Pending - Successful - Failed - Cancelled

saltext.vcf.clients.sddc_tasks.retry(opts, task_id, profile=None)[source]

Retry a failed task. Returns the task body.

saltext.vcf.clients.sddc_tasks.wait(opts, task_id, *, timeout=3600, poll_interval=10, profile=None)[source]

Block until task_id reaches a terminal status. Returns the final task body.

Raises TimeoutError if the task does not finish within timeout seconds. Raises RuntimeError on terminal Failed / Cancelled.