COT.helpers.ovftool module¶
Give COT access to ovftool for validating and deploying OVF to ESXi.
https://www.vmware.com/support/developer/ovf/
-
class
OVFTool[source]¶ Bases:
COT.helpers.helper.HelperHelper provider for
ovftoolfrom VMware.https://www.vmware.com/support/developer/ovf/
Methods
install_helperInstall ovftool.validate_ovfUse VMware’s ovftoolprogram to validate an OVF or OVA.-
install_helper()[source]¶ Install
ovftool.Raise: NotImplementedErroras VMware does not currently provide any mechanism for automatic download of ovftool.
-
validate_ovf(ovf_file)[source]¶ Use VMware’s
ovftoolprogram to validate an OVF or OVA.This checks the file against the OVF standard and any VMware-specific requirements.
Parameters: ovf_file (str) – File to validate
Returns: Output from
ovftoolRaises: - HelperNotFoundError – if
ovftoolis not found. - HelperError – if
ovftoolregards the file as invalid
- HelperNotFoundError – if
-