diff options
author | Jörgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-02-09 13:45:46 +0000 |
---|---|---|
committer | Jörgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-02-09 13:45:58 +0000 |
commit | 46c2699331255acdfa847fd493ed0e61082ed96b (patch) | |
tree | 1e6cf53f422fc37a4302e70586b166cbc76e1b14 | |
parent | 876791df05875bccc7d456abea064ee249838789 (diff) |
Revert "Test: Workaround for ODL Lithium"
This reverts commit 4be7c4c3960e941ce6fad82acd4572a5b96fb5c4.
Change-Id: I4f949f2773703bb045662fd5b0be209e39d1e0a4
-rw-r--r-- | yardstick/benchmark/contexts/heat.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/yardstick/benchmark/contexts/heat.py b/yardstick/benchmark/contexts/heat.py index dcc2cbf1c..8c514d250 100644 --- a/yardstick/benchmark/contexts/heat.py +++ b/yardstick/benchmark/contexts/heat.py @@ -7,7 +7,6 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -import os import sys import pkg_resources @@ -55,15 +54,6 @@ class HeatContext(Context): self.keypair_name = self.name + "-key" self.secgroup_name = self.name + "-secgroup" - # Temporarily removing security group due to - # ssh problems with ODL scenarios. - scenario = os.environ.get('DEPLOY_SCENARIO', None) - installer = os.environ.get('INSTALLER_TYPE', None) - if installer == 'joid' or installer == 'apex': - if scenario and scenario.startswith('os-odl'): - print "INFO: ODL scenario - removing security group." - self.secgroup_name = None - if "image" in attrs: self._image = attrs["image"] @@ -102,8 +92,7 @@ class HeatContext(Context): def _add_resources_to_template(self, template): '''add to the template the resources represented by this context''' template.add_keypair(self.keypair_name) - if self.secgroup_name: - template.add_security_group(self.secgroup_name) + template.add_security_group(self.secgroup_name) for network in self.networks: template.add_network(network.stack_name) |