-
Notifications
You must be signed in to change notification settings - Fork 45
Description
I have experimented with this plugin for several days now and after reading through the documentation, I am still confused on the exact functionality of keep_vm, format, output_directory, and sr_name.
To begin, I was under the impression that the sr_name provided the storage repository where the resulting files would be stored. If that is the case, what is the need for an output directory on the local machine? Are these two functionalities mutually exclusive, meaning, either you create a template OR you store the resulting XVA?
Additionally, is the logic for keep_vm reversed? Or am I missing something? It seems that if keep_vm=on_success is set, and the creation of the template is successful, the vm is actually deleted. Does "keeping" refer to downloading the XVA as opposed to keeping a template? Is this better names "keep_template"?
The documentation states that keep_vm=on_success "requests that the VM only be cleaned up if an artifact was produced. The latter is useful for debugging templates that fail." Wouldn't it make sense that you would keep the vm on failure? This wording confuses me.
Lastly, for the format setting, the documentation states, "Set to "none" to export nothing; this is only useful with "keep_vm" set to "always" or "on_success"." If keeping the vm means downloading it to the local machine at the output_directory, why would you every set the format to "none"?
Once these points are clarified, I would be more that willing to help update the documentation so that the next newbie is not as confused.