cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject git commit: refs/heads/Reset-VM - Reset a VM on reboot compute offering
Date Fri, 15 Feb 2013 17:43:43 GMT
Updated Branches:
  refs/heads/Reset-VM [created] 8e88a4295


Reset a VM on reboot compute offering


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

Branch: refs/heads/Reset-VM
Commit: 8e88a4295f1659af2253002b060c249538d7dc31
Parents: 2beb66f
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Fri Feb 15 23:11:27 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Fri Feb 15 23:11:27 2013 +0530

----------------------------------------------------------------------
 ui/scripts/configuration.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8e88a429/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index c85a98a..1e44ecf 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -136,6 +136,14 @@
                     isChecked: true,
                     docID: 'helpComputeOfferingPublic'
                   },
+
+                   isVolatile:{
+                     label:'isVolatile',
+                     isBoolean:true,
+                     isChecked:false
+
+                   },
+
                   domainId: {
                     label: 'label.domain',
                     docID: 'helpComputeOfferingDomain',
@@ -196,6 +204,10 @@
 								$.extend(data, {
 								  limitcpuuse: (args.data.cpuCap == "on")
 								});
+      
+                 $.extend(data, {
+                  isvolatile: (args.data.isVolatile == "on")
+                });
                 
                 if(args.$form.find('.form-item[rel=domainId]').css("display") != "none")
{
 								  $.extend(data, {


Mime
View raw message