vcf_vim_host_passthrough

Execution module for ESXi PCI passthrough (SOAP).

saltext.vcf.modules.vcf_vim_host_passthrough.list_(host, profile=None)[source]

List PCI passthrough devices on host.

CLI Example:

salt '*' vcf_vim_host_passthrough.list_ <host>
saltext.vcf.modules.vcf_vim_host_passthrough.refresh(host, profile=None)[source]

Force the host to re-scan its PCI inventory.

CLI Example:

salt '*' vcf_vim_host_passthrough.refresh <host>
saltext.vcf.modules.vcf_vim_host_passthrough.set_enabled(host, pci_id, enabled, profile=None)[source]

Toggle passthrough on a single PCI device. Requires reboot.

CLI Example:

salt '*' vcf_vim_host_passthrough.set_enabled <host> <pci_id> <enabled>