vim_ovf

Export OVF descriptors via OvfManager + HttpNfcLease.

Import is intentionally not wrapped here — content library OVF deploy (vcenter_content_library.ovf_deploy) is the modern path for that workflow.

saltext.vcf.clients.vim_ovf.descriptor(opts, vm_id_or_name, *, ovf_name=None, description='', profile=None)[source]

Generate and return the OVF descriptor XML for vm_id_or_name.

Does NOT export VMDKs — use export() for the full bundle.

saltext.vcf.clients.vim_ovf.export(opts, vm_id_or_name, output_dir, *, ovf_name=None, profile=None)[source]

Export OVF descriptor + all VMDKs to output_dir.

Returns {descriptor_path, vmdk_paths}. The lease must be released (Complete()) when the pull finishes, which this function does for you.