From 6796e099c87b615a7bee8c8c00c9a6ed77ce46d0 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Sat, 18 Feb 2012 19:59:57 +0530 Subject: [PATCH] Enable security groups in basic zones only reviewed-by: Kishan --- tools/testClient/deployDataCenter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testClient/deployDataCenter.py b/tools/testClient/deployDataCenter.py index 764b5617972..eaa25d11eaf 100644 --- a/tools/testClient/deployDataCenter.py +++ b/tools/testClient/deployDataCenter.py @@ -179,7 +179,7 @@ class deployDataCenters(): vrconfigresponse = \ self.apiClient.configureVirtualRouterElement(vrconfig) - if zone.securitygroupenabled: + if zone.networktype == "Basic" and zone.securitygroupenabled: sgprovider = configGenerator.provider() sgprovider.name = "SecurityGroupProvider" zone.providers.append(sgprovider)