Merge "propose a class in releng for constants (return values, installer names, ...
authorJose Lausuch <jose.lausuch@ericsson.com>
Tue, 17 Jan 2017 09:30:50 +0000 (09:30 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 17 Jan 2017 09:30:50 +0000 (09:30 +0000)
modules/opnfv/utils/constants.py

index a69cedd..ed83488 100644 (file)
@@ -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