48 Commits

Author SHA1 Message Date
Brian Federle
e8e496187c Instance wizard: Add 'deployVirtualMachine' event hook
For UI plugin development, add new event
'cloudStack.deployVirtualMachine'

-- This passes the wizard form data and all parameters that will be
   passed to deployVirtualMachine; allows plugin to extend data to pass
   additonal data automatically (i.e, custom form fields)
2014-08-26 13:37:11 -07:00
Brian Federle
e812b7551d Remove commented-out-code 2014-04-03 14:00:24 -07:00
Brian Federle
a82a1299ec WIP: Instance wizard UI: Support multi-disk offerings
Adds front-end support to instance wizard UI for service offerings
supporting multiple disks.

The UI changes will show if a list 'multipleDisks: []' is passed with
the disk offering data options.
2014-04-02 16:28:15 -07:00
Gabor Apati-Nagy
883d7f17f7 Value of Global parameter "custom.diskoffering.size.min" is not reflected in UI during new instance creation.
Added fields to /api and /server classes for CustomDiskOfferingMinSize
to be available in CapabilitiesResponse. Fixed UI code in Instance
Wizard to have this config value as the minimum selectable option when
we are in custom disk size mode.
2014-04-01 10:57:36 -07:00
Mike Tutkowski
d55c4dd804 CLOUDSTACK-6170 2014-03-14 23:47:20 -06:00
Mike Tutkowski
c427e8db1c CLOUDSTACK-6170 2014-03-07 15:38:50 -07:00
Jessica Wang
d71483f771 BUG-ID: CS-19426: UI > VPC > VM Wizard > change to send ipToNetworkList parameter instead of networkIds parameter to deployVM API.
Reviewed-by: Brian
2014-03-03 11:49:42 -08:00
Brian Federle
0d688fec73 VM wizard: Add specify IP field when in VPC flow 2014-03-03 10:52:53 -08:00
Jessica Wang
d5dc6aab61 CLOUDSTACK-6190: UI > VM Wizard > select network step > support specifying IP Address for every network. Change to use ipToNetworkList parameter instead of networkIds parameter of deployVM API. 2014-02-28 14:58:18 -08:00
Brian Federle
13bf1ec5da Disable root disk size field -- not supported in backend 2014-02-10 11:53:07 -08:00
Jessica Wang
3f359bb641 CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed) 2014-01-16 14:02:11 -08:00
Jessica Wang
2cbaf04b97 CLOUDSTACK-4738: UI > VM Wizard > deployVM API has been changed to take in one new parameter CUSTOM_PARAMETERS instead of 3 parameters CPU_NUMBER/CPU_SPEED/MEMORY. Here is corresponding UI change. 2013-12-03 13:12:46 -08:00
Jessica Wang
856703cc1c CLOUDSTACK-4758: UI > Instance Wizard > (1) pass cpuNumber, cpuSpeed, memory to API when custom area is shown (i.e. when selected compute offering is dynamic).
(2) pass rootDiskSize to API when custom area is shown (i.e. when selected item in step 2 is a template).
2013-10-31 13:56:42 -07:00
Jessica Wang
1d1f585079 CLOUDSTACK-4758: UI > VM wizard > step 2 > show Root Disk Size field when listing is templates, hide Root Disk Size field when listing is ISOs. 2013-10-29 15:22:10 -07:00
Brian Federle
f0a8aa7f5e CLOUDSTACK-4738: VM wizard: Add custom fields for compute offering 2013-10-29 13:29:13 -07:00
Brian Federle
1f0dd7cc36 CLOUDSTACK-4931: Instance wizard: use fn to hide/show template root size 2013-10-23 09:58:38 -07:00
Brian Federle
43b18025e3 CLOUDSTACK-4758: Add 'root disk size' field
Add 'root disk size' slider to instance wizard UI, under select
template/iso, if the selected template's size is able to be customized.
2013-10-22 11:45:18 -07:00
Jessica Wang
fc202bcfdd CLOUDSTACK-4302: UI > VM wizard > affinity group step > if selected zone is dedicated, pre-select ExplicitDedication affinity group and make it non-editable. 2013-08-14 17:47:44 -07:00
Brian Federle
7d89418475 CLOUDSTACK-4302: Instance wizard: Selected affinity group is readonly
If adding an instance from affinity group VM list view, make that
affinity group non-editable in 'select affinity group' step to keep
context.
2013-08-13 14:36:28 -07:00
Ian Duffy
ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Nitin Mehta
c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Jessica Wang
d146f3d93a CLOUDSTACK-2038: cloudstack UI - mixed zone management - instance wizard. 2013-04-15 13:55:51 -07:00
Jessica Wang
4534dafba1 CLOUDSTACK-1840: cloudstack UI - VM Wizard - fix a bug that the first parameter in jQuery.grep() should not be null. 2013-03-28 16:23:34 -07:00
Brian Federle
d6ce2af209 CLOUDSTACK-748: Support deployment of VM on Tier + network 2013-03-14 12:53:39 -07:00
Jessica Wang
cc24bebcb6 CLOUDSTACK-537: cloudstack UI - Advanced sg-enabled zone - VM Wizard - step 5 - select network screen - populate only sg networks (i.e. not show non-sg networks). 2013-02-07 13:19:55 -08:00
Jessica Wang
867cb4aa81 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - when total number of selected sg networks is greater than 0 and total number of selected networks is greater than 1, pop up client-side validation error message "Can't create a vm with multiple networks one of which is Security Group enabled". 2013-01-29 16:44:58 -08:00
Jessica Wang
c02801b7b7 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - fix a bug that networkID was not passed to API call when selected networks don't include security group service. 2013-01-29 16:41:14 -08:00
Brian Federle
a2b2d45e40 Conditionally show select SG step
Only show select security group step if at least one guest network
with SecurityGroup service is selected.
2013-01-24 14:57:43 -08:00
Jessica Wang
635ac34d06 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step5 - select network step - desc field - append '(sg)' if a network includes security group service. 2013-01-21 16:02:39 -08:00
Jessica Wang
ff5477d1f1 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs. 2013-01-21 15:53:29 -08:00
Jessica Wang
bfdec24de4 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - specify canusefordeploy parameter in listNetworks API when populating network list. 2013-01-21 15:52:10 -08:00
Brian Federle
a4c413bc13 CLOUDSTACK-537: Fix for instance wizard
When using SG-enabled advanced zone, fix case where 'add guest
network' form shows up in select network step -- adding a guest
network via the wizard is not supported in this type of setup.
2013-01-21 14:30:56 -08:00
Jessica Wang
c9921ea077 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - show network list first, then security group list. reviewed-by: Brian 2013-01-18 10:44:44 -08:00
Jessica Wang
77bc04b90f CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - Instance wizard UI: Support advanced zone with security groups
For advanced zones with SG enabled, show both the add guest network
step as well as the add security group step.

