From 064b570c825b2eb5433bb1e1cdb1bf7e5028c61e Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Fri, 21 Jun 2013 21:20:06 +0530 Subject: [PATCH] Correcting typo in deployDataCenter.py isFreeZone is actually a test for whether the zone is a pure advanced zone or an advanced zone with security groups. Renaming the var and fixing the typo introduced by a65d21. Signed-off-by: Prasanna Santhanam --- tools/marvin/marvin/deployDataCenter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py index f38df4e86d4..b5317874228 100644 --- a/tools/marvin/marvin/deployDataCenter.py +++ b/tools/marvin/marvin/deployDataCenter.py @@ -380,9 +380,9 @@ specify a valid config file" % cfgFile) self.createVlanIpRanges(zone.networktype, zone.ipranges, zoneId, forvirtualnetwork=True) - isFreeZone = (zone.networktype == "Advanced" - and zone.securitygroupenabled != "true") - if ifFreeZone: + isPureAdvancedZone = (zone.networktype == "Advanced" + and zone.securitygroupenabled != "true") + if isPureAdvancedZone: self.createpods(zone.pods, zoneId) self.createVlanIpRanges(zone.networktype, zone.ipranges, zoneId)