aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-04-30 13:07:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-04-30 13:07:18 +0200
commit505fed0667e3cf19c587df23f5557563eaa51eb9 (patch)
treeb820b91029a6f2d708711ccb9c6503b82d105aa3
parent0d90068be4aa4076ec1af0bcede780d41eddbe01 (diff)
Update OpenStack release detection
Change-Id: Icad13836d88583ee676525d4743f12a5b888ebe2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/utils/functest_utils.py4
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):