diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-14 07:11:13 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-14 07:11:13 +0200 |
commit | 2098c49184b1c97b89b4d88dffa2e2a9b3571f04 (patch) | |
tree | 66a1ec196f0437085e3a6073b06c553f6251c844 /functest/utils/functest_utils.py | |
parent | b6fdf896bf87ed23ff766fe59f2072fe8844f2ed (diff) |
Update get_openstack_version()
It takes Rocky maximum version into account.
Change-Id: I55469de4a63f1f824222660130a20d7fd8fa42c3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r-- | functest/utils/functest_utils.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 1993f1e83..dd2bf1932 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -109,8 +109,10 @@ def get_openstack_version(cloud): version = get_nova_version(cloud) try: assert version - if version > (2, 60): - osversion = "Rocky or newer" + if version > (2, 65): + osversion = "Master" + elif version > (2, 60): + osversion = "Rocky" elif version > (2, 53): osversion = "Queens" elif version > (2, 42): |