Updated Branches:
  refs/heads/master 2691970f2 -> b3e2871e7

vmware - not reqiured to add host, host will be added as part of cluster

Signed-off-by: Prasanna Santhanam <[email protected]>


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

Branch: refs/heads/master
Commit: b3e2871e7375e9f14022bdc0e59676a6936f5e16
Parents: 2691970
Author: rayeesn <[email protected]>
Authored: Thu Jul 11 10:06:34 2013 -0700
Committer: Prasanna Santhanam <[email protected]>
Committed: Fri Jul 12 16:11:20 2013 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/deployDataCenter.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b3e2871e/tools/marvin/marvin/deployDataCenter.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/deployDataCenter.py 
b/tools/marvin/marvin/deployDataCenter.py
index ac96d09..20908ca 100644
--- a/tools/marvin/marvin/deployDataCenter.py
+++ b/tools/marvin/marvin/deployDataCenter.py
@@ -84,8 +84,9 @@ specify a valid config file" % cfgFile)
             clusterresponse = self.apiClient.addCluster(clustercmd)
             clusterId = clusterresponse[0].id
 
-            self.addHosts(cluster.hosts, zoneId, podId, clusterId,
-                          cluster.hypervisor)
+            if cluster.hypervisor.lower() != "vmware":
+                self.addHosts(cluster.hosts, zoneId, podId, clusterId,
+                              cluster.hypervisor)
             self.createPrimaryStorages(cluster.primaryStorages, zoneId, podId,
                                        clusterId)
 

Reply via email to