About Machine Mode
Last Updated December 16, 2024

You can use the --machineOutput option to run OVF Tool from another program or script. With the --machineOutput option, OVF Tool provides output in the following format:
STATUS-CODE details <blank line>.
OVF Tool inserts a blank line to signal the end of an operation. Each response line is prefixed with a plus (+) to avoid confusion with the terminating blank line. The last status it sends is always RESULT. OVF Tool sends all output, including errors and warnings, to standard output (stdout) so clients can listen on only one stream.
Machine Mode Status
Status
Details
Description
PROBE
XML
Probe result with information about the source.
VALIDATEHOST
XML
Shows whether the VI target is compatible with the input arguments.
AUTHENTICATION
source/target/proxy server locator or fileName
Shows that authentication is required.
CERTIFICATE
Validate, Self-signed, or Failed validate
Signals that a certificate is present and shows the result of the validation.
MANIFEST
Validate
or Failed validate
Signals that a manifest is present and shows the result of validation.
PROGRESS
Number (0-100)
Shows the percentage progress during upload and download.
TARGET_ID
Text, for example SugarCRM.ovf or vim.VirtualMachine:vm-415.
Shows the target ID after upload and download finishes.
RESULT
ERROR or SUCCESS
Always use as the last command sent.