From c97153515d1dc0d29701d0056f79576e1f96a5cf Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 17 Aug 2020 14:07:05 +0530 Subject: [PATCH] compute: vApps frontend support (#550) Support for vApp VM deployment for VMware Backend PR - https://github.com/apache/cloudstack/pull/4250 Signed-off-by: Abhishek Kumar Co-authored-by: nvazquez Signed-off-by: Rohit Yadav --- ui/src/config/section/image.js | 2 +- ui/src/locales/en.json | 7 + ui/src/views/compute/DeployVM.vue | 416 +++++++++++++++--- .../wizard/ComputeOfferingSelection.vue | 50 ++- .../views/image/RegisterOrUploadTemplate.vue | 12 + 5 files changed, 422 insertions(+), 65 deletions(-) diff --git a/ui/src/config/section/image.js b/ui/src/config/section/image.js index d8ad4cdca86..ad3a11991d2 100644 --- a/ui/src/config/section/image.js +++ b/ui/src/config/section/image.js @@ -43,7 +43,7 @@ export default { } return fields }, - details: ['name', 'id', 'displaytext', 'checksum', 'hypervisor', 'format', 'ostypename', 'size', 'isready', 'passwordenabled', 'sshkeyenabled', 'directdownload', 'isextractable', 'isdynamicallyscalable', 'ispublic', 'isfeatured', 'crosszones', 'type', 'account', 'domain', 'created', 'url'], + details: ['name', 'id', 'displaytext', 'checksum', 'hypervisor', 'format', 'ostypename', 'size', 'isready', 'passwordenabled', 'sshkeyenabled', 'directdownload', 'deployasis', 'isextractable', 'isdynamicallyscalable', 'ispublic', 'isfeatured', 'crosszones', 'type', 'account', 'domain', 'created', 'url'], searchFilters: ['name', 'zoneid', 'tags'], related: [{ name: 'vm', diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 1fd38600d95..63cbba7b6b5 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -702,6 +702,7 @@ "label.demote.project.owner.user": "Demote user to Regular role", "label.deleting.template": "Deleting template", "label.deny": "Deny", +"label.deployasis":"Deploy As-Is", "label.deploymentplanner": "Deployment planner", "label.description": "Description", "label.destcidr": "Destination CIDR", @@ -1142,6 +1143,7 @@ "label.isvolatile": "Volatile", "label.item.listing": "Item listing", "label.items": "items", +"label.i.accept.all.license.agreements": "I accept all license agreement", "label.japanese.keyboard": "Japanese keyboard", "label.keep": "Keep", "label.keep.colon": "Keep:", @@ -1213,6 +1215,7 @@ "label.ldap.group.name": "LDAP Group", "label.ldap.port": "LDAP port", "label.level": "Level", +"label.license.agreements": "License agreements", "label.limit": "Limit", "label.limitcpuuse": "CPU Cap", "label.limits": "Configure Limits", @@ -2869,6 +2872,7 @@ "message.launch.zone.description": "Zone is ready to launch; please proceed to the next step.", "message.launch.zone.hint": "Configure network components and traffic including IP addresses.", "message.ldap.group.import": "All The users from the given group name will be imported", +"message.license.agreements.not.accepted": "License agreements not accepted", "message.link.domain.to.ldap": "Enable autosync for this domain in LDAP", "message.listnsp.not.return.providerid": "error: listNetworkServiceProviders API doesn't return VirtualRouter provider ID", "message.listview.subselect.multi": "(Ctrl/Cmd-click)", @@ -2920,6 +2924,7 @@ "message.number.zones": "

# of Zones

", "message.outofbandmanagement.action.maintenance": "Warning host is in maintenance mode", "message.ovf.properties.available": "There are OVF properties available for customizing the selected appliance. Please edit the values accordingly.", +"message.ovf.configurations": "OVF configurations available for the selected appliance. Please select the desired value. Incompatible compute offerings will get disbaled.", "message.password.has.been.reset.to": "Password has been reset to", "message.password.of.the.vm.has.been.reset.to": "Password of the VM has been reset to", "message.pending.projects.1": "You have pending project invitations:", @@ -2945,6 +2950,7 @@ "message.publicip.state.free": "The IP address is ready to be allocated.", "message.publicip.state.releasing": "The IP address is being released for other network elements and is not ready for allocation.", "message.question.are.you.sure.you.want.to.add": "Are you sure you want to add", +"message.read.accept.license.agreements": "Please read and accept the terms for the license agreements.", "message.read.admin.guide.scaling.up": "Please read the dynamic scaling section in the admin guide before scaling up.", "message.recover.vm": "Please confirm that you would like to recover this VM.", "message.redirecting.region": "Redirecting to region...", @@ -3021,6 +3027,7 @@ "message.step.3.continue": "Please select a disk offering to continue", "message.step.4.continue": "Please select at least one network to continue", "message.step.4.desc": "Please select the primary network that your virtual instance will be connected to.", +"message.step.license.agreements.continue": "Please aceept all license agreements to continue", "message.storage.traffic": "Traffic between CloudStack's internal resources, including any components that communicate with the Management Server, such as hosts and CloudStack system VMs. Please configure storage traffic here.", "message.success.enable.saml.auth": "Successfully enabled SAML Authorization", "message.success.create.user": "Successfully created user", diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index 429de693a12..18f48cc655f 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -143,6 +143,32 @@ :status="zoneSelected ? 'process' : 'wait'">