Commit Graph

255 Commits

Author SHA1 Message Date
Rohit Yadav 0da2736fbf ui: fix instances null check regression from 2f250e2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-25 14:12:53 +05:30
Rohit Yadav 8259c9ba3c ui: remove viewMetrics from instances/storage/system
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-23 11:45:58 +05:30
Rohit Yadav ebee0f0c9d CLOUDSTACK-9020: Metrics UI fixes
- Allow all users to see resource metrics
- Fix instance count issue on host metrics view
- Fix sorting issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 53084c4c8a87ccbdb1a7017e0a4cc66dbc386220)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-08 20:57:13 +05:30
Rohit Yadav 1391f476f1 CLOUDSTACK-9020: add ipaddress in instances view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit edc74aebbffc3f8fb4853de3cf6740eee83c78fd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-07 16:54:13 +05:30
Rohit Yadav d34da5aa8f CLOUDSTACK-9020: Metrics views for CloudStack UI
Implements following:
- A metrics table widget that is:
  - vertically and horizontally scrollable with pagination/infinite scrolling
  - sortable columns (client side)
  - groupable/collapsible columns
  - alternate row coloring
  - refresh button to refresh views
  - threshold table cell coloring
  - panel/breadcrumb navigation
  - quick view action column
  - translatable labels
- Sortable column for all CloudStack tables (client side)
- Configurable UI pagesize for list API calls, 'default.ui.page.size'
- Metrics views: Zones, Clusters, Hosts, Instances, Storage pools, Volumes
- Resource filtering/navigation: Zones->Clusters->Hosts->Instances->Volumes, Storage Pool->Volumes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-06 11:06:02 +05:30
Remi Bergsma 9a8ee5664f CLOUDSTACK-6543 Sort domain lists in UI
As recently discussed on the dev list:
This sorts the domain lists based on their path.
Especially handy when having a lot of domains,
like in a public cloud.

Cherry-picked to 4.5 branch since commit exists in 4.4 and master branch.

