Commit Graph

233 Commits

Author SHA1 Message Date
Wei Zhou f714d26039 Revert "CLOUDSTACK-1301: Add VM Disk I/O Throttling"
This reverts commit 6dad8adf8f.
2013-06-03 07:48:03 +02:00
Wei Zhou 6dad8adf8f CLOUDSTACK-1301: Add VM Disk I/O Throttling 2013-06-01 08:03:02 +02:00
Wei Zhou b9b0168da4 CLOUDSTACK-1192: Add Disk I/O Statistics 2013-06-01 08:00:48 +02:00
Brian Federle 612ce62cae Add tier VM, PF, static NAT links 2013-05-15 15:33:13 -07:00
Milamber 2e1877af33 CLOUDSTACK-2413 - Display the Name of compute offering in dialog box Change Service Offering (was Description field before) 2013-05-09 10:50:04 +01:00
Pranav Saxena e6ae66d596 scaleUp VM response change corresponding UI changes 2013-05-06 14:08:40 +05:30
Pranav Saxena b33b316755 scale up virtual machine response change in the backend 2013-05-05 12:02:32 +05:30
Isaac Chiang 63f3ccd4df CLOUDSTACK-2160:Refresh button functionality for security groups and statistics tab 2013-05-04 13:41:02 +05:30
Jessica Wang 50a3c918c8 CLOUDSTACK-2120: mixed zone management - UI - instances.js - remove obsolete code that has been replaced with new change in global function createURL(). 2013-05-01 14:44:58 -07:00
Brian Federle 86a9f27692 Detail view/instances section: Fix context, add makeDefault action
-Add 'makeDefault' action to set default NIC

-Fix context passing for multi-actions, which wasn't passing the correct
 nic object previously.
2013-04-26 15:21:57 -07:00
Brian Federle c02a4b9c7f Fix remove NIC UI behavior 2013-04-26 13:42:56 -07:00
Brian Federle ae79d782ec Add remove NIC API calls 2013-04-26 10:48:25 -07:00
Brian Federle 18a337270d Merge branch 'master' into ui-add-remove-nics 2013-04-25 11:09:51 -07:00
Brian Federle 25f2f0fcb7 Merge branch 'master' into ui-vm-affinity
Conflicts:
	ui/scripts/instances.js
2013-04-24 16:02:56 -07:00
Jessica Wang cdd459bb0b CLOUDSTACK-2120: mixed zone management - (1) extend listVirtualMachines API to to take in zonetype. (2) UI: populate Instances list page with instances whose zonetype matches selected option in zone type dropdown on top menu. 2013-04-24 10:38:28 -07:00
Jessica Wang 27900695f4 CLOUDSTACK-1735: cloudstack UI - IPv6 - instances detailView - Nics tab - add IPv6 IP Address, IPv6 Gateway, IPv6 CIDR field. 2013-04-22 14:05:56 -07:00
Brian Federle 7b011e7ef4 Merge branch 'master' into ui-vm-affinity
Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/scripts/cloudStack.js
	ui/scripts/instanceWizard.js
