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."

This commit is contained in:
Jessica Wang 2013-11-06 12:21:40 -08:00
parent 5e9dea1fc5
commit 7215677543
1 changed files with 7 additions and 0 deletions

View File

@ -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
});