summaryrefslogtreecommitdiffstats
path: root/dovetail/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'dovetail/constants.py')
-rw-r--r--dovetail/constants.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/dovetail/constants.py b/dovetail/constants.py
new file mode 100644
index 00000000..edb8b00a
--- /dev/null
+++ b/dovetail/constants.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+#
+# Copyright (c) 2018 feng.xiaowei@zte.com.cn 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
+#
+import os.path
+
+
+DOVETAIL_CONF_PATH = '/etc/dovetail'
+USERCONF_PATH = os.path.join(DOVETAIL_CONF_PATH, 'userconfig')
+PATCH_PATH = os.path.join(DOVETAIL_CONF_PATH, 'patches')
+CONF_PATH = os.path.join(DOVETAIL_CONF_PATH, 'conf')
+TESTCASE_PATH = os.path.join(DOVETAIL_CONF_PATH, 'testcase')
+COMPLIANCE_PATH = os.path.join(DOVETAIL_CONF_PATH, 'compliance')