diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-04-30 13:07:18 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-04-30 13:08:05 +0200 |
commit | 7691a55dcf8f7d1b403f39f41d203f984391b491 (patch) | |
tree | 293509da4a9e46c5ff54ff8430100ec2eea5aded | |
parent | 33cde7b9b2eac02f4541f06b2b6d6b535c9bca07 (diff) |
Update OpenStack release detection
Change-Id: Icad13836d88583ee676525d4743f12a5b888ebe2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 505fed0667e3cf19c587df23f5557563eaa51eb9)
-rw-r--r-- | functest/utils/functest_utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index a9c9e5e72..c48acd3b9 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -114,8 +114,10 @@ def get_openstack_version(cloud): version = get_nova_version(cloud) try: assert version - if version > (2, 79): + if version > (2, 87): osversion = "Master" + elif version > (2, 79): + osversion = "Ussuri" elif version > (2, 72): osversion = "Train" elif version > (2, 65): |