2013-04-22 13:45:29 -07:00
Jessica Wang 35681f3e06 CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action - implement API call. 2013-04-19 17:37:22 -07:00
Jessica Wang c4fa5c0f17 CLOUDSTACK-2074: cloudstack UI - Affinity - "View Instances" drilldown - new parameter "affinitygroupid" has been added to listVirtualMachines API. Here is related UI change. 2013-04-19 14:06:25 -07:00
Pranav Saxena fc4f19f915 Storage Motion UI development 2013-04-19 18:27:07 +05:30
Pranav Saxena f98ce5ddcc ClOUDSTACK-2111:UI remain in processing state even after scaleVM executed successfullY 2013-04-19 15:14:57 +05:30
Jessica Wang ea2a43e98a CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - remove "Affinity Groups" tab that has been replaced with "View Affinity Groups" drilldown in Details tab. 2013-04-18 17:37:53 -07:00
Jessica Wang 6c98696d8c CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - implement "View Affinity Groups" drilldown. 2013-04-18 17:31:29 -07:00
Jessica Wang 7f6e7c6f81 CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action dialog - a workaround to avoid dataProvider() being called twice that populates duplicate data. 2013-04-18 17:01:45 -07:00
Jessica Wang 2198dda742 CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action - populate affinity groups in dialog. 2013-04-18 16:38:25 -07:00
Jessica Wang 030235ba52 CLOUDSTACK-2074: cloudstack UI - Affinity - Affinity Group page - details tab - implement "View Instances" on right top corner. 2013-04-18 14:04:31 -07:00
Jessica Wang 935b08b216 CLOUDSTACK-2074: cloudstack UI - Affinity - instance detail page - add new tab "Affinity Groups". 2013-04-18 10:55:56 -07:00
Brian Federle 2f0e0d9a7d Affinity UI: Pre-select checkboxes 2013-04-15 14:02:58 -07:00
Brian Federle 66a16a1fd3 'Change VM affinity' select UI: Pass data to action 2013-04-15 13:01:23 -07:00
Brian Federle 267568483b Merge branch 'master' into ui-vm-affinity 2013-04-15 10:24:36 -07:00
Pranav Saxena 48c1c00891 Scale UP VM form functionality for choosing a service offering 2013-04-15 11:01:59 +05:30
Brian Federle 51cfc0709f Affinity rules UI: Add 'changeAffinity' action for VM
-Adds action to VM on stopped state

-Add dialog with list view showing affinity groups and checkboxes
2013-04-12 16:55:01 -07:00
Pranav Saxena 499bc6306e adding error handling mechanism to scale up vm functionality 2013-04-10 11:43:59 +05:30
Brian Federle 564a850f1b WIP 2013-04-08 16:37:27 -07:00
Pranav Saxena ae4befb0b9 Merge remote-tracking branch 'remotes/origin/scale-UP' 2013-04-05 15:06:36 +05:30
Brian Federle 4f5d311848 WIP - Implement/style NIC actions 2013-04-03 17:55:39 -07:00
Brian Federle 93db30e4e1 UI, instance nics tab: Implement 'add network' action
-Change detail widget to support 'add' action on per-nic/item detail groups

-Implement add network/NIC action on instances NIC tab
2013-04-03 14:23:23 -07:00
Brian Federle 85ef511702 Instances UI: Better start instance notification
-Don't show dialog if no password enabled on start -- inhibits
 'Start instance' dialog from appearing for every VM.

-Use standard dialog (not alert) for VM password notification
2013-03-21 13:26:03 -07:00
Brian Federle f24ee207c4 Multiple NICs UI: Refactor list view/detail view
Puts secondary IP list view and detail view in dedicated section,
instead of as part of the public IP address section.

Removes conditional API calls from public IP address list/detail view
for secondary NICS.
2013-03-06 12:13:00 -08:00
Brian Federle b652d2e4ba Implement view all behavior for multi-items
-Call viewAll() on click to open new panel with corresponding view

-Pass context of selected item (such as nic object) to panel

-Allow custom title for panel
2013-02-25 11:05:42 -08:00
Brian Federle 29f9137e2d WIP: Add view all button to NIC 2013-02-22 15:53:48 -08:00
Brian Federle df0039368b Fix missing 'add' action on instances page 2013-02-22 11:21:59 -08:00
Brian Federle fa14380ac9 Remove old list view actions 2013-02-21 15:21:31 -08:00
Brian Federle 1ac86e96cb Quick view UI: Fix to support multiple quick links
There was previously a limitation in the detail view/quickview where
only 1 'view all' link was visible per page. Change this to show n
number of view all links, if an array is passed to 'viewAll.' This also
lowers the # of clicks necessary to navigate to some items.

