summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/utils/constants.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-22 11:05:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-22 11:05:21 +0000
commite1001a2789cfb7af9f8ae269e04a6d0750c7d1f3 (patch)
treed0501b7de8729044f1c273e64f83c1bc1192820a /modules/opnfv/utils/constants.py
parente3d9ba34e99dab52e3e33a6c878b00a9f380c760 (diff)
parent58da374e1660c541bff60dd6c3ba6f89f6f6793d (diff)
Merge "Add Exceptions and Constants in opnfv module"
Diffstat (limited to 'modules/opnfv/utils/constants.py')
-rw-r--r--modules/opnfv/utils/constants.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/opnfv/utils/constants.py b/modules/opnfv/utils/constants.py
new file mode 100644
index 000000000..29f0d02c5
--- /dev/null
+++ b/modules/opnfv/utils/constants.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2016 Orange and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+
+INSTALLERS = ['apex', 'fuel', 'compass', 'joid']
+VERSIONS = ['arno', 'brahmaputra', 'colorado', 'danube']
+
+EXIT_OK = 0
+EXIT_RUN_ERROR = -1
+EXIT_PUSH_TO_TEST_DB_ERROR = -2