summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-01-17 09:30:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-17 09:30:50 +0000
commit987aad7825f7dfd1f560e4e2e2f0c8876dc423ed (patch)
treea3238b64e393970e4bf532bdbf27be02a640fbb2
parentf9f1746f589f15e47381af52720cc465f2acbcd3 (diff)
parent3bff8a0f6f9c3b6e9b129e3ed4b4d7e922a176fb (diff)
Merge "propose a class in releng for constants (return values, installer names, ...)"
-rw-r--r--modules/opnfv/utils/constants.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/opnfv/utils/constants.py b/modules/opnfv/utils/constants.py
index a69cedda3..ed83488d4 100644
--- a/modules/opnfv/utils/constants.py
+++ b/modules/opnfv/utils/constants.py
@@ -13,3 +13,12 @@ VERSIONS = ['arno', 'brahmaputra', 'colorado', 'danube']
EXIT_OK = 0
EXIT_RUN_ERROR = -1
EXIT_PUSH_TO_TEST_DB_ERROR = -2
+
+class Constants(object):
+ INSTALLERS = ['apex', 'fuel', 'compass', 'joid', "daisy"]
+ VERSIONS = ['arno', 'brahmaputra', 'colorado', 'danube']
+
+ EX_OK = 0
+ EX_RUN_ERROR = -1
+ EX_TEST_FAIL = -2
+ EX_PUSH_RESULT_FAIL = -3