This also adds more view all buttons to instances, storage, and system
resources.
2013-02-21 15:09:03 -08:00
Pranav Saxena 534f5540a3 scale UP CPU and memory UI 2013-02-22 02:16:20 +05:30
Pranav Saxena b091ea6ead scale UP CPU and memory UI 2013-02-22 02:07:08 +05:30
Mice Xia 9a12756ae4 CLOUDSTACK-684 support vm snapshot 2013-02-14 01:26:30 +08:00
Pranav Saxena 30dd34d258 CLOUDSTACK-588:restoreVirtualMachine api functionality on the UI while the VMs are in running or stopped state 2012-12-06 02:35:49 +05:30
Pranav Saxena 1d0a1adb8e CLOUDSTACK-546:Guest vms which are in expunging state should be displayed 2012-11-28 15:34:28 +05:30
Jessica Wang 46cec7342a CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Instance menu - instance detailView - show SecurityGroups tab for Advanced SG-Enabled zone. 2012-11-27 15:09:55 -08:00
Pranav Saxena ed5bd846e8 CLOUDSTACK-550:Getting TypeError: items is undefined error in UI when we click on Instances tab while no instances are launched yet:Handling the null case for items 2012-11-27 17:29:50 +05:30
Pranav Saxena 8d4400946d CLOUDSTACK-546:Guest vms which are in expunging state should not be displayed in UI:Fixed by changing the response to blank in case of an expunging state 2012-11-27 07:23:20 +05:30
Jessica Wang de1fd5d0a8 CS-16573: cloudstack UI - create template from VM - encode data passed to API call. 2012-10-24 14:52:53 -07:00
Jessica Wang afeced1e43 CS-16573: cloudstack UI - update instance - encode data passed to API call. 2012-10-24 14:52:13 -07:00
Jessica Wang f4d085d609 CS-16486: cloudstack UI - listView dataProvider - not to pass details=min as default. 2012-10-16 11:05:06 -07:00
Jessica Wang ff8fccccb2 CS-16326: cloudstack UI - instance page - listView - (1) the column that maps to name property in API response is labelled as "Name" instead of "Host Name".
(2) add back Internal Name column for root-admin.
2012-10-16 10:01:15 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Jessica Wang 7af3f6ef94 cloudstack 3.0 UI - instance page - listView - not pass details=min to API call since nic and securitygroup info is needed here. 2012-10-05 15:21:47 -07:00
Jessica Wang 7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang 939e060e2e cloudstack UI - advanced search on instance page - domain field - add blank option, so admin has a choice to see all domains instead of being forced to stick with one domain for each search. 2012-10-04 12:34:30 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang 56496a235f cloudstack UI - advanced search - implement advanced search on instance page which has filter dropdown in listView. 2012-10-02 16:38:23 -07:00
Brian Federle d266ac9f84 Instances details: Show host name 2012-09-28 12:17:52 -07:00
Brian Federle 6366eeec36 CLOUDSTACK-178: Show VM host name instead of internal name 2012-09-28 12:11:24 -07:00
Jessica Wang 8737762bde apache jira CLOUDSTACK-86: cloudstack UI - Instances page - NICs tab - fix a bug that got networkname from a wrong position in array of args.context.instances[0].nic. To correct and simplify it, use API response of "listVirtualMachines&details=nics&id=N" instead of API response of "listVirtualMachines&id=N" in $.map(). 2012-09-13 14:17:03 -07:00
Pranav Saxena eb116b6ecb CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) 2012-08-02 14:22:53 +05:30
Brian Federle 3622039feb CS-15620
Fix edit instance 'displayname' parameter not being sent over, even if
content was updated.
2012-07-30 15:17:06 -07:00
Pranav Saxena 36fc2bd9b5 CS-15044:API changes and UI changes to provide option to view the name of the guestnetwork a virtual machine belongs 2012-07-31 02:57:46 +05:30
Pranav Saxena ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -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
Jessica Wang d03fb2a7e2 cloudstack 3.0 UI - (1) to distinguish between getUpdatedItem() and getUpdatedData(), rename getUpdatedData() to getUpdatedItemWhenAsyncJobFails() since it's being called only when async job fails. (2) fix the space problem (tab size is not 2) from patch. 2012-06-27 10:57:29 -07:00
olgasmola 367e32adbc CS-15329: Instances with Error states appear in Instances list after creating. 2012-06-26 16:28:59 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
olgasmola e48ebf07a8 Make templates or Isos calls when setup new instance on templates tab. 2012-06-20 18:13:18 -07:00
Jessica Wang 89f704d88c CS-13739: localize more labels 2012-05-23 17:21:39 -07:00
Jessica Wang 593ce7c490 CS-14989: cloudstack 3.0 UI - VM wizard - select template step - populate only templates whose hypervisor(s) are supported in the selected zone. 2012-05-23 14:15:49 -07:00
Brian Federle 083831d37f CS-14911: Fix missing 'mine' filter from instances
reviewed-by: brian

