summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/heat/consts/files.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-05 03:31:23 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-05 03:31:23 +0000
commitc3756b0ed4a52407f5da611fa92ddc68b9e6be8b (patch)
tree338b66fa794a988a22e37ad017ad20c6d0fce9f8 /utils/infra_setup/heat/consts/files.py
parentd497907f59d2d3ebbed434fd7499682438ec1d6f (diff)
parente19b43e13e05567ea53ceacf953211c8fd9c151b (diff)
Merge "heat api management and template functions parameters"
Diffstat (limited to 'utils/infra_setup/heat/consts/files.py')
-rwxr-xr-xutils/infra_setup/heat/consts/files.py35
1 files changed, 35 insertions, 0 deletions
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'