cloudstack/ui/scripts
Nicolas Vazquez 3c2af55d81 vmware: allow configuring appliances on the VM instance wizard when OVF properties are available (#3271)
Problem: In Vmware, appliances that have options that are required to be answered before deployments are configurable through vSphere vCenter user interface but it is not possible from the CloudStack user interface.

Root cause: CloudStack does not handle vApp configuration options during deployments if the appliance contains configurable options. These configurations are mandatory for VM deployment from the appliance on Vmware vSphere vCenter. As shown in the image below, Vmware detects there are mandatory configurations that the administrator must set before deploy the VM from the appliance (in red on the image below):

Solution:
On template registration, after it is downloaded to secondary storage, the OVF file is examined and OVF properties are extracted from the file when available.
OVF properties extracted from templates after being downloaded to secondary storage are stored on the new table 'template_ovf_properties'.
A new optional section is added to the VM deployment wizard in the UI:
If the selected template does not contain OVF properties, then the optional section is not displayed on the wizard.
If the selected template contains OVF properties, then the optional new section is displayed. Each OVF property is displayed and the user must complete every property before proceeding to the next section.
If any configuration property is empty, then a dialog is displayed indicating that there are empty properties which must be set before proceeding
image
The specific OVF properties set on deployment are stored on the 'user_vm_details' table with the prefix: 'ovfproperties-'.
The VM is configured with the vApp configuration section containing the values that the user provided on the wizard.
2019-08-09 16:14:46 +05:30
..
ui ui: Fix sorting bug in UI Code (#3445) 2019-07-02 12:53:10 +05:30
ui-custom vmware: allow configuring appliances on the VM instance wizard when OVF properties are available (#3271) 2019-08-09 16:14:46 +05:30
accounts.js server: Add option 'details' to listProjects and listAccounts (#3331) 2019-07-04 16:26:04 +05:30
accountsWizard.js Remove 'todb' in favor of 'encodeURIComponent'. (#2572) 2018-04-16 13:44:27 +02:00
affinity.js Removed leading tabs from ui/scripts/*.js 2015-08-07 11:58:13 +02:00
autoscaler.js [migrateVolume API method] Filter disk offerings based on storage pool selected (#2612) 2018-05-04 08:04:10 -03:00
cloud.core.callbacks.js CLOUDSTACK-9408 for the move away from download.cloud.com 2017-04-20 11:35:36 +05:30
cloudStack.js Misc fixes to sharing templates functionality 2019-07-31 15:19:21 +05:30
configuration.js ui: fix for delete VPC offering bug 2019-07-01 17:04:54 +05:30
dashboard.js CLOUDSTACK-10059: Dashboard ignores resource value that is less than 1% 2017-08-31 16:11:58 +02:00
docs.js Allow users to share templates with Accounts or Projects through the UI 2019-07-18 17:42:55 +01:00
domains.js Fix delete domain button in the UI to update only after job finishes (#2905) 2018-11-11 18:41:37 -02:00
events.js ui: add user information on the Event-View in the UI (#2826) 2018-08-30 14:33:38 +05:30
globalSettings.js api: instance and template details are free text (#3240) 2019-06-27 09:14:47 +05:30
installWizard.js Remove 'md5Hashed' variable from Javascript. (#2555) 2018-04-13 10:43:52 +02:00
instanceWizard.js vmware: allow configuring appliances on the VM instance wizard when OVF properties are available (#3271) 2019-08-09 16:14:46 +05:30
instances.js server: Add support for new heuristics based VM Deployement for admins (#3454) 2019-07-13 12:52:48 +05:30
lbCertificatePolicy.js server: Add option 'details' to listProjects and listAccounts (#3331) 2019-07-04 16:26:04 +05:30
lbStickyPolicy.js CLOUDSTACK-8744 Add missing localization (l10n) for several parts in the UI 2015-08-18 11:16:14 +01:00
metrics.js server: export granular volume bytes and iops metrics (#3259) 2019-06-27 09:18:10 +05:30
network.js ui: fix for multiple network offering listing 2019-07-12 13:51:39 +05:30
plugins.js ui: insert plugin css files before custom.css file (#2784) 2018-08-08 12:07:56 +05:30
postLoad.js ui: configurable branding, keyboard list and hide-able columns through a new config.js file (#3258) 2019-05-30 15:32:37 +05:30
projects.js server: Add option 'details' to listProjects and listAccounts (#3331) 2019-07-04 16:26:04 +05:30
regions.js CLOUDSTACK-8672 : NCC Integration with CloudStack. 2017-07-20 12:42:43 +05:30
roles.js api: instance and template details are free text (#3240) 2019-06-27 09:14:47 +05:30
sharedFunctions.js Misc fixes to sharing templates functionality 2019-07-31 15:19:21 +05:30
storage.js Merge branch 'master' into storage-offering-domains-zones 2019-07-12 10:21:51 +05:30
system.js ui: Fix SystemVMs public range dedication (#3495) 2019-07-17 20:13:40 +05:30
templates.js vmware: allow configuring appliances on the VM instance wizard when OVF properties are available (#3271) 2019-08-09 16:14:46 +05:30
vpc.js Merge remote-tracking branch 'origin/4.12' 2019-05-30 12:31:26 +05:30
zoneWizard.js Improvements after jquery update (#3183) 2019-04-25 16:09:43 -03:00