commit 98ead3ad5b9266e0f2a1b0e037a4f511d9e1e240
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Wed May 16 01:04:12 2012 +0530

    CS-14911 : mine is missing from Instance Filter
2012-05-22 11:59:05 -07:00
Jessica Wang 0282f2d8c9 cloudstack 3.0 UI - Instance page - detail view - keep polling newest info from server if VM state is Starting or Stopping. 2012-05-21 15:37:46 -07:00
Jessica Wang 512e3427bf CS-14949: cloudstack 3.0 UI - Instance page - hide Edit option when status is Running. 2012-05-18 17:05:04 -07:00
Brian Federle b4d88d50a5 Fix trailing command breaking IE 2012-05-17 12:40:57 -07:00
Brian Federle 0bc65768b7 CS-14339, CS-14241
In instance wizard, use configuration value for max. custom disk
offering size, instead of hardcoding the max size to 100 GB
2012-05-14 11:45:21 -07:00
Jessica Wang 25957ab372 CS-14737: cloudstack 3.0 UI - state column in Volume/Snapshot/Instance/SecondaryStorage/Project page - should display state value as is (i.e. as returned in API call). Shouldn't localize value returned in API call. 2012-05-04 16:37:26 -07:00
Jessica Wang 73e83b79df CS-13162: cloudstack 3.0 UI - Instance page - detail view - add "Public IP" column. 2012-04-30 16:54:21 -07:00
Jessica Wang 192b58476d CS-14338: cloudstack 3.0 UI - Restore VM action - after action completed, show "Task completed: Restore Instance" instead of "Task completed: Restoring VM: null". 2012-04-30 16:54:06 -07:00
Jessica Wang 074f553cb7 CS-14338: cloudstack 3.0 UI - instance page - Destroy VM action - change after-action message. 2012-04-25 14:14:03 -07:00
Jessica Wang b7b77cea5c CS-14559: cloudstack 3.0 UI - VM Wizard - last step - screen doesn't change, but user-entered VM name will be passed as hostname and displayname to deployVirtualMachine API. Add validation of user-entered name field to match naming rule of hostname. 2012-04-18 17:45:41 -07:00
Jessica Wang cff7ff5fc4 cloudstack 3.0 UI - instance page - attach ISO - fix a localization error. 2012-04-18 14:02:18 -07:00
Jessica Wang e32449613d CS-14142: cloudstack 3.0 UI - Instance page - show Attached ISO name instead of Attached ISO Yes/No. 2012-04-18 13:52:53 -07:00
Jessica Wang e6d064952d cloudstack 3.0 UI - statistics tab in Instance page, Host page - Network Read, Network Write - if API returns 0, show 0 instead of N/A. 2012-04-18 13:31:11 -07:00
Jessica Wang 64b45722de cloudstack 3.0 UI - deployVM action - not show dialogbox of "password of new VM xxx is yyy" if deployVirtualMachine API doesn't return password (regardless of passwordenabled property). 2012-04-17 10:35:35 -07:00
Jessica Wang 193e835717 bug 14410: cloudstack 3.0 UI - instance page - Start VM action - show vm password on screen if startVM API returns it. 2012-04-16 18:22:12 -07:00
Pranav Saxena bc8685975a Bug 14211: CS- 14211 Redundant User Instance Field in UI 2012-04-11 14:34:00 -07:00
Brian Federle 297fbc171c bug 14569
Always show 'change service' action, even when VM is running. When VM
is running, show a popup indicating user to stop VM, and do not
perform action.
2012-04-03 11:44:21 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Jessica Wang bb7811c4e0 bug 14525: cloudstack 3.0 UI - Instance page - attach ISO action - populate ISO dropdown by 3 listISOs API call with 3 different isofilter parameter. 2012-03-28 15:43:11 -07:00
Jessica Wang 1945c70805 bug 14481: cloudstack 3.0 UI - instance page - after a regular user destroys a VM, listVirtualMachines API will no longer returns this destroyed VM to the regular user. So, add additional code in dataProvider() to handle this case. 2012-03-23 15:58:58 -07:00
Jessica Wang 54b89c78d8 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:51 -07:00
Jessica Wang c4c68e2995 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:36:44 -07:00