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/master to 3b704ac
Date Tue, 07 Oct 2014 18:00:11 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 5408e0b8d -> 3b704ac6f


CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support
BareMetal


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

Branch: refs/heads/master
Commit: 3b704ac6f3f3575f45722308cd1f882acd097fb1
Parents: 5408e0b
Author: Jessica Wang <jessicawang@apache.org>
Authored: Tue Oct 7 10:59:50 2014 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Tue Oct 7 11:00:01 2014 -0700

----------------------------------------------------------------------
 ui/scripts/zoneWizard.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3b704ac6/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 4c70b1a..2c90f2b 100755
--- a/ui/scripts/zoneWizard.js
+++ b/ui/scripts/zoneWizard.js
@@ -476,6 +476,10 @@
                                         nonSupportedHypervisors["Ovm"] = 1;
                                     }
 
+                                    if (args.context.zones[0]['network-model'] == "Advanced")
{ //CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support
BareMetal                                    
+                                        nonSupportedHypervisors["BareMetal"] = 1;       
                                
+                                    }
+                                    
                                     if (items != null) {
                                         for (var i = 0; i < items.length; i++) {
                                             if (items[i].name in nonSupportedHypervisors)


Mime
View raw message