cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/4.2 to 7215677
Date Wed, 06 Nov 2013 20:21:58 GMT
Updated Branches:
  refs/heads/4.2 5e9dea1fc -> 721567754


CLOUDSTACK-5037: UI > Infrastructure > clusters > Settings tab > when "cpu.overprovisioning.factor"
or "mem.overprovisioning.factor" is changed, pop up a warning message "Please note - you are
changing the over provisioning factor for a cluster with vms running. Please refer to the
admin guide to understand the capacity calculation."


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/72156775
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/72156775
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/72156775

Branch: refs/heads/4.2
Commit: 72156775437c64006db722bbebeca20b8780d2fd
Parents: 5e9dea1
Author: Jessica Wang <jessicawang@apache.org>
Authored: Wed Nov 6 12:21:40 2013 -0800
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Wed Nov 6 12:21:40 2013 -0800

----------------------------------------------------------------------
 ui/scripts/system.js | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/72156775/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index f05e1ac..6bd51e6 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -11377,6 +11377,13 @@
                                                 data: data,
                                                 success: function(json) {
                                                     var item = json.updateconfigurationresponse.configuration;
+                                                   
+                                                    if (args.data.jsonObj.name == 'cpu.overprovisioning.factor'
|| args.data.jsonObj.name == 'mem.overprovisioning.factor') {
+                                                    	cloudStack.dialog.notice({
+                                                    		message: 'Please note - you are changing
the over provisioning factor for a cluster with vms running. Please refer to the admin guide
to understand the capacity calculation.'
+                                                    	});
+                                                    }
+                                                    
                                                     args.response.success({
                                                         data: item
                                                     });


Mime
View raw message