(cherry picked from commit befa28251d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-17 15:18:16 +02:00
Pierre-Luc Dion 177c190367 CLOUDSTACK-8188: missing labe:label.password.reset.confirm. removed duplicate label.vlan.id from dictionary2.jsp removed duplicate label.vlan from message.properties 2015-02-19 22:12:32 -05:00
Jessica Wang 744c1a1b03 CLOUDSTACK-7383: UI > Instances menu > detail view > TakeSnapshot action should be hidden when VM's hypervisor is LXC. 2015-01-02 14:06:28 -08:00
Wei Zhou bf9e1ae7e8 Deploy vm to specified host through Infrastructure -> Hosts -> <Select one> -> View Instances -> Add Instance
(cherry picked from commit ce2b2a1fc7)
2014-12-01 14:50:01 +01:00
Jessica Wang 11808ae7fb CLOUDSTACK-7850: UI > Instances > detailView > Attach ISO option > ISO dropdown > should list only ISOs belonging to the same zone. 2014-11-05 13:26:42 -08:00
Jessica Wang a43fba64da CLOUDSTACK-7383: UI > Instances > detailView > snapshot option > hide this option when hypervisor is LXC. 2014-11-04 14:42:29 -08:00
Jessica Wang 25e514a28e CLOUDSTACK-7384: UI > Instances > detailView > change service offering option > hide it when VM state is Running and hyperviror is LXC. 2014-11-04 11:33:15 -08:00
Jessica Wang 2423f2c79a CLOUDSTACK-7796: UI > instances > detail view > data provider > remove unnecessary module check. 2014-10-27 16:56:35 -07:00
Jessica Wang 13decd4c85 CLOUDSTACK-7744: UI > Instances > detailView > Change Service Offering > show generic notification. 2014-10-16 14:49:04 -07:00
Sanjay Tripathi eb447f14e2 CLOUDSTACK:7323: [vGPU] Creation of VM snapshot with "memory" is failing.
VM snapshot with memory is not supported for VGPU VMs, so putting checks
for same.

(cherry picked from commit 123ec8b3d3)
2014-10-13 00:35:13 -04:00
Jessica Wang 9714ecbde8 CLOUDSTACK-4987: UI > Instances > detailView > NICs tab > Add network to VM > Network dropdown => (1) For root-admin, populate networks of all accounts. (2) For regular-user/domain-admin, populate only networks belonging to this VM owner.
(cherry picked from commit 794ee6929d)
2014-10-13 00:34:22 -04:00
vetrivelc 6a11d099cf Fix Externalization of hard-coded label strings
-Split 'dictionary.jsp' into two files -> 'dictionary.jsp' and
'dictionary2.jsp' -- this is due to JSP file constraints as the
localization object is getting quite long

-Per change above, 'dictionary' object is now split into an additonal
'dictionary2' object, which is merged with the main dict object on page
load

-All new dictionary mappings should be added to 'dictionary2' now.

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-09-17 13:59:13 -07:00
Jessica Wang 659eafffe1 CLOUDSTACK-7483: UI > instance page, template page > hide "Original XS Version is 6.1+" field when OS Type is not Windows since property jsonObj.details.hypervisortoolsversion only applies to Windows - case sensitive when comparing OS Type. 2014-09-03 16:48:58 -07:00
Jessica Wang 801a98617c CLOUDSTACK-7483: UI > instance page, template page > hide "Original XS Version is 6.1+" field when OS Type is not Windows since property jsonObj.details.hypervisortoolsversion only applies to Windows. 2014-09-03 15:13:14 -07:00
Jessica Wang 5e55b6b478 CLOUDSTACK-7480: UI > instance page > change "XenServer Tools Version 6.1+ field" to "Original XS Version is 6.1+" because what the field really presents is the original XenServer version when a VM is initially created. 2014-09-03 11:37:34 -07:00
Jessica Wang 5b221c2126 CLOUDSTACK-7435: UI > instance page > assign instance to another account > fix an error "TypeError: json.virtualmachine is undefined [Break On This Error] var item = json.virtualmachine.virtualmachine;" that showed after the action is clicked. 2014-08-26 14:04:43 -07:00
Mihaela Stoica 3bcd22bdaf Added the ability to show warning (exclamation mark) icon on confirmation dialogs.
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-14 14:04:22 -07:00
Jessica Wang 3a3a3902b7 UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties(). 2014-06-13 16:44:15 -07:00
Jessica Wang 36ec16e4f5 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView. 2014-06-06 15:18:46 -07:00
Brian Federle 93a2340516 Instances UI: Truncate name, displayname fields to prevent overflow 2014-03-25 15:49:07 -07:00
Jessica Wang 7b817a2ad9 CLOUDSTACK-6272: UI > Instance > actions > replace internal action name "restore" with "recover", "reset" with "reinstall". 2014-03-21 14:49:33 -07:00
Brian Federle 15729f342c CLOUDSTACK-6272: Fix recover/restore VM actions
-Label recoverVirtualMachine as 'Recover VM'
-Label restoreVirtualMachine as 'Reinstall VM'
-Change confirmation text for restoreVirtualMachine to be more explicit
-Change restoreVirtualMachine icon to 'recycle' symbol, to avoid
 confusion with the reboot VM icon
2014-03-21 13:28:52 -07:00
Sanjay Tripathi c7d31fe288 CLOUDSTACK-4760 : Enabling GPU support for XenServer.
CLOUDSTACK-4762 : Enabling VGPU support for XenServer.

This feature is to enable the GPU-passthrough and vGPU functionality,
with the help of this feature, admins/users will be able to leverage
the GPU graphics unit power by deploying a virtul machine with GPU or
vGPU support or by changing the service offering of an existing VM
at any later point of time. There GPU/vGPU enabled VMs are able to run
graphical applications.
For now, this feature is only supported with XenServer hypervisor but
can be extended to add the support of other hypervisors.
2014-03-11 15:44:51 +05:30
vetrivelc 182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00
vetrivelc e171cb181c Fixed-Hardcoding-Issues 2014-02-14 07:44:54 -08:00
Brian Federle 3384633834 Instances UI: Fix case where 'list host' is visible for stopped VM 2014-02-07 11:09:18 -08:00
Brian Federle 18a3d3c3b8 VM snapshots: If quiescevm is supported, make checkbox checked 2014-01-28 11:33:03 -08:00
Brian Federle 417b8e089f VM snapshots: Only show quiescevm checkbox if hypervisor is VMware 2014-01-24 11:04:11 -08:00
Jessica Wang 09fa6e5d83 CLOUDSTACK-5889: UI > Instances > (1) change service offering action: corresonding UI change for new change of scaleVirtualMachine API (that customparameter parameter has been renamed).
(2) detailView: add # of CPU Cores, CPU (in MHz), Memory (in MB).
2014-01-20 16:35:02 -08:00
Brian Federle 4215d69753 Instances UI: Don't show 'view host' link if VM is stopped 2014-01-14 11:09:09 -08:00
Brian Federle 766dab64e8 Instance list view: Truncate long names to prevent misalignment 2014-01-08 10:37:17 -08:00
Brian Federle 34174bbcbb Add missing strings for quiesce VM, SMB fields 2013-12-18 13:10:15 -08:00
Jessica Wang 1db19c3d52 CLOUDSTACK-4428: KVMsnapshoteanbled property in listCapabilities API response has been renamed. Here is corresponding UI change. 2013-12-09 15:21:47 -08:00
Jessica Wang 71fd0a49e3 CLOUDSTACK-4738: UI > Instances > Change Service Offering > dialog > add 3 new fields: CPU speed, CPU number, memory.
Show the 3 new fields when selected compute offerings is custom. Hide them otherwise.
2013-12-02 16:11:05 -08:00
Wei Zhou 64c03dbc31 [UI] kvm vm snapshot not shown if kvm.snapshot.enabled is set to false 2013-11-28 10:47:37 +01:00
Wei Zhou 8b237eb0a2 CLOUDSTACK-4505: allow domain admin to expunge a destroyed VM 2013-11-26 15:02:44 +01:00
Brian Federle 61b77086f4 VM snapshot action: add quiescevm option as checkbox 2013-10-31 16:55:15 -07:00
Brian Federle 0db10ad55c VM snapshot: Make multi-select action 2013-10-31 13:39:40 -07:00
Wei Zhou 382391f270 CLOUDSTACK-4987: only shared network and isolated network with same account can be assigned to a VM
(cherry picked from commit 743eed8771)
2013-10-31 11:37:31 +01:00
Jessica Wang ad51b8edfb CLOUDSTACK-4966: UI: (1) detailView widget: extend detailView widget to support destroy action that will close detailView and remove item from listView when toRemove parameter is passed.
(2)Destroy Instance action: add expunge option for root-admin and domain-admin. When expunge is set to true, instance will be expunged right after destroyed.
2013-10-25 13:48:50 -07:00
Jessica Wang 259245200d CLOUDSTACK-4649: UI > Edit Instance, Edit Template > fix a bug that XenServer Tools Version 6.1+ field didn't get updated correctly. 2013-10-24 14:25:21 -07:00
Wei Zhou 059e3beb28 CLOUDSTACK-4505: add ExpungeVM command to expunge a destroyed VM on demand 2013-10-24 11:52:00 +02:00
Jessica Wang 5133812c85 CLOUDSTACK-4649: UI > (1) detailView widget: pass $detailView property in action.action({}).
(2) Edit Template action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
(3) Edit Instance action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
2013-10-23 12:51:08 -07:00
Jessica Wang c3ddd3bf00 CLOUDSTACK-4649: UI > (1) Register Template dialog: add 'XenServer Tools Version 6.1+' checkbox.
(2) Template detailView: add 'XenServer Tools Version 6.1+' field.
(3) Instance detailView: add 'XenServer Tools Version 6.1+' field.
2013-10-23 12:50:42 -07:00
Chris Suich 5c5326f6f7 CLOUDSTACK-4910 Fixed issue with Take VM Snapshot UI always returning success 2013-10-21 10:32:41 -07:00