From 85a1f8cddb1dab4b4674686ce58cf1e2ae568dcb 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 --- 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 d9fb1fb5c..6d4e5cf16 100644 --- a/functest/opnfv_tests/openstack/rally/rally.py +++ b/functest/opnfv_tests/openstack/rally/rally.py @@ -32,6 +32,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__) @@ -521,7 +522,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