mirror of https://github.com/apache/cloudstack.git
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 <tsp@apache.org>
This commit is contained in:
parent
1c50f1c756
commit
064b570c82
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue