summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/heat/consts
diff options
context:
space:
mode:
Diffstat (limited to 'utils/infra_setup/heat/consts')
-rwxr-xr-xutils/infra_setup/heat/consts/__init__.py12
-rwxr-xr-xutils/infra_setup/heat/consts/files.py35
-rwxr-xr-xutils/infra_setup/heat/consts/parameters.py17
3 files changed, 64 insertions, 0 deletions
diff --git a/utils/infra_setup/heat/consts/__init__.py b/utils/infra_setup/heat/consts/__init__.py
new file mode 100755
index 00000000..0854776c
--- /dev/null
+++ b/utils/infra_setup/heat/consts/__init__.py
@@ -0,0 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd 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
+##############################################################################
+
+"""
+Constants
+"""
diff --git a/utils/infra_setup/heat/consts/files.py b/utils/infra_setup/heat/consts/files.py
new file mode 100755
index 00000000..2856650f
--- /dev/null
+++ b/utils/infra_setup/heat/consts/files.py
@@ -0,0 +1,35 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd 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
+##############################################################################
+
+# ------------------------------------------------------
+# Configuration File
+# ------------------------------------------------------
+GENERAL = 'General'
+
+def get_sections():
+ return [
+ GENERAL,
+ # Add here new configurations...
+ ]
+
+
+def get_sections_api():
+ return [
+ GENERAL,
+ # Add here new configurations...
+ ]
+
+# ------------------------------------------------------
+# General section parameters
+# ------------------------------------------------------
+ITERATIONS = 'iterations'
+TEMPLATE_DIR = 'template_dir'
+TEMPLATE_NAME = 'template_base_name'
+BENCHMARKS = 'benchmarks'
+DEBUG = 'debug'
diff --git a/utils/infra_setup/heat/consts/parameters.py b/utils/infra_setup/heat/consts/parameters.py
new file mode 100755
index 00000000..f275c25b
--- /dev/null
+++ b/utils/infra_setup/heat/consts/parameters.py
@@ -0,0 +1,17 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd 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 files
+
+# ------------------------------------------------------
+# Directories and file locations
+# ------------------------------------------------------
+HEAT_DIR = 'heat/'
+TEST_TEMPLATE_NAME = 'test_template'
+TEMPLATE_EXTENSION = '.yaml'