saltext.vcf.utils.installer

VCF Installer REST API connection helpers.

The VCF Installer (formerly Cloud Builder) is the Day-0 bringup appliance that deploys management-domain ESXi, vCenter, NSX, the VMSP cluster, and SDDC Manager. It exposes a REST API at https://<installer>/v1/ authenticated with a short-lived JWT obtained from POST /v1/tokens. All subsequent requests carry Authorization: Bearer <token>; a 401 invalidates the cached token and triggers a fresh login.

The login user is admin@local (the bare admin form is rejected with 401 even with the right password).

Config is read from Salt opts/pillar under saltext.vcf.vcf_installer:

saltext.vcf:
  vcf_installer:
    host: installer.vcf.nimbus.internal
    username: admin@local
    password: VMware123!VMware123!
    verify_ssl: false
saltext.vcf.utils.installer.get_config(opts, profile=None)[source]

Extract VCF Installer connection config from Salt opts/pillar.

saltext.vcf.utils.installer.invalidate_session(opts, profile=None)[source]

Drop the cached session for the configured target.