diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-26 08:23:25 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-03 20:13:03 +0200 |
commit | 71f49963c8a8f505059dc3f5f449a31c07bba1bb (patch) | |
tree | 1e9e60225ccf5d1672e8d16b34aecfbc17de28d7 /functest/utils/functest_utils.py | |
parent | 636e59d61792761813f86cab09d76a04a23f093f (diff) |
Inherit rally from VmReady1
It also fixes clean().
Change-Id: I42d1305d5cdb5a717cfa7fce26798ac7102310f7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 43d6672e637a5b5b68ac4c382140996b4b9b17da)
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r-- | functest/utils/functest_utils.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index b860828f1..b614af321 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -15,8 +15,6 @@ import subprocess import sys import yaml -from functest.utils import env - LOGGER = logging.getLogger(__name__) @@ -74,20 +72,3 @@ def get_parameter_from_yaml(parameter, yfile): raise ValueError("The parameter %s is not defined in" " %s" % (parameter, yfile)) return value - - -def get_external_network(cloud): - """ - Returns the configured external network name or - the first retrieved external network name - """ - assert cloud - if env.get("EXTERNAL_NETWORK"): - network = cloud.get_network( - env.get("EXTERNAL_NETWORK"), {"router:external": True}) - if network: - return network - networks = cloud.list_networks({"router:external": True}) - if networks: - return networks[0] - return None |