From 1eb836f24b082754c3a00899dbafb0330b68db6a Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 29 Sep 2019 16:48:14 +0200 Subject: List services via OS_INTERFACE in Rally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rally now leverages on list_services as proposed in utils [1] [1] https://git.opnfv.org/functest/commit/?id=0837a745c81ed2a6e7df097f60d227d5997c805e Change-Id: Ib17f9b530c2933d4a49eb5b744c2ae80b24ad560 Signed-off-by: Cédric Ollivier (cherry picked from commit 9d839eb3a0109609513c23f9362573ae3aed0904) --- functest/opnfv_tests/openstack/rally/rally.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functest/opnfv_tests/openstack/rally/rally.py b/functest/opnfv_tests/openstack/rally/rally.py index b450580c7..fbba1a75f 100644 --- a/functest/opnfv_tests/openstack/rally/rally.py +++ b/functest/opnfv_tests/openstack/rally/rally.py @@ -33,6 +33,7 @@ import yaml from functest.core import singlevm from functest.utils import config from functest.utils import env +from functest.utils import functest_utils LOGGER = logging.getLogger(__name__) @@ -528,7 +529,7 @@ class RallyBase(singlevm.VmReady2): self.network_extensions = self.cloud.get_network_extensions() self.flavor_alt = self.create_flavor_alt() self.services = [service.name for service in - self.cloud.list_services()] + functest_utils.list_services(self.cloud)] LOGGER.debug("flavor: %s", self.flavor_alt) -- cgit 1.2.3-korg