saltext.vcf.utils.vsan¶
vSAN Management SDK (SOAP) connection helpers.
vSAN management uses the /vsanHealth endpoint on vCenter — a separate
SOAP service from the main vCenter /sdk. Both share authentication;
the vSAN stub re-uses the vCenter session cookie from
saltext.vcf.utils.vim.
The well-known managed-object IDs at /vsanHealth are stable
(documented in the vSAN Management SDK). Functions here instantiate them
lazily and cache stub+MO pairs per (host, username).
Used by clients/vsan_* for cluster vSAN config, disk management,
fault domains, health checks, iSCSI, stretched clusters, and object
inspection.
- saltext.vcf.utils.vsan.get_stub(opts, profile=None)[source]¶
Return a vSAN SOAP stub bound to the same session as
utils.vim.
- saltext.vcf.utils.vsan.cluster_config_system(opts, profile=None)[source]¶
vim.cluster.VsanVcClusterConfigSystem — cluster vSAN config CRUD.
- saltext.vcf.utils.vsan.cluster_health_system(opts, profile=None)[source]¶
vim.cluster.VsanVcClusterHealthSystem — cluster health checks.
- saltext.vcf.utils.vsan.disk_management_system(opts, profile=None)[source]¶
vim.cluster.VsanVcDiskManagementSystem — disk-group management.
- saltext.vcf.utils.vsan.iscsi_target_system(opts, profile=None)[source]¶
vim.cluster.VsanIscsiTargetSystem — vSAN iSCSI service + targets.
- saltext.vcf.utils.vsan.stretched_cluster_system(opts, profile=None)[source]¶
vim.cluster.VsanVcStretchedClusterSystem — stretched-cluster ops.