diff options
author | 2019-09-29 16:48:14 +0200 | |
---|---|---|
committer | 2019-09-29 16:50:42 +0200 | |
commit | e63e9f30e8038c8604513ba75302c32a81759d08 (patch) | |
tree | dbc6867d73b4f7f0c575e49bcb14171a523083ee | |
parent | 47277a4439e72d0cb5a4bef21204e4ff9c09a6d3 (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.py | 3 |
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 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) |