Updated Branches: refs/heads/master 1c50f1c75 -> 064b570c8
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 <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/064b570c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/064b570c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/064b570c Branch: refs/heads/master Commit: 064b570c825b2eb5433bb1e1cdb1bf7e5028c61e Parents: 1c50f1c Author: Prasanna Santhanam <[email protected]> Authored: Fri Jun 21 21:20:06 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Fri Jun 21 21:23:10 2013 +0530 ---------------------------------------------------------------------- tools/marvin/marvin/deployDataCenter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/064b570c/tools/marvin/marvin/deployDataCenter.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py index f38df4e..b531787 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)
