Bug 12592 - createZone: zone should be added in Disabled state

- Zone will be Disabled by default when created using createZone API
This commit is contained in:
prachi 2012-01-17 14:54:26 -08:00
parent 83400cd15f
commit 189822da50
1 changed files with 1 additions and 1 deletions

View File

@ -1569,7 +1569,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura
boolean isSecurityGroupEnabled = cmd.getSecuritygroupenabled();
if (allocationState == null) {
allocationState = Grouping.AllocationState.Enabled.toString();
allocationState = Grouping.AllocationState.Disabled.toString();
}
if (!(type.equalsIgnoreCase(NetworkType.Basic.toString())) && !(type.equalsIgnoreCase(NetworkType.Advanced.toString()))) {