From b3e2871e7375e9f14022bdc0e59676a6936f5e16 Mon Sep 17 00:00:00 2001 From: rayeesn Date: Thu, 11 Jul 2013 10:06:34 -0700 Subject: [PATCH] vmware - not reqiured to add host, host will be added as part of cluster Signed-off-by: Prasanna Santhanam --- tools/marvin/marvin/deployDataCenter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py index ac96d097084..20908ca59b6 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)