reviewed-by: jessica
2013-01-18 10:38:38 -08:00
Jessica Wang
a22bfd7e7b CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - API has been chagned. Here is related UI change: not pass networkID to deployVirtualMachine API. 2013-01-16 15:10:24 -08:00
Jessica Wang
687d76b5e3 CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup option because backend has been changed to not always add DefaultSecurityGroup unless specified in DeployVirtualMachine API. 2012-11-27 15:47:07 -08:00
Jessica Wang
af79da5d80 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - VM wizard - (1) step 5 - Show Security Groups instead of networks. (2) When Launch button is hit, Programmatically find a Shared network with Security Group in the selected zone, then pass it to deployVirtualMachine API. 2012-11-26 13:03:27 -08:00
Brian Federle
27fcb788e9 Instance wizard UI: Support conditional hide/show of add network box
Adds new function 'showAddNetwork' to instance wizard configuration,
which conditionally hides the 'add network form' on the select network
step. If it returns true, then show the box, otherwise false hides it.
2012-11-15 12:16:42 -08:00
Jessica Wang
83200abc18 CS-16573: cloudstack UI - create user - encode data passed to API call. 2012-11-02 11:19:57 -07:00
Jessica Wang
10a5bdab49 cloudstack UI - regular user in project view - VPC - tier - deploy VM - should pass projectid instead of account parameter to deployVirtualMachine API. 2012-10-04 12:53:54 -07:00
Jessica Wang
ccf99beaed cloudstack 3.0 UI - Instances page - VM Wizard - select network step - VPC filter - list only VPCs belonging to the current login (i.e. If the current login is root-admin, do not show VPCs belonging to regular-user/domain-admin in Instances page's VM Wizard.) 2012-08-15 15:00:26 -07:00
Jessica Wang
60f1dbe572 CS-15883: cloudstack 3.0 UI - VPC - VM Wizard - step 1 - zone dropdown - populate only one zone, the one that the VPC is under. 2012-08-09 17:09:19 -07:00
Jessica Wang
3b8494131f CS-15803: cloudstack 3.0 UI - VPC - fix a bug that root-admin failed to create a VM in a tier that belonged to regular-user or domain-admin. 2012-08-09 14:53:06 -07:00
Brian Federle
5cb356024f CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:42:40 -07:00
Jessica Wang
dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
Brian Federle
6d78cc4000 Add Apache license to new JS files 2012-06-28 13:40:19 -07:00
Brian Federle
2fe2a0e2fb Fix missing actionFilter causing instance wizard to never complete 2012-06-28 12:30:11 -07:00
Brian Federle
c347c6bd09 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:51:56 -07:00