aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-09-29 16:48:14 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-09-29 16:51:27 +0200
commit1eb836f24b082754c3a00899dbafb0330b68db6a (patch)
treeb9843da33c6c2ebc79224ce06559d7b0dc3d3b2c
parentee92bf3e349a15326028df343e89a114eac859da (diff)
List services via OS_INTERFACE in Rally
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 <cedric.ollivier@orange.com> (cherry picked from commit 9d839eb3a0109609513c23f9362573ae3aed0904)
-rw-r--r--functest/opnfv_tests/openstack/rally/rally.py3
1 files changed, 2 insertions, 1 deletions
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)