Commit Graph

4564 Commits

Author SHA1 Message Date
Jessica Wang 163779200f CLOUDSTACK-544: cloudstack UI - template page, ISO page - edit, copy, download action is available if template/ISO and the login user is under the same project. 2012-11-26 16:13:01 -08:00
Jessica Wang e113556023 CLOUDSTACK-543: cloudstack UI - create network offering dialog - disable Redundant router capability checkbox, Conserve Mode checkbox (still visible, but can't be selected) when Guest Type is selected as Shared. 2012-11-26 15:29:52 -08:00
Jessica Wang c0d39ebbfe CLOUDSTACK-542: cloudtack UI - create network offering dialog - hide NetworkACL service field when Guest Type is selected as Shared. 2012-11-26 15:26:15 -08:00
Jessica Wang 08bd175d56 CLOUDSTACK-541: cloudstack UI - Network menu - Guest Network section - network detailPanel - show "View IP Addresses" icon regardless of having SourceNAT service or not. 2012-11-26 14:05:26 -08:00
Jessica Wang 7f40eef920 CLOUDSTACK-538: cloudstack UI - IP Addresses page - Acquire New IP button - If it's under a Basic zone, check whether its network offering is EIP ELB. If yes, show the button. If no, hide the button. 2012-11-26 13:52:19 -08:00
Pranav Saxena 17b11d7356 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-11-27 02:59:11 +05:30
Pranav Saxena eaa05f0694 CLOUDSTACK-539:Cropped Text in UI under Quick View 2012-11-27 02:58:25 +05:30
Jessica Wang 1fb80fc6ce CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - (1) hide create network button if there is no Advacned SG-disabled zones. (2) create network dialog - zone dropdown - populate only Advacned SG-disabled zones. 2012-11-26 13:12:41 -08:00
Jessica Wang b949813438 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Infrastructure menu - zone detail - physical network - guest - network tab - crate network dailog - scope dropdown - list only Accounts option if it's for an Advanced SG-enabled zone. 2012-11-26 13:10:44 -08:00
Jessica Wang 080a2dc9c5 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - network offering dropdown - exclude network offerings that include EIP, ELB service. 2012-11-26 13:08:30 -08:00
Jessica Wang 811c904fc3 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - network offering dropdown - populate only network offerings that include SecurityGroup service. 2012-11-26 13:06:30 -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
Jessica Wang 7d89d928d9 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - physical network step - remove public traffic from droppable container. 2012-11-26 12:45:47 -08:00
Jessica Wang 759d434ba3 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - hide public traffic step. 2012-11-26 11:59:52 -08:00
Jessica Wang f97f9631d8 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - skip configuring public traffic type. 2012-11-26 11:57:55 -08:00
Jessica Wang 36d175126d CLOUDSTACK-537: cloudstack UI - zone wizard - (1) Advanced SG-Enabled zone: enable VirtualRouter and SecurityGroup provider. (2) Advanced SG-Disabled zone: enable VirtualRouter and VpcVirtualRouter provider. 2012-11-26 11:55:41 -08:00
Jessica Wang d9ac544b06 CLOUDSTACK-537: cloudstack UI - zone wizard - create default guest network - Only pass gateway/netmask/startIp/endIp/VlanId to CreateNetwork API if it's an Advanced zone with SG. Do not pass them to CreateNetwork API if it's a Basic zone. 2012-11-26 11:23:48 -08:00
Jessica Wang e5ced5e4f4 CLOUDSTACK-537: cloudstack UI - zone wizard - Advanced zone with SG enabled - show Guest Traffic step with 5 fields (gateway, netmask, startIp, endIp, VLAN ID) and pass them to CreateNetwork API when creating default guest network. 2012-11-26 11:18:49 -08:00
Pranav Saxena ecbd0e91aa CLOUDSTACK-523:When adding Vms to an LB rule , when there are vms with display name that were provided by user and autogenearated uuid , the list vm screen extends beyond the frames original width: Fixed by associating a class with the dialog box 2012-11-20 12:56:14 +05:30
Brian Federle fa1696e3e6 CS-16822: multi-edit UI: Fix blank fields on add item
When adding an item, show all returned fields if noSelect is
true. This prevents hidden conditional form fields from having their
row data hidden, such as if an ICMP rule is added and the TCP
start/end port form fields are hidden due to space constraints.
2012-11-16 08:50:17 -08:00
Pranav Saxena 8d5c78e3d4 CS-16209,CS-16262:AutoScale server side changes for Supporting network element independent counter parameters in AutoScaleVmProfile 2012-11-16 11:06:44 +05:30
Vijay Venkatachalam affc162556 AutoScale: Fixing issues that occurred during rebase with master 2012-11-16 11:04:37 +05:30
Jessica Wang 8fdd0a469a CS-16459: cloudstack UI - network page - When creating Lb rules for a network that is not using netscaler for LB service, AutoScale button is hidden. 2012-11-16 10:57:00 +05:30
Jessica Wang e88ca00eb4 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-11-16 10:57:00 +05:30
Pranav Saxena 8c681746b9 CS-16211:Autoscale UI should display Enable/Disable Autoscale as the tooltip message instead of specifying VM group 2012-11-16 10:56:56 +05:30
Jessica Wang 3785d52b90 cloudstack 3.0 UI - basic zone - elastic IP - Add Load Balancer tab - Add VMs button - add a comment to specify code area. (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang ccc2368969 CS-16134: cloudstack 3.0 UI - autoscale - basic zone of elastic IP - Add Load Balancer tab - pass domainid and account to createLoadBalancerRule API since IP Address is not available. (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang f35d2c23f1 CS-15955: cloudstack 3.0 UI - autoscale - validation - convert type of scale policy duration and polling interval when comparing them (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang 193a8c4edb CS-15863: cloudstack 3.0 UI - autoscale - LB listing - VM listing - hide delete button based on vm displayname instead of vm name (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang 9365e5403b CS-16096: cloudstack 3.0 UI - autoscale - fix a regression caused by a server-server side change: ad6ac9b449 (CS-15617. Changed CounterResponse to a List as queryAsyncJob expects it.) (Reviewed-by: Brian) 2012-11-16 10:56:54 +05:30
Pranav Saxena e20f599a23 CS-15927:Filter to hide the autoscale VM's through a Regular expression for a Basic Zone 2012-11-16 10:56:54 +05:30
Pranav Saxena 373d4045c2 CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change) 2012-11-16 10:56:54 +05:30
Pranav Saxena c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena b8bb6f483e CS-15927:Filter to hide the autoscale VM's through a Regular expression for a load balancer Rule 2012-11-16 10:56:53 +05:30
Jessica Wang ce8fe90aae CS-15863: cloudstack 3.0 UI - (1) extend multiEdit widget to be able to hide actions upon an each item's properties.
(2) IP Addresses page - load balancer listing - VM listing - hide destroy action for autoscale VM.
2012-11-16 10:56:53 +05:30
Pranav Saxena 2c98ec461f CS-15988:Load Balancing configuration multiEdit table reorganisation 2012-11-16 10:56:53 +05:30
Pranav Saxena 8bd0012e33 CS-16004:LB rule name , ports validation missing under the load balancers tab for a basic zone autoscale configuration 2012-11-16 10:56:52 +05:30
Jessica Wang bcaa02fe09 CS-15956: cloudstack 3.0 UI - autoscale - create/update autoscale vm profile - change how data is passed to API. 2012-11-16 10:56:52 +05:30
Pranav Saxena 95738990a5 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-11-16 10:56:52 +05:30
Jessica Wang 8b5ee6414d CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval. 2012-11-16 10:56:52 +05:30
Jessica Wang 6dddd2d7ae CS-15953: cloudstack 3.0 UI - autoscale - add UI validation to validate value in those fields is a number: Min Instances, Max Instances, Polling Interval, Quiet Time, Destroy VM grace period, SNMP Port, Scale Up Policy duration, Scale Down Policy duration. 2012-11-16 10:56:51 +05:30
Jessica Wang 52a9d0e64b cloudstack 3.0 UI - autoscale - LB rules - (1) hide AddVMs button on LB rules created by Autoscale. (2) hide Autoscale button on LB rules created by AddVMs. 2012-11-16 10:56:51 +05:30
Brian Federle a7508c12c6 Add sample _hideFields to loadBalancer 2012-11-16 10:56:51 +05:30
Brian Federle 9fb33ecc21 multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-11-16 10:56:50 +05:30
Brian Federle 2ffc381ea1 multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-11-16 10:56:50 +05:30
Jessica Wang f7177b496f cloudstack 3.0 UI - autoscale - add validation, prompt "Please disable the Autoscale VM Group first" when users try to update autoscale that's in Enabled state. UI does not automatically fire disableAutoScaleVmGroup API any more when VM Group is in Enabled state. 2012-11-16 10:56:50 +05:30
Pranav Saxena 525912766a CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-11-16 10:56:49 +05:30
Jessica Wang b228841872 CS-15885: cloudstack 3.0 UI - autoscale - add UI-side validation - at least one condition is required in Scale Up/Down Policy. 2012-11-16 10:56:49 +05:30
Jessica Wang 3d754ed429 cloudstack 3.0 UI - autoscale - add validation that scale policy duration can not be less than Polling Interval. 2012-11-16 10:56:49 +05:30
Brian Federle 28513fa6c6 Autoscale UI actions: Support passing new actionFilter on complete
Conflicts:
	ui/scripts/ui-custom/autoscaler.js
2012-11-16 10:56:49 +05:30
Jessica Wang 08a73d1134 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-11-16 10:56:48 +05:30
Jessica Wang f348fcfb0e cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-11-16 10:56:48 +05:30
Jessica Wang 2f40e78056 cloudstack 3.0 UI - autoscale - configure AutoScale - resolve an error returned by updateAutoScaleVmGroup API "Only scaleup policies can be specified in scaleuppolicyids". 2012-11-16 10:56:48 +05:30
Jessica Wang e1275b4916 cloudstack 3.0 UI - autoscale - configure AutoScale - fix a bug when root-admin tried to update an AutoScale created by regular-user or domain-admin, users dropdown was not correctly populated (should be populated with users under owner account instead of users under current login account). 2012-11-16 10:56:48 +05:30
Jessica Wang 67ea9669ab CS-15836: cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a bug that root-admin was unable to see autoscale created by regular-user or domain-admin. 2012-11-16 10:56:47 +05:30
Jessica Wang b8d006c8f5 cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a JS bug "otherdeployparams is undefined". 2012-11-16 10:56:47 +05:30
Jessica Wang 45f8b8f553 cloudstack 3.0 UI - autoscale - for regular user - fix a bug that createAutoScaleVmProfile API fails because autoscaleuserid is undefined. 2012-11-16 10:56:47 +05:30
Brian Federle 9076ee5018 CS-15861: Validate form fields before showing autoscale UI
--only applies to new LB rule form, not existing LB rules.
2012-11-16 10:56:47 +05:30
Brian Federle 2e4923a286 Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-11-16 10:56:46 +05:30
Jessica Wang 4abf8ebeac cloudstack 3.0 UI - autoscale is not supported in VPC. So, hide autoscale button in LB listing in IP Addresses under VPC. 2012-11-16 10:56:46 +05:30
Jessica Wang 45891a9269 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-11-16 10:56:46 +05:30
Brian Federle 2bb5cb024f multiEdit widget: Support field pre-filter
If adding a 'fieldPreFilter' option to a multiEdit, the returned array
specifies field IDs to be hidden.
2012-11-16 10:56:45 +05:30
Brian Federle bbfb13a1d9 Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-11-16 10:56:45 +05:30
Jessica Wang bcd60dab09 CLOUDSTACK-496: cloudstack UI - zone wizard - replace Isolation mode VLAN/SecurityGroup radio buttons with one single checkbox SecurityGroup. 2012-11-15 15:52:28 -08:00
Jessica Wang 57aeb17a5f CLOUDSTACK-495: cloudstack UI - template page - delete template/ISO - fix a JS error "cloudStack.context.projects is null" 2012-11-15 15:50:01 -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
Brian Federle 83229aa460 Zone wizard UI: Change isolation mode selection
-Remove VLAN + SG radio buttons; replace with 'Security groups'
checkbox

-Pass boolean 'zone.sgEnabled' to zoneWizard action handler, instead of
'zone.isolationMode' from before.
2012-11-15 11:42:00 -08:00
Jessica Wang 9d7f48c40d CLOUDSTACK-485: cloudstack UI - zone wizard - Hide Guest Traffic Step(VLAN Range field) when Advanced/SecurityGroup is selected. Show it when Advanced/VLAN is selected. 2012-11-14 14:43:04 -08:00
Jessica Wang 60cec46333 CLOUDSTACK-484: cloudstack UI - zone wizard - Hide Guest CIDR field when Advanced/SecurityGroup is selected. Show it otherwise. 2012-11-14 14:39:54 -08:00
Brian Federle d1fb2f7634 Revert "CLOUDSTACK-483: Disable 'update' tab when host updates aren't supported"
Reverting because host update feature isn't supported under CS

This reverts commit 7f905cd94a.
2012-11-14 10:39:40 -08:00
Brian Federle 7f905cd94a CLOUDSTACK-483: Disable 'update' tab when host updates aren't supported 2012-11-14 10:29:35 -08:00
Jessica Wang 9f8d1e0048 CLOUDSTACK-477: cloudstack UI - zone wizard - When Advanced/SecurityGroup is selected, pass forVirtualNetwork=false to createVlanIpRange API. 2012-11-13 16:59:48 -08:00
Jessica Wang 5122cb9553 CLOUDSTACK-476: cloudstack UI - create network offering - Supported Source NAT type dropdown - set "Per zone" as default option. 2012-11-13 16:47:43 -08:00
Jessica Wang 0f7266767e CLOUDSTACK-475: cloudstack UI - create network offering - Hide VPC checkbox when Guest Type is Shared. Show it when Guest Type is Isolated. 2012-11-13 16:44:02 -08:00
Brian Federle 70a5a22329 Network list view: Fix incorrect 'acquire new ip' message from appearing
Fixes issue where global flag was sometimes causing the confirm
message to be incorrect for non-VPC acquire IP action.

Conflicts:
	ui/scripts/network.js
2012-11-13 10:52:32 -08:00
Brian Federle 456202162c Detail view/list view: Pass context to confirm messages 2012-11-13 10:52:32 -08:00
Jessica Wang 792c6c0082 CS-16749: cloudstack UI - create network offering - show LB Isolation dropdown when LB is selected and provider is external device regardless of Guest Type(Isolated/Shared) 2012-11-13 10:49:11 -08:00
Jessica Wang 442fff1dfd CS-16777: cloudstack UI - create network offering dialog - Associate IP checkbox should show when elastic IP (NOT elastic LB) is selected. 2012-11-13 10:20:08 -08:00
Jessica Wang 2f27746d71 CS-16802: cloudstack UI - Zone Wizard - add "Isolation Mode" (VLAN, Security Group) under advanced zone option. 2012-11-13 10:19:36 -08:00
Brian Federle 29978bdb81 CS-16802: Add isolation mode drop-down to zone wizard
-Adds new radio button pair, 'isolation mode' under Advanced zone
select, allowing selection of isolation mode

-Isolation mode is disabled if 'Basic' zone is selected

-Pass isolation mode via new property 'zone.isolationMode'
2012-11-09 14:38:46 -08:00
Brian Federle 8ed3788ade CS-16736: Remove 'mode' field from add SRX form 2012-11-09 09:40:53 -08:00
Brian Federle 85a107447c CS-16788: Fix width of multi-edit
Conflicts:
	ui/css/cloudstack3.css
2012-11-08 16:11:40 -08:00
Brian Federle e73634733b CS-16737: Restore show tooltip on focus 2012-11-08 11:29:30 -08:00
Brian Federle d24f057ff0 CS-16737: Fix tooltip alignment; allow attaching to parent element
Fixes issue where tooltip overlaps form due to variable input
widths. To fix, a new option 'attachTo' can be specified, which will
attach to the closest parent element matching the option's selector.
2012-11-08 11:29:19 -08:00
Pranav Saxena 4cb08a3d37 CLOUDSTACK-459:[Optional Public IP assignment for EIP with Basic Zone] Associate IP Checkbox in Create Network Offering Dialog is Displayed When Elastic LB is Selected 2012-11-09 00:44:53 +05:30
Pranav Saxena 9547a2f86e CS-16748:Add Network Resource Dialog Shows Inline Mode Configuration Option for Virtual Router as the Firewall Provider 2012-11-08 17:13:39 +05:30
Pranav Saxena dcdf35fc1e Network offering details: Service providers are not displayed anywhere:Modifying the code structure for map loop to retrieve the list of service providers in the form of key-value pairs 2012-11-08 16:17:34 +05:30
Pranav Saxena fda31ab4b7 CS-16767:Add VM's option is not visible while creating Load Balancing Rules with Netscaler [ Basic EIP and ELB Offering] 2012-11-08 14:05:16 +05:30
Pranav Saxena 23247e0530 CS-16714:Updgrading a network that has Network offering SRX/F5 inline mode to a network offering that has all service provided by VR does not give proper error message if user selects yes when UI prompts Do you want to keep the current guest network CIDR unchange 2012-11-08 12:20:58 +05:30
Pranav Saxena 6c30700fa4 CS-16737:When Registering templates OK button is hidden completely by the helper text that is provided when user selects Featured 2012-11-07 11:31:01 +05:30
Brian Federle 7df2866235 Better placement of infrastructure totals and icons 2012-11-06 14:19:49 -08:00
Brian Federle 49a3b6667b CS-16741: Fix traffic type descriptions
-Update alt tags to specify what the name of each traffic type is

-Move traffic type alt descriptions to message.properties, for
 localization
2012-11-06 13:55:32 -08:00
Jessica Wang 5b78686474 CS-16718: cloudstack UI - Infrastructure page - zone detail - physical network - guest (configure) - Networks tab - create network dialog - network offering dropdown - when scope is account or project, show all network offerings including the ones that has SourceNat service. 2012-11-06 11:14:12 -08:00
Pranav Saxena 2add554a6a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-11-06 13:40:00 +05:30
Pranav Saxena b67cd923d1 CS-16752:Mode option need to be removed whiile adding Netscaler Device 2012-11-06 13:32:43 +05:30
Jessica Wang 126b4b5790 CS-16483: cloudstack UI - template page, ISO page - delete action is available if template/ISO and the login user is under the same project. 2012-11-05 16:34:07 -08:00
Brian Federle 46cce3a891 Multi-edit: Fix width of select inputs 2012-11-05 16:06:12 -08:00
Brian Federle ee72ae677f Fix input field widths for multi-edit
Conflicts:
	ui/css/cloudstack3.css
2012-11-05 16:06:06 -08:00
Brian Federle d4c1848f33 Fix zone wizard multi-edit for Firefox 2012-11-05 15:50:03 -08:00
Brian Federle 13f286158b Disable egress UI, for now 2012-11-05 15:42:11 -08:00