cloudstack/ui/scripts/ui-custom
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
..
accountsWizard.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
affinity.js Fix set affinity for user overlay problem (Fixes #2986) (#2987) 2018-11-01 10:30:53 -03:00
autoscaler.js CLOUDSTACK-9229: Autoscale policy creation failing in VPC due to zoneid missing in createAutoScaleVmProfile 2016-01-13 15:47:06 +05:30
copyTemplate.js CLOUDSTACK-9700: Allow user to Register/Copy templates to multiple zones at the same time 2017-05-15 14:07:22 +05:30
dashboard.js Format JS 2013-07-18 12:34:20 -04:00
enableStaticNAT.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
granularSettings.js api: instance and template details are free text (#3240) 2019-06-27 09:14:47 +05:30
healthCheck.js CLOUDSTACK-9237: Create LB Healthcheck issues - button alignment and error message goes outside the window 2016-01-14 15:23:01 +05:30
installWizard.js General cleanup, source formatting, remove whitespace 2013-08-02 14:20:47 +05:30
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
ipRules.js Format JS 2013-07-18 12:34:20 -04:00
login.js CLOUDSTACK-8701: Allow SAML users to switch accounts 2015-08-14 11:58:44 +05:30
metricsView.js ui: improve metrics view implementation 2016-01-18 12:50:57 +01:00
migrate.js Fix "Migrate instance to another host" popup modal (#2803) 2018-08-28 22:14:03 -03:00
physicalResources.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
pluginListing.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
projectSelect.js populate project select when clicked on to display latest project options (#2810) 2018-08-20 10:03:51 +02:00
projects.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
recurringSnapshots.js api: snapshot, snapshotpolicy tag support (#3228) 2019-06-27 09:21:08 +05:30
regions.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
saml.js CLOUDSTACK-10101: Present the full domain name when listing user's domains in SAML2 plugin (#2280) 2017-10-10 10:12:03 +05:30
securityRules.js Format JS 2013-07-18 12:34:20 -04:00
uploadVolume.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
vpc.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00
zoneChart.js CLOUDSTACK-9997: Add cpu cores information in CapacityResponse 2017-07-22 11:26:37 +02:00
zoneFilter.js Format JS 2013-07-18 12:34:20 -04:00
zoneWizard.js Update jquery and related libraries (#3069) 2019-01-16 14:22:22